我剛安裝了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