Problems with building mod file...

BlitzMax Modules Forums/MiniB3D/Problems with building mod file...

Hi, I'm new to BlitzMax, just bought a copy this morning. I've already been programming in Blitz 3D for years. Anyway, I'm having a problem building the minib3d mod file.

I copied the sidesign.mod into my bmax mod folder. Opened the folder and found the minib3d.bmx. When I try to build it, I get this:

Compile Error
Module does not match commandline module

And the cursor jumps to line 6, Module sidesign.minib3d

What am I doing wrong?

in order to build modules with blitzmax, you need to have MinGW installed. see this thread:
http://www.blitzbasic.com/Community/posts.php?topic=53442

with minib3d, you can also just
Import "../minib3d.bmx"
at the top of your program
(make sure minib3d.bmx and the -inc- folder are in the path)

I installed MinGW and followed the instructions. Works great now.

Thanks very much.

np. welcome.

Read the readme file in the minib3d folder. It outlines the differences between minib3d and Blitz3D. Once you get the hang of BlitzMax's syntax, I think you'll love it.

btw: It is not true, that you need MinGw installed to build modules. You only need it installed when importing C/C++ sources in your application or module. Compiling plain Bmax modules works also without MinGW installed.

however compiling modules will recompile the brl and pub modules many of which use c/c++ so this will cause module building to fail...