I am getting a "Access Denied" error while building my program in Eclipse CDT (Juno) targeting cygwin gcc. Here is the steps I followed.
- Installed Python (2.7)
- Installed Scons
- Installed SConsolidator in eclipse CDT (latest one)
- Create a new project using "Scons executable project" wizard
Now while scons is trying to build the project I am getting following error
=== Running SCons at 6/23/13 11:05 PM ====
Command line: C:\Python\Scripts\scons.bat -u --jobs=16
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: warning: you do not seem to have the pywin32 extensions installed;
parallel (-j) builds may not work reliably with open Python files.
scons: Building targets ...
File "C:\Python\Scripts\scons.py", line 192, in <module>
scons: building associated VariantDir targets: Debug
gcc -o Debug\demo.exe
Access is denied.
scons: *** [Debug\demo.exe] Error 1
scons: building terminated because of errors.
Duration 1201 ms.
- Thought as there is no source file, that's why no executable was there and thus getting Access denied.
- Added on demo.c file with simple main method in it. Saved it
- Getting the same error as below
=== Running SCons at 6/23/13 11:19 PM ==== Command line: C:\Python\Scripts\scons.bat -u --jobs=16 scons: Reading SConscript files ... scons: done reading SConscript files.
scons: warning: you do not seem to have the pywin32 extensions installed; parallel (-j) builds may not work reliably with open Python files. scons: Building targets ... File "C:\Python\Scripts\scons.py", line 192, in <module> scons: building associated VariantDir targets: Debug gcc -o Debug\demo.o -c -O0 -g3 -Wall -c -fmessage-length=0 demo.c Access is denied. scons: *** [Debug\demo.o] Error 1 scons: building terminated because of errors. Duration 1306 ms.
What am I doing wrong? It suppose to work. Can anybody please help me setting it up?