Code::Blocks Forums

User forums => Help => Topic started by: boxcorner on July 31, 2016, 10:59:15 am

Title: 16.01 installed on Xubuntu 16.04 LTS having difficulty setting path
Post by: boxcorner on July 31, 2016, 10:59:15 am
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))
 
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?
Title: Re: 16.01 installed on Xubuntu 16.04 difficulty setting path
Post by: Jenna on July 31, 2016, 11:31:49 am
Install the g++-compiler.
Title: Re: 16.01 installed on Xubuntu 16.04 difficulty setting path
Post by: boxcorner on July 31, 2016, 12:16:20 pm
Thank you.

Here's what I did
Code
sudo apt-get install build-essential
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?
Title: Re: 16.01 installed on Xubuntu 16.04 difficulty setting path
Post by: BlueHazzard on July 31, 2016, 05:11:17 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?

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
Title: Re: 16.01 installed on Xubuntu 16.04 difficulty setting path
Post by: boxcorner on July 31, 2016, 05:35:40 pm
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!
Title: Re: 16.01 installed on Xubuntu 16.04 LTS having difficulty setting path
Post by: oBFusCATed on August 02, 2016, 03:58:26 am
Can you show a screenshot?
Title: Re: 16.01 installed on Xubuntu 16.04 LTS having difficulty setting path
Post by: boxcorner on August 02, 2016, 04:07:08 pm
it's fine now. I discovered how to change the colour of tooltip text and background, in Xubuntu. Let me know if you still want screenshots.
Title: Re: 16.01 installed on Xubuntu 16.04 LTS having difficulty setting path
Post by: oBFusCATed on August 02, 2016, 04:17:27 pm
If there is a way to do it then I don't need a screenshot.
Happy you've sorted it out.
Title: Re: 16.01 installed on Xubuntu 16.04 LTS having difficulty setting path
Post by: boxcorner on August 02, 2016, 07:35:03 pm
Just in case someone else experiences the same difficulty,
using Xubuntu 16.04 LTS Plasma, here's what I did :

System Settings > Colours > Application Colour Scheme > Colours (tab)
scroll down to : Tooltip Background &/or Tooltip Text
select required colours & click on Apply.