Problems with building mod file...

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

JA2(Posted 2007) [#1]
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?


bradford6(Posted 2007) [#2]
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)


JA2(Posted 2007) [#3]
I installed MinGW and followed the instructions. Works great now.

Thanks very much.


bradford6(Posted 2007) [#4]
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.


klepto2(Posted 2007) [#5]
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.


Chris C(Posted 2007) [#6]
however compiling modules will recompile the brl and pub modules many of which use c/c++ so this will cause module building to fail...