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

No xterm trying to run console appliocation

Started by pplp, March 18, 2007, 02:57:13 PM

Previous topic - Next topic

pplp

Hi everyone

I downloaded codeblocks latest svn (March 18 2007). I compiled it and installed it in Arch Linux. I tried to run (not debug) a simple Hello World program from the templates but I don't see any terminal opening. I see in Settings -> Environment that "Terminal to launch console programs" is set to "xterm -T $TITLE -e" and xterm is working perfectly. As shell I can see that is defined "/bin/sh -c". How can I fix this?

Pecan

#1
Under the Messages Build Log you should see a msg like "Executing .." xterm or whatever.

What does it say it's trying to do. Anything?


Mine: SVN 3676 shows:

Checking for existence: /home/pecan/proj/conio/conio
Executing: xterm -font -*-*-*-*-*-*-20-*-*-*-*-*-*-*  -T 'conio' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /home/pecan/devel/trunk/src/devel/cb_console_runner "/home/pecan/proj/conio/conio" ' (in /home/pecan/proj/conio/.)



There's recently been a "War on Macros" that's kinda messed a few things up. You might want to revert to an earlier SVN (like above) if you want to execute or debug from Linux.

Eventually, the "War" will end, and it'll all work again.

pplp

Assuming that I look at the correct tab, the one named "Build log" I can see only this


Checking for existence: /tmp/test/bin/Debug/test
Executing: "/tmp/test/bin/Debug/test" ' (in /tmp/test/.)
Process terminated with status 0 (0 minutes, 0 seconds)


Even if I press Build->Build and run.

I will try to install your version and I hope everything works.

Thank you :D

jarro_2783

Mine did the same in windows yesterday, it looks like the latest revision has fixed it.