comzhong
2017-09-05 17:31 deepin
sudo apt install gcc g++
Reply Like 0 View the author
https://bbs.deepin.org/post/145069
sudo apt install gcc g++
https://bbs.deepin.org/post/145069
I tried to put that into the terminal, but then it asked for a password. Know idea what's happenin ...
https://bbs.deepin.org/post/145069
The terminal receives your input but doesn't show it. Type in your password, press enter and you'r ...
https://bbs.deepin.org/post/145069
Thanks for the help guys. I really appreciate it. My laptop just went through an update and, so, I w ...
Popular Ranking
ChangePopular Events
More
Hello,
I am back in school taking Computer Science, so I need a C++ compiler. I downloaded Code::Blocks from the AppStore - mostly because my professor suggested we use it - but it won't compile it. As I understand it, Code::Blocks can't even build the program - which, I'm assuming, is the same thing as compiling. Every time it tries I get the following error message:
/*
[ 50-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
[ 50.0%] g++ -Winit-self -Wundef -Wfloat-equal -Wunreachable-code -std=c++98 -g -c /home/.../CSC-201/Assignment#1.cpp -o /home/.../CSC-201/Assignment#1.o
/bin/sh: 1: g++: not found
Process terminated with status 127 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
*/
But for the life of me I can't figure out what the problem is. I'd ask my professor for help, but I don't know if he would be much help because of the distrubution I'm using, plus, you know, it's Linux.
I've already tried uninstalling and reinstalling. That didn't help. I tried switching to "Eclipse IDE for C++ developers." That didn't help, either. Any help/advice would be much appreciated.
Thanks in advance,
Ike