Compile Interface with C example on XP64
BlitzMax Forums/BlitzMax Programming/Compile Interface with C example on XP64
| ||
When I try and compile the simple Doubler example from Blitzmax help section "Interfacing with C" on my PC I get a very unhelpful "failed to compile F:/Documents and Settings/Administrator/Desktop/test2.cpp" I have Windows XP 64 on my PC. Seems to work fine on my netbook which is Windows 7 32 bit. Is this a 64 bit issue of some kind? Is there a workaround? I can compile Blitzmax modules on my PC no problem. Of course it could be something totally different. Last edited 2011 |
| ||
Have you installed MinGW? |
| ||
yes MinGW is installed. |
| ||
To be honest, I have no experience with XP 64 so I'm just guessing. On the command line, gcc -v What does it return as the target? |
| ||
F:\Documents and Settings\Administrator>gcc -v 'gcc' is not recognized as an internal or external command, operable program or batch file. Doesn't look good edit: silly me after following the MinGW setup guide sticky and adding a few environment variables its all working now. Weird I assumed that because I could build modules all was working correctly. Last edited 2011 |
| ||
Yeah, if I remember right, the IDE will allow the menu option if the MINGW variable is set. It doesn't bother to check for the actual installation! |
| ||
Thanks for pointing me in the right direction. |