Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Landslyde on March 13, 2018, 11:57:46 pm

Title: [SOLVED] How to create an executable in Linux Mint?
Post by: Landslyde on March 13, 2018, 11:57:46 pm
While it's true my program isn't earth shattering, from what I'v e read, it should be a working executable at this point.

I switched from Debug to Release, clicked Build and I got an executable in /bin/Release. I can double click it there and it runs fine. But when I copied it to my Desktop, it stopped working. I can right click it and see that it's still ticked to be an executable file, but it isn't.

What can do I need to do to make an executable that will run on other Linux boxes?
Title: Re: How to create an executable in Linux Mint?
Post by: oBFusCATed on March 14, 2018, 12:00:09 am
Start it in a terminal.
On linux there is no distinction between console and gui applications, so there is no automatic creation of the terminal as on windows...
Title: Re: [SOLVED] How to create an executable in Linux Mint?
Post by: Landslyde on March 14, 2018, 12:08:09 am
Thank you.