我刚安装了Cygwin和eclipse我的Win7的X64机器上,并从SVN导入我的代码后,我得到这个奇怪的错误:日食编译错误
**** Build of configuration Default for project platform ****
make all
g++ -O2 -g -Wall -fmessage-length=0 -c -o platform.o platform.cpp
process_begin: CreateProcess(C:\cygwin\bin\g++.exe, g++ -O2 -g -Wall -fmessage-length=0 -c -o platform.o platform.cpp, ...) failed.
make (e=5): Access is denied.
make: *** [platform.o] Error 5
我试着运行Eclipse作为管理员,但没有任何区别。任何线索如何解决这个问题?
我的Windows路径变量是C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jre6\bin\;C:\cygwin\bin
只是想知道,是'C:\ cygwin \ bin \'在windows'PATH变量中? – Donotalo 2010-09-23 01:46:48
是的,我的PATH变量包含C:\ cygwin \ bin – Bocochoco 2010-09-23 01:54:35
你可以尝试使用g ++。exe来编译一个简单的Hello World程序吗?那样有用吗? – Arun 2010-09-23 03:32:18