Registered Member
|
1)install cmake
2)install make 3)install gcc 4)instal kdevelop 5) create new project (helloworld in terminal) CMakeLists.txt
main.cpp
Output
Whats wrong with it ? |
Administrator
|
Did you run "cmake ." prior to attempting to run "make"?
Also, CMake is usually run in a seperate build/ directory as so:
You should then be able to run make. With a CMake based project KDevelop should take care of running CMake though.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yeah I did:
I don't understand why all those variable are not automitcally configured at the installation.. I have a standard installation I did not change anything... |
Registered Member
|
It seems like you don't have a c++ compiler. On debian and, I belive, on ubuntu/kubuntu the c++ compiler is a separate package from gcc so it needs to be installed explicitly.
|
Registered Member
|
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell