LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-30-2006, 10:52 PM   #1
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Question CMake error -- needs full path of compiler [solved]


I've been programming on Windows for 4 years now with VB.NET and C++. I'm trying to get into it on Linux now, well the C++ atleast. So i'm using Kdevelop3. First it gave me a CMake dosen't exist error when I tryed to create a new project. So I used apt-get and isntalled CMake. Finally after some more "this dosen't exist" errors I think I've got everything I need. But when I run

Code:
cmake -G KDevelop3
in the Terminal it tells me it can't find my compiler. Well it can't find it because I didn't set it (DUH!), but the trouble is I don't know how. In the CMakeCache.txt file it says

Code:
//C++ compiler
CMAKE_CXX_COMPILER:STRING=CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND
So my question is finally, what do i replace CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND with if i'm using the g++ compiler. I'm using Kubuntu on this computer.

Thanks for the help guys.

Last edited by Penguin of Wonder; 01-31-2006 at 03:23 PM.
 
Old 01-31-2006, 01:45 PM   #2
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
type

$ which g++

this will tell you the full path to the executable you need. for my system (Fedora Core 4) it is /usr/bin/g++. hope this helps a little.
 
Old 01-31-2006, 03:22 PM   #3
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
Thanks for the responce. That fixed my problem. Now I just have three more errors to figure out that, lol me and my linux, it never works right.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: no acceptable C compiler found in $PATH mfeyzifar Fedora 10 08-15-2014 03:13 AM
error : no acceptable C compiler found in $PATH tzonga1 Linux - Software 1 03-02-2005 09:01 PM
error: no acceptable C compiler found in $PATH Tracianddwayne Linux - Newbie 1 12-23-2004 03:18 PM
configure: error: no acceptable C compiler found in $PATH Free-Blade Linux - Newbie 15 09-13-2004 11:33 AM
configure: error: no acceptable C compiler found in $PATH habitue Red Hat 0 10-14-2003 06:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration