问一个MinGW + CMake 的问题# Programming - 葵花宝典
y*e
1 楼
我在WinXP下用MinGW加CMake来port 我的Project,原来是
Linux下开发的。
用Cmake一开头就出了问题,我选用Unix Makefiles, 但是
MinGW的C compiler总被抱怨:
The C compiler "gcc.exe" is not able to compile a simple test program.
It fails with the following output:
0[main] make 2924 fhandler_base::dup(some disk file) failed, handle 0,
Win32 error 6
Building object file testCCompiler.o...
Access violation
请有经验的大虾出手指教,先谢过了。
Linux下开发的。
用Cmake一开头就出了问题,我选用Unix Makefiles, 但是
MinGW的C compiler总被抱怨:
The C compiler "gcc.exe" is not able to compile a simple test program.
It fails with the following output:
0[main] make 2924 fhandler_base::dup(some disk file) failed, handle 0,
Win32 error 6
Building object file testCCompiler.o...
Access violation
请有经验的大虾出手指教,先谢过了。