Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sconsolidator with Cygwin in Eclipse CDT #2

Open
mrueegg opened this issue Mar 29, 2014 · 0 comments
Open

Sconsolidator with Cygwin in Eclipse CDT #2

mrueegg opened this issue Mar 29, 2014 · 0 comments
Assignees

Comments

@mrueegg
Copy link
Contributor

mrueegg commented Mar 29, 2014

Reported by Anindya Chatterjee:

I am getting a "Access Denied" error while building my program in Eclipse CDT (Juno) targeting cygwin gcc.
Here is the steps I followed.

  1. Installed Python (2.7)
  2. Installed Scons
  3. Installed SConsolidator in eclipse CDT (latest one)
  4. 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
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. ==========================================================
5. Thought as there is no source file, that's why no executable was there and thus getting Access denied.
6. Added on demo.c file with simple main method in it. Saved it
7. 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
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 supposed to work. Can anybody please help me setting it up?

@mrueegg mrueegg self-assigned this Mar 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant