lundi 23 mars 2015

I want to use Clang on Windows to compile 64 bit code from C++ - Getting stdio.h file not found

I have installed the 64 bit MinGW, and put it into the C:\MinGW path. With the 32 bit MinGW I could compile OK, but then when I changed to the 64 bit version, to compile to 64 bit code, I still had problems, getting this error message:



test1.cc:1:10: fatal error: 'stdio.h' file not found


I have run this command to try to compile my example:



clang test1.cc -o test1.exe -v --target=x86_64

Aucun commentaire:

Enregistrer un commentaire