Can't run or Compile the blitzmax minib3d module

BlitzMax Forums/MiniB3D Module/Can't run or Compile the blitzmax minib3d module

Trinosis(Posted 2012) [#1]
The title pretty much explains my problem.

I'm using Windows XP with Blitzmax v1.48 and minib3d v0.54 and have MinGW v5.1.3 installed and the Windows enviroment vars set.

I can compile other Blitzmax modules ( xors for instance ) and the standard blitzmax modules but minib3d refuses to build the module or run the examples with the import files.

Does anyone have any idea what i might be doing wrong.


Heres an example of the error message i get when i try and run an example.

"Building light
Compiling:std.cpp
Build Error: failed to compile C:/Code/Mini Blitz3d v0.54/minib3d-v054/minib3d/inc/std.cpp
Process complete"

Thanks in advance.

Last edited 2012


Trinosis(Posted 2012) [#2]
Anyone else using minib3d v0.54 without any problems.

If so, then it must be my system at fault.


Chapman7(Posted 2012) [#3]
Double check your environment variables and make sure that BlitzMax is getting them (Help -> About MaxIDE). Then I would uninstall 5.1.3 for something like 4.x.x. Once you have that installed, rebuild all of your modules.

If that doesn't work, tell us the error (if there is a new one) and then go ahead and post what version of FASM, GCC, and G++ you are using.

Last edited 2012


Trinosis(Posted 2012) [#4]
Thanks Chapman.

Very useful.

I didn't know the About Max Ide reports env vars.

Upon checking i see.

maxide = 1.42

bcc version - blitzmax release version 1.48
blitzmax path = c:\blitzmax
mingw path = c:\mingw
fasm version = 1.69.14
gcc version = unavailable
g++ version = unavailable

I'll recheck my system variables.

Last edited 2012


Trinosis(Posted 2012) [#5]
Ok, problem solved. :)

Thanks Chapman, i realised with your information that i needed to install extra componants of MinGW, GCC and G++.

Once these were installed i was able to rebuild all modules with no errors.

And now the Minib3d examples compile and run.


It's a bit strange as when i first installed MinGW i ticked all boxes to install all the components but experienced a crash after install.

Then i unstalled it and reinstalled with the default one componant.

And thats when i wasn't able to rebuild the modules.

So, it looks like some components of MinGW are compatible with my system and others not.