Author Topic: [SOLVED] How to create an executable in Linux Mint?  (Read 190 times)

Offline Landslyde

  • Multiple posting newcomer
  • *
  • Posts: 38
[SOLVED] How to create an executable in Linux Mint?
« 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?
« Last Edit: March 14, 2018, 12:07:07 am by Landslyde »
Linux Mint 18.3
Code::Blocks svn
GCC 7.1.0

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10837
    • Travis build status
Re: How to create an executable in Linux Mint?
« Reply #1 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...
(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!]

Offline Landslyde

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: [SOLVED] How to create an executable in Linux Mint?
« Reply #2 on: March 14, 2018, 12:08:09 am »
Thank you.
Linux Mint 18.3
Code::Blocks svn
GCC 7.1.0