You are not logged in.
Pages: 1
Topic closed
I decided to give it a go and learn c++. Unfortunately I fell into the first problem.
I am using codeblocks.
- gcc present.
I tried to execute hello world and I error showed:
-------------- Run: Debug in hello world (compiler: GNU GCC Compiler)---------------
Checking for existence: /home/adam/c++/hello world/bin/Debug/hello world
Executing: xterm -T hello\ world -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/adam/c++/hello\ world/bin/Debug/hello\ world (in /home/adam/c++/hello world/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
I googled this with no answers or clues what does status -1 mean.
However, in a console, "g++ main.cpp -o HelloWorld" works perfectly fine!
Thank you
Last edited by ad4ms3 (2018-04-13 22:30:05)
Offline
It's the xterm invocation that's failing, is xterm installed?
Offline
Yes, installing xterm solved the problem. Thank you
Offline
Yes, installing xterm solved the problem. Thank you
Thanks xterm installation fixed it
Offline
Please do not necrobump, especially with an empty post.
Closing.
Offline
Pages: 1
Topic closed