0

I am a beginner C++ self-teaching student. I need it to improve my job performance but I am not supposed to spend time learning it in the workplace, so I am setting up a development environment at home. Eclipse looked easier than a vim+gcc setup.

I have tried many ways to install the latest eclipse CDT without success. In order to get an up-to-date version (not the one in USC), I downloaded tar.gz from here (http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/3/eclipse-cpp-neon-3-linux-gtk-x86_64.tar.gz) and "tar -xzvf" it to my /Home/opt. I opens right away, there is no installer as in other cases I found here.

It is installed but I can't find anything related to C++ there. It still looks like a Java only installation. No new C++ project option. What should I do? I do have gcc installed

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)

I found tons of Error messages, but they are dated from yesterday, when I tried to install it via USC and add CDT through help>install new software option. I removed the old install through "sudo apt-get remove eclipse". How is that possible to have log messages from an old installation? One of them says:

eclipse.buildId=debbuild
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

Error
Sat Jul 01 20:36:05 BRT 2017
Missing requirement: GCC support for CDT Build Core 1.0.0.201704050430 (org.eclipse.cdt.build.gcc.core 1.0.0.201704050430) requires 'bundle org.eclipse.core.resources 3.10.0' but it could not be found
Benari
  • 11

1 Answers1

0

So, what I found out was: After deleting the unTARed folder I could still open Eclipse, and entering "sudo apt-get remove eclipse" didn“t find anything to remove, but suggested doing sudo apt autoremove. I did so, and after that all vestiges of eclipse were gone.

Then I did ~/opt$ tar -xzvf ../Downloads/eclipse-cpp-neon-3-linux-gtk-x86_64.tar.gz on the same downloaded package again, and another version of Eclipse with a very different face appeared. Somehow I was still running a ghost of past Eclipse installations even after removing them through apt-get.

Neon isn't really the latest version, but CDT's downloads page shows it as such, so I didn't bother.

Benari
  • 11