News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Problem Running C++ files in Linux

Started by Hackz101, January 29, 2014, 12:38:58 AM

Previous topic - Next topic

Hackz101

I recently got a linux(Gnome) and decided I should get codeblocks for it because it is my favorite C++ IDE. The terminal said I needed to install wxWidgets so I could use it. So I did. Then I installed codeblocks and tried making a new console project. Then I clicked the build and run button and everything seemed fine but it didn't actually run the file. In the build log it said :



-------------- Build: Debug in proj (compiler: GNU GCC Compiler)---------------

Target is up to date.
Nothing to be done (all items are up-to-date).


-------------- Run: Debug in proj (compiler: GNU GCC Compiler)---------------

Checking for existence: /home/hayden/Desktop/C++/proj/bin/Debug/proj
Executing: xterm -T proj -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/hayden/Desktop/C++/proj/bin/Debug/proj  (in /home/hayden/Desktop/C++/proj/.)
Process terminated with status 255 (0 minute(s), 0 second(s))




I'm confused on how I should fix this problem. If anyone could help that would be great. :)




Jenna

Either install xterm or chose another terminal in "Settings -> Environment -> View".

Hackz101