Debian Problem C++
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Nov 27, 2017 1:37 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Debian Problem C++
Hi! How can I fix this?
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debian Problem C++
Did your code build successfully?
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Nov 27, 2017 1:37 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Debian Problem C++
Judging by this photo, I guess not.
Edit:
I've installed something and now it looks like this:
/bin/sh: 1: clang++: not found
platformer.mk:95: recipe for target 'Debug/main.cpp.o' failed
make[1]: *** [Debug/main.cpp.o] Error 127
make[1]: Leaving directory '/home/michu/platformer/platformer'
Makefile:4: recipe for target 'All' failed
make: *** [All] Error 2
====0 errors, 0 warnings====
Edit:
I've installed something and now it looks like this:
/bin/sh: 1: clang++: not found
platformer.mk:95: recipe for target 'Debug/main.cpp.o' failed
make[1]: *** [Debug/main.cpp.o] Error 127
make[1]: Leaving directory '/home/michu/platformer/platformer'
Makefile:4: recipe for target 'All' failed
make: *** [All] Error 2
====0 errors, 0 warnings====
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debian Problem C++
Not very helpfulI've installed something and now it looks like this:
Again, you are struggling with basic C/C++ build issues.
My advise: you should invest some time compile something outside of the IDE. Once you get the hang of it, switch back to the IDE
The error you get means: you don't have clang++ installed... (i.e. no compiler installed)
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Nov 27, 2017 1:37 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Debian Problem C++
sudo apt-get install linux-source
That's what I installed
"My advise: you should invest some time compile something outside of the IDE. Once you get the hang of it, switch back to the IDE" - what does It mean?
That's what I installed
"My advise: you should invest some time compile something outside of the IDE. Once you get the hang of it, switch back to the IDE" - what does It mean?
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Debian Problem C++
Hi,
I suggest you install the 'build-essential' package, which will install various packages useful for building. They include the usual C and C++ compilers, gcc and g++.
If you particularly want to use clang, then install the 'clang' package too. Otherwise you should change your project's settings to use g++ instead.
Regards,
David
Why did you install the kernel source? Are you trying to build your own kernel, or was that just a random guess?sudo apt-get install linux-source
I suggest you install the 'build-essential' package, which will install various packages useful for building. They include the usual C and C++ compilers, gcc and g++.
If you particularly want to use clang, then install the 'clang' package too. Otherwise you should change your project's settings to use g++ instead.
Regards,
David