Author Topic: Unable to run simple code  (Read 2575 times)

Offline Pvic

  • Single posting newcomer
  • *
  • Posts: 2
Unable to run simple code
« on: November 28, 2017, 07:48:46 pm »
Trying Code::Blocks for the first time, decided to write and run a simple HelloWorld in C. And got into an issue wich I´m stuck.

I created a empty project with one C file. Everything builds and compiles just fine but in evert run, I keep getting this:

Quote
Checking for existence: /home/paulo/Hello/bin/Release/Hello
Executing: xterm -T Hello -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/paulo/Hello/bin/Release/Hello  (in /home/paulo/Hello/.)
Process terminated with status -1 (0 minute(s), 0 second(s))

The project has a bin foder, obj folder with compiled code. Already closed the project and created again with another config options..nothing so far.

Using Mint.

Thanks for any hints.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Unable to run simple code
« Reply #1 on: November 28, 2017, 07:52:16 pm »
Is xterm installed?
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Pvic

  • Single posting newcomer
  • *
  • Posts: 2
Re: Unable to run simple code
« Reply #2 on: November 28, 2017, 07:59:31 pm »
No, it was not. Installed using apt-get and worked. Thanks.