Author Topic: Problem Running C++ files in Linux  (Read 3993 times)

Offline Hackz101

  • Single posting newcomer
  • *
  • Posts: 2
Problem Running C++ files in Linux
« on: January 29, 2014, 12:38:58 am »
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. :)

 


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Problem Running C++ files in Linux
« Reply #1 on: January 29, 2014, 12:50:07 am »
Either install xterm or chose another terminal in "Settings -> Environment -> View".

Offline Hackz101

  • Single posting newcomer
  • *
  • Posts: 2
Re: Problem Running C++ files in Linux
« Reply #2 on: January 29, 2014, 10:24:46 pm »
Thanks! It worked :D