PDA

View Full Version : Newbie problems compiling with Kdevelop


blastradius
October 29th, 2005, 08:14 AM
When trying to compile a C++ program using Kdevelop i get the following error:-

checking for working makeinfo... missing
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***

I have no such problems with Anjuta but would prefer to use Kdevelop. I've noticed that Kdevelop compiles with the C++ compiler whereas Anjuta refers to the compiler as g++, is this the problem and how can i change the setting in Kdevelop.

Thanks

Eric

toojays
October 29th, 2005, 07:36 PM
Have you install build-essential?

ofek
October 29th, 2005, 08:48 PM
Try writing the next command in terminal: "sudo apt-get install build-essential".

blastradius
October 30th, 2005, 05:21 AM
yes i've already installed it. As i said Anjuta works fine.

Can't understand it myself. I'll try re-installing build-essential.

Ok didn't make any difference, the build-essential i have installed is the newest version.

Any ideas?

toojays
October 30th, 2005, 06:53 AM
Post what it says in configure.log about the error. Recently someone in these forums had a problem which was caused by KDevelop trying to cross-compile an application for Windows.

blastradius
October 30th, 2005, 10:28 AM
Ok, i could be being stupid here but how do i access the config.log?
As i said, i'm just getting started programming so i've a lot to learn.

Thanks for your reply.

toojays
October 30th, 2005, 05:50 PM
I'm not sure where kdevelop puts it. Look in the directory where the rest of your source code is.

This is an example of why it's not such a good idea to learn programming with an IDE . . . it hides too much information from you.