News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Trouble running app outside of ide

Started by ZXCBOMB!, August 10, 2010, 07:23:55 PM

Previous topic - Next topic

ZXCBOMB!

hello im new to code blocks add i just ported over a simple console app from windows vc++ to Ubuntu codeblocksc++ and everything works fine. but when i try to run the app as a stand alone app i double click it and nothing happens. if i open it from terminal it works fine. but i really just want to be able to open it by itself.

Ceniza

That is normal behavior in *nix. It has nothing to do with Code::Blocks itself.

ZXCBOMB!

thanks for the reply. i don`t mean to offend but it doesn't really help much. could you at least point me in the right direction. i mean it should be pretty simple but if codeblocks has nothing to do with it then what do i need to do to Linux to make it open up my app?

Jenna

If it's a console app it needs either a real console/terminal or a terminal-emulator to have visible output under X.

ZXCBOMB!

so theres no way to get terminal to open it automatically when i double click it. if thats true then oh well i guess thanks for the help anyways.

i have one extra question to ask. how do i get the compiler/ide to make a release build. thanks everyone for the help.

oBFusCATed

Choose the Release build target if you're using a project template coming with C::B
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]