News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Unable to run simple code

Started by Pvic, November 28, 2017, 07:48:46 PM

Previous topic - Next topic

Pvic

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:

QuoteChecking 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.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Pvic

No, it was not. Installed using apt-get and worked. Thanks.