Can't compile C files in Vista
BlitzMax Forums/BlitzMax Programming/Can't compile C files in Vista
| ||
-I installed Vista 32-bit Home Premium. -Installed BlitzMax 1.30. -Installed MinGW 5.1.3. -Added ";C:\MinGW\bin" to the Path environment variable. When I try to build a module, I get this error: Building engine Compiling:IncBin.bmx flat assembler version 1.66 3 passes, 49913 bytes. Compiling:Timer.bmx flat assembler version 1.66 3 passes, 3998 bytes. Compiling:AppTiming.bmx flat assembler version 1.66 3 passes, 6874 bytes. Compiling:OpenGLHelper.bmx flat assembler version 1.66 4 passes, 19645 bytes. Compiling:Maths.c Build Error: failed to compile C:/Users/MyName/Desktop/Engine/Imports/Maths.c Process complete Everything worked fine with Windows XP. |
| ||
try adding a new system variable called 'MinGW' with a value of 'C:\MinGW' |
| ||
You don't have MinGW installed properly. You need to follow all of the instructions on here, paying careful attention to those marked specific for Window Vista. http://www.blitzbasic.com/Community/posts.php?topic=72892 |
| ||
I reinstalled MinGW as it says and I still get the same error. |
| ||
Thanks, adding the MinGW environment variable made it work. Maybe that should be added to the first forum post. |
| ||
Yes, sorry, I should have said that you have to read down past Mark's bit. |
| ||
It's important that you extend the SYSTEM path variable, and not the user path variable. I wrote a post about it on my blog as well, cos I had the same problems. =\ |
| ||
I used the Bmax companion tool to install mingw. then make sure UAC is turned off or your ide runs as admin or you get problems and can only compile in debug mode. setting compatibility to run as admin for a few things fixed everything for me. I keep UAC turned on in vista. |
| ||
blitzmax companion http://www.blitzmax.com/Community/posts.php?topic=79814 |