Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Why are the C++ perspective and new project options not available in Eclipse?(Mac - OSX - Luna - Eclipse C/C++ IDE - CDT installed but C++ perspective is not visible)
Why are the C++ perspective and new project options not available in Eclipse? [message #1463605] Thu, 06 November 2014 18:49 Go to next message
shreyas joshi is currently offline shreyas joshiFriend
Messages: 5
Registered: November 2014
Junior Member
I installed the "Eclipse IDE for Java Developers" package from the Eclipse website. I work with C++ projects as well, so I used the "Install New Software..." menu option to install the "C/C++ Development Tools" package. After doing so and restarting Eclipse, the C++ perspective did not appear; clicking on the "Open Perspective" button did not show the "C/C++" option. I also found that I was unable to create a C++ project; the "C/C++" tree node did not appear in the New Project wizard. The Java perspective and new project options were available.

I verified that CDT was installed by going to the "Installed Installation Details" dialog - "C/C++ Development Tools" appeared in the "Installed Software" list. I tried uninstalling this package and reinstalled it again without success. I tried removing the Eclipse installation altogether and installing the "Eclipse IDE for C/C++ Developers". There were no C/C++ options in this installation either. Why are the C/C++ features not available after installing the CDT feature in Eclipse?

I have a macbook - running OS x - Maverics . I would like to know the solution based on my OS.
Re: Why are the C++ perspective and new project options not available in Eclipse? [message #1463689 is a reply to message #1463605] Thu, 06 November 2014 20:47 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Do you have the C and C++ compiler toolkits installed?

Open Terminal and type:
g++ --version

If the compiler is there, you should see something similar like mine:

macbook-pro-2:$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
macbook-pro-2:$



--

Tauno Voipio
Re: Why are the C++ perspective and new project options not available in Eclipse? [message #1463932 is a reply to message #1463689] Fri, 07 November 2014 02:58 Go to previous messageGo to next message
shreyas joshi is currently offline shreyas joshiFriend
Messages: 5
Registered: November 2014
Junior Member
SHREYASs-MacBook-Pro:~ shreyasjoshi$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
Re: Why are the C++ perspective and new project options not available in Eclipse? [message #1464111 is a reply to message #1463605] Fri, 07 November 2014 07:31 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
On 06-11-14 19:49, shreyas joshi wrote:
> I installed the "Eclipse IDE for Java Developers" package from the
> Eclipse website. I work with C++ projects as well, so I used the
> "Install New Software..." menu option to install the "C/C++ Development
> Tools" package. After doing so and restarting Eclipse, the C++
> perspective did not appear; clicking on the "Open Perspective" button
> did not show the "C/C++" option. I also found that I was unable to
> create a C++ project; the "C/C++" tree node did not appear in the New
> Project wizard. The Java perspective and new project options were
> available.
>
> I verified that CDT was installed by going to the "Installed
> Installation Details" dialog - "C/C++ Development Tools" appeared in the
> "Installed Software" list. I tried uninstalling this package and
> reinstalled it again without success. I tried removing the Eclipse
> installation altogether and installing the "Eclipse IDE for C/C++
> Developers". There were no C/C++ options in this installation either.
> Why are the C/C++ features not available after installing the CDT
> feature in Eclipse?
>
> I have a macbook - running OS x - Maverics . I would like to know the
> solution based on my OS.

Do you use Java 1.7 or higher?


Cheers,

Joost
Re: Why are the C++ perspective and new project options not available in Eclipse? [message #1698325 is a reply to message #1464111] Sat, 13 June 2015 19:27 Go to previous messageGo to next message
Joseph Austin is currently offline Joseph AustinFriend
Messages: 1
Registered: June 2015
Junior Member
Any solution to this problem?
I installed AVR and CDT yesterday on Luna and have the same issue:
they show up in "help> installed software"
they don't show up in preferences, toolbar, new project, etc.

Do I need any CDT Optional features?

From Help>Installed Software:

AVR Eclipse Plugin 2.4.1 de.innot.avreclipse.feature.group avr-eclipse.sourceforge.net

C/C++ Development Tools 8.6.0.201502131403 org.eclipse.cdt.feature.group Eclipse CDT

C/C++ Development Tools SDK 8.6.0.201502131403 org.eclipse.cdt.sdk.feature.group Eclipse CDT

downloaded from CDT - http://download.eclipse.org/tools/cdt/releases/8.6

Eclipse IDE for Java Developers
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

OSX 10.9.5

joemacbook:~ josephaustin$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

joemacbook:~ josephaustin$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)


Re: Why are the C++ perspective and new project options not available in Eclipse? [message #1698661 is a reply to message #1698325] Wed, 17 June 2015 06:22 Go to previous message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-06-15 19:57, Joseph Austin wrote:
> joemacbook:~ josephaustin$ java -version java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed
> mode)

See my previous message in the thread. The one you replied to.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWBEiUACgkQ0VJKUkHcX78gfgCeP1l+1hhn321JjpnEE2v0my16
mh0An1Dkzhv0Z+3xc+2oA5jP0ERSD+d+
=xjMo
-----END PGP SIGNATURE-----


Cheers,

Joost
Previous Topic:Developing in Windows for Linux with Virtual machine
Next Topic:How to theme some parts of editor?
Goto Forum:
  


Current Time: Thu Apr 18 03:11:58 GMT 2024

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

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

Back to the top