User forums > Help

No console window appears when I run a console application

<< < (2/3) > >>

libfab:
I confirm this bug on Linux (rev 5093 and the new 5095 both have the issue).
Running Build > Run causes a crash while running Debug > Start is OK with the same set of arguments.
End pause does not seem to be a factor.

Here might be a clue however: the "inner" console window that pops up after Build > Run displays a command line beginning with "sh: /tools/...(path to dir)"
While /...path to dir does exist, it is wrongly embedded under /tools/ by the sh command line.

Although I have not located this issue in the source code, admins should find the wrong line fast I think.

Fab

Jenna:
I can not confirm this, neither on windows (w2k) nor on linux (debian sid/experimental), both with svn r5095.

@ the linux-users: what is the content of the two text-boxes "Shell to run commands in" and "Terminal to launch console programs" in "Settings -> Environment... -> General settings" ?
If terminal is "xterm", is it really installed on your system ?

@ windows-users: which windows-version do you use ?
I had some strange issues on a panel-pc after upgrading it to XP SP3.

libfab:
Hi Jens,
the requested parameters are respectively
/bin/sh -c
and
xterm -T $TITLE -e

Platform is Ubuntu hardy 8.04 with full update.

Note
-------
the Ubuntu xterm server had a bug which has been corrected today (do an apt-get update).
This bug is not related to the CB issue mentioned in this thread. However with this corrected xterm package a temporary turnaround can be devised as follows:
1)create a tool named "launch" in Tools>Configure Tools>Add
2)fill-in the executable line with /usr/bin/xterm
3)fill in the parameters line with:
 -e ${TARGET_OUTPUT_FILE} my command line
Users who have not updated their Ubuntu platform may experience a crash with this turnaround.

Jenna:

--- Quote from: libfab on June 14, 2008, 01:47:07 pm ---Hi Jens,
the requested parameters are respectively
/bin/sh -c
and
xterm -T $TITLE -e

Platform is Ubuntu hardy 8.04 with full update.

--- End quote ---

What's the output of Build Log ?

For me it's for example (on linux):

--- Code: ---Checking for existence: /tmp/test/bin/Release/test
Executing: xterm -T test -e /home/jens/codeblocks-build/codeblocks-1.0svn/src/output/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /tmp/test/bin/Release/test  (in /tmp/test/.)

--- End code ---

and on W2K:

--- Code: ---Checking for existence: C:\new\test\bin\Release\test.exe
Executing: "C:\Programme\CodeBlocks/cb_console_runner.exe" "C:\new\test\bin\Release\test.exe"  (in C:\new\test\.)

--- End code ---

libfab:
There's no such xterm test at configure stage (whether in my config.log or in configure screen output), despite the fact that xterm is installed and alway was.
So it might be an issue with the build process. See build output attached (boostrap, configure and start of make stage).
Best, Fab

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version