Author Topic: Can't compile with codeblocks 12.11  (Read 4486 times)

Offline Parakeeter013

  • Single posting newcomer
  • *
  • Posts: 2
Can't compile with codeblocks 12.11
« on: July 10, 2013, 06:20:55 am »
I need help. I can't compile. I receive the error:
Checking for existence: /home/r439/c++/smap/bin/Debug/smap
Executing: xterm -T smap -e /usr/local/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/r439/c++/smap/bin/Debug/smap  (in /home/r439/c++/smap/.)
Process terminated with status 255 (0 minutes, 0 seconds)
 
I'm using linux mint 13. I recently updated to gcc and g++ 4.8 even though this was already a problem before that. How do I set the proper settings?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Can't compile with codeblocks 12.11
« Reply #1 on: July 10, 2013, 06:32:31 am »
Either install xterm or set the invoking string for your preferred terminal in "Settings -> Environment... -> General settings -> Terminal to lyunch [...]".
I'm not absolutely sure about 122.11, but you should already have a combobox there that knows some default terminals.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Can't compile with codeblocks 12.11
« Reply #2 on: July 10, 2013, 06:38:13 am »
By the way, the error does not mean you can not compile, but you can not run the executable in a terminal.

Offline Parakeeter013

  • Single posting newcomer
  • *
  • Posts: 2
Re: Can't compile with codeblocks 12.11
« Reply #3 on: July 10, 2013, 07:36:01 am »
Thanks, man! I just needed to install xterm and it's working now. ;D