|
|
Re: Build failure on stock "C++ Hello World" project [message #840866 is a reply to message #840591] |
Tue, 10 April 2012 11:46   |
Eclipse User |
|
|
|
Thanks, Axel.
I'm guessing that the path discovery result was not accurate, as the initial build produced close to 600 errors stemming from inclusion of the iostream header, which couldn't locate a large number of system-defined symbols/classes.
I've rebuilt the index repeatedly, after adding various system directories to the include directories via the Project Properties dialog.
At this point, I'm going to create a new VM, and add as little as possible to it before doing a test build of CDT. This is because I ended up with both 4.4.4 and 4.4.6 versions of the c++ include directories, and the 4.4.6 is nothing more than a soft link to the 4.4.4 version... which makes me wonder about the relative paths that I find in the .sc file. (Relative paths including '..' don't play well with soft links.)
The reason I'm going to try this is that I added a number of packages that I prefer to work with, and one of those might have been the reason the soft link was added. If I get solid information from this experiment on what's wrong with the environment, I'll try fixing my existing VM as a proof that I've got the right root cause identification.
I'll update this thread once I have the results of that experiment. I am intending to join the contributor list for CDT anyway, so perhaps I'll be in the position of reporting a bug and resolving it myself. 
Thanks again-
Bob
|
|
|
Re: Build failure on stock "C++ Hello World" project [message #841162 is a reply to message #840866] |
Tue, 10 April 2012 21:07  |
Eclipse User |
|
|
|
OK. This time I did not download and install the preset Eclipse C++ package set, but instead just included Eclipse (Helios) in the initial VM configuration, and added the CDT plugin afterwards.
Everything worked fine for the 'Hello World' compilation and execution, so apparently I hit a corner case somehow, probably related to the order of installation of some rpm that caused an issue with the path discovery.
Thanks again for the reply, Axel.
Bob
|
|
|
Powered by
FUDForum. Page generated in 0.08508 seconds