Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » no c++ project available
icon5.gif  no c++ project available [message #1707854] Wed, 09 September 2015 18:22 Go to next message
max hoefl is currently offline max hoeflFriend
Messages: 1
Registered: September 2015
Junior Member
Dear community,

I have been struggling with this problem for a while now and after endless tries I need your help:
I cannot create a new C++ project in eclipse 3.8.1 installed on Ubuntu 14.04 LTS.

So I first uninstalled eclipse and ran a

sudo apt-get autoremove eclipse*
rm -r ~/.eclipse/

Then I installed via
sudo get-apt install eclipse eclipse-cdt g++

On completion I installed the c++ packages in eclipse.
and updated eclipse.
After that I looked for eclipse.ini in /usr/lib/eclipse and changed as admin the line
-vmargs

to
-vmargs -Dosgi.requiredJavaVersion=1.7

which matches my Java version.

I am really confused as other people solved this problem with the latter step.

Thanks for your help!
Max
Re: no c++ project available [message #1707953 is a reply to message #1707854] Thu, 10 September 2015 18:22 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
The documentation for eclipse.ini has the arguments on separate lines. In fact, it says "Important: Each option and each argument to an option must be on its own line". There are two other important things, as well.


https://wiki.eclipse.org/Eclipse.ini

Edit:
Originally I inadvertently linked to the middle of the page. I've fixed this.

[Updated on: Thu, 10 September 2015 23:32]

Report message to a moderator

Previous Topic:Eclipse: Internal error building project <project> configuration Debug
Next Topic:Extension/replacement of PDOMCLinkage
Goto Forum:
  


Current Time: Thu Apr 25 12:55:15 GMT 2024

Powered by FUDForum. Page generated in 0.02486 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top