User forums > Help

Problem Running C++ files in Linux

(1/1)

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:
Thanks! It worked :D

Navigation

[0] Message Index

Go to full version