News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

16.01 installed on Xubuntu 16.04 LTS having difficulty setting path

Started by boxcorner, July 31, 2016, 10:59:15 AM

Previous topic - Next topic

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

-------------- 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?

Jenna


boxcorner

Thank you.

Here's what I did
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?

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?

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!

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

boxcorner

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.

oBFusCATed

If there is a way to do it then I don't need a screenshot.
Happy you've sorted it out.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

boxcorner

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.