Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Celzo on January 05, 2010, 03:03:39 pm
-
Hi, I'm currently using C::B for linux (ubuntu), and I'm having a problem setting the "host application" parameter. I installed it in my netbook (this one has xubuntu) and desktop PC. But in my desktop I'm able to run programs in a separate windows (white window =P), just like in Windows OS. However, in my netbook, I have to constantly open the terminal and use the gcc and ./a.out commands to execute the programs I make. I don't know how did I get the white window on my desktop PC, but luckily I did. I installed C::B from the same source, using the command given by the C::B wiki in the official web page:
sudo apt-get install build-essential gdb libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx2.6-doc wx-common
So anyone have any idea on how can I configure my netbook to get to programs in a separate window? Thanks!
-
The current C::b surely does not work with wxWidgets 2.6.
So which version of C::B are you using ?
But apart of this, you need to have the xterm-package installed to get the console on linux, or set up another terminal emulator in "Settings -> Environment... -> General settings" .
-
My C::B is v8.02
I found the xterm terminal, and I could use: Project -> Set Programs' arguments... to set xterm as the app to run programs. But I can't get it to execute this part: <xterm -T $TITLE -e> (It's what I found in "Settings -> Environment... -> General Settings") and I suppose that these are the options to make the terminal clear the window and just run the program...