Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » add cdt to eclipse for java(add cdt to eclipse for java)
icon4.gif  add cdt to eclipse for java [message #1018269] Wed, 13 March 2013 14:33 Go to next message
Jenny Ren is currently offline Jenny RenFriend
Messages: 1
Registered: March 2013
Junior Member
I installed a eclipse for java in macos, and now installed cdt for c/c++.
I created a helloworld project, and it shows 2 errors:
program "g++" not found in path
program "gcc" not found in path
I use my terminal which gcc which g++ and found none in my computer?
What should be the problem? should I download a gcc?
Thanks for your help!
Re: add cdt to eclipse for java [message #1018369 is a reply to message #1018269] Wed, 13 March 2013 17:48 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1376
Registered: July 2009
Senior Member
Eclipse can't include the gcc/g++ tools because of licensing incompatibilities. You have to install the compiler/linker tools yourself. Take a look at the Before you Begin section in the C/C++ Developer Users Guide in the include Help documentation. It discusses the requirement for setting up the tools.
Previous Topic:Invoke CDT programmatically: performances
Next Topic:Backslash in pwd yields unsafe absolute working directory
Goto Forum:

Current Time: Sat Nov 28 06:14:09 GMT 2015

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

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