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: 1351
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.

http://help.eclipse.org/juno/topic/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm?cp=11_0
Previous Topic:Invoke CDT programmatically: performances
Next Topic:Backslash in pwd yields unsafe absolute working directory
Goto Forum:
  


Current Time: Fri Dec 19 13:39:20 GMT 2014

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

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