error: invalid preprocessing directive #Include
BlitzMax Forums/BlitzMax Programming/error: invalid preprocessing directive #Include
| ||
I get this at the first line "#Include <windows.h>" when I try to compile a program with an imported .c file. I got mingw and the Windows SDK installed with PATH variables for mingw set up and everything. Is there anything else I need to do here? |
| ||
Include in C needs to be in lower case. -Henri |
| ||
Oh, the IDE corrected it for me :P Thanks! |
| ||
It usually happens when you create the c/c++ source file in the IDE and start coding in it right away. By default the IDE thinks you are writing BlitzMax code. I usually just close the file and reopen in the IDE and then it is recognised correctly as not BlitzMax source. |