#error Only Win32 target is supported

泄露秘密 提交于 2019-12-12 19:11:22

问题


I am using cygwin64 and including the MinGW64/x86_64-w64-mingw32/include folder in my project. However I am getting the following error when I run make on the project : /cygdrive/c/MinGW64/x86_64-w64-mingw32/include/sys/types.h:10:2: error: #error Only Win32 target is supported! I would think that that since the types.h file appears to be in a 64 bit folder it would support the 64 bit system, so what am I misunderstanding in this system.

The code in types.h that it gets caught on is as follows

#ifndef _WIN32
#error Only Win32 target is supported!
#endif

来源:https://stackoverflow.com/questions/18703526/error-only-win32-target-is-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!