User forums > Help
16.01 installed on Xubuntu 16.04 LTS having difficulty setting path
boxcorner:
Hello
I installed SoloLearn Learn C++ for Android on my phone.
Getting the Tools section introduced me to Code::Blocks
So, I have installed Code::Blocks 16.01 in Xubuntu 16.04 LTS on a Toshiba NB550D notebook
Trying the Hello World sample code, when I click on the Build & run icon
--- Code: ----------------- Build: Debug in SoloLearn (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -Wall -std=c++11 -c /home/hughes/CodeBlocks/SoloLearn/main.cpp -o obj/Debug/main.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))
--- End code ---
Settings > Compiler > Global compiler settings > Toolchain executables > Auto-Detect
/usr
C++ compiler : g++
Linker for dynamic libs : g++
Could someone please help me set the path correctly?
Jenna:
Install the g++-compiler.
boxcorner:
Thank you.
Here's what I did
--- Code: ---sudo apt-get install build-essential
--- End code ---
Now it works.
When I hover the mouse pointer over the Build and run icon, the text is barely legible, as it's white on a pale grey background. How do I change the tool-tip text colour, please?
BlueHazzard:
--- Quote from: boxcorner on July 31, 2016, 12:16:20 pm ---When I hover the mouse pointer over the Build and run icon, the text is barely legible, as it's white on a pale grey background. How do I change the tool-tip text colour, please?
--- End quote ---
This is a setting provided by your OS. C::B uses wxWidgets for the GUI, and wxWidgets uses the system default colors for the GUI elements. So you should see this behavior (color scheme) on all your applications...
greetings
boxcorner:
Thanks, that makes a lot of sense. Version 16.04 LTS of my OS (ie Xubuntu) is new to me. I have been using version 14.04 LTS on a Lenovo laptop. i had to de-select a lot of things in 16.04 LTS to get it running reasonably on this little Toshiba notebook, so I very likely messed up. I shall enjoy using Code::Blocks. Thank you!
Navigation
[0] Message Index
[#] Next page
Go to full version