Rebuild Modules

BlitzMax Forums/BlitzMax Programming/Rebuild Modules

VIP3R(Posted 2005) [#1]
I would have searched for this but the search function is out of order :/
(simonh why don't you restore the old search function temporarily? It's better than nothing at all)

I've been too busy to use BMax much lately so I've probably missed this being mentioned.

The options for 'Build Modules' and 'Rebuild All Modules' are disabled...

How do you enable them and why are they disabled?

I'm also getting a linking error...
'C:/Program Files/BlitzMax/bin/ld.exe: cannot find '

Any ideas anyone?

(I'm using BMax V1.10 with sync'd modules)


tonyg(Posted 2005) [#2]
My rebuild/build options were disabled when I replaced Bmax 1.09 rather than a fresh install. I think it suggests doing that in the 1.10 release post.


Dreamora(Posted 2005) [#3]
See official thread but in short: you need a mingw environment variable which points to mingw as well as the path to mingw bin


VIP3R(Posted 2005) [#4]
Complete reinstall and sync mods made no difference.

I already have environment variables setup for mingw. The only difference is that the mingw on this system is part of the Dev-C++ installation, not a standalone mingw install. Adding a separate mingw install will screw up my mingw environment, so I can't do that either.

I take it BlitzMax is trying to detect the mingw installation and disabling the build module options if not found?

Which specific env paths need to be added? I can't find this info anywhere.


Yan(Posted 2005) [#5]
Add 'C:/Dev-Cpp/Bin' to your path and add an environment variable 'MINGW' with the same path.


VIP3R(Posted 2005) [#6]
I already had the PATH setup, but adding the MINGW variable fixed it.

Thanks Squatting Neville :)
[edit] and thanks Dreamora, I just noticed you said the same thing ;)

Still got the linker problem though :(

'Linking:odemax.exe'
'C:/Program Files/BlitzMax/bin/ld.exe: cannot find '


Kernle 32DLL_2(Posted 2005) [#7]
i had a similie problem, so i had to copy the lib folder of mingw to blitmax,don't know why, but it was the solution of my problem


VIP3R(Posted 2005) [#8]
Ok, found the problem...

The project folder has spaces in the path, I thought this was fixed ages ago?