Unable to build project (java.lang.NullPointerException) [message #1083091] |
Fri, 09 August 2013 13:03 |
Thomas Van Parys Messages: 2 Registered: July 2009 |
Junior Member |
|
|
It's been a while since I've needed to work on a C++ project, but recently I've been trying to get back into it, by installing CDT. Now I'm not even getting the example Hello World project compiled, and I'm starting to suspect a bug rather than wrong settings.
My environment:
- Fedora 19, 64bit, kernel 3.10.4-300
- g++ (GCC) 4.8.1, GNU Make 3.82, GNU gdb (GDB) Fedora (7.6-32.fc19)
- Eclipse Kepler (manually installed)
- CDT 8.2
- Oracle Java 1.7.0_25
The problem:
I create a new C++ project, with the HelloWorld template. I chose the Linux GCC toolchain. The project is created, but no 'Binary' folder shows up. Only the 'src' folder. Also, in the Project Properties > C/C++ General > Paths and Symbols > Inludes, no includes or symbols show up (I thought this was supposed to work automatically).
So, initially, "#include <iostream>" and "cout" and "endl" show up as errors.
I can manually add the includes to Paths and Symbols to solve this.
Now, clicking the "Build Project" button, gives me this dialog:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'HelloWorldCPP'.
Internal error building project HelloWorldCPP configuration Debug
java.lang.NullPointerException
Internal error building project HelloWorldCPP configuration Debug
java.lang.NullPointerException
And that's that.
Creating the project in a new workspace doesn't change a thing.
Would this be a CDT bug? Or something wrong with my setup or settings?
Thanks!
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04574 seconds