Results 1 to 6 of 6

Thread: Compiled program won't open.

  1. #1
    Join Date
    Apr 2013
    Location
    Michigan
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Compiled program won't open.

    This didn't fit quite under the specialized support category because It has to do with an executable not opening not a problem in writing or compiling the code.

    So I made a program with Netbeans and then also tested it in CODE:BLOCKS. I took the executable for the default folder that the executable goes to after compiling. But when I tried to run the executable nothing happened.
    Thanks,
    Bresser

  2. #2
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    3,262
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Compiled program won't open.

    Does that program run in a terminal or does it open a window of its own? How do you try to start it?

  3. #3
    Join Date
    Apr 2013
    Location
    Michigan
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Compiled program won't open.

    I doubleclick it. and i think it runs in terminal.
    Thanks,
    Bresser

  4. #4
    Join Date
    Jul 2005
    Location
    USA (Springfield,Vermont)
    Beans
    755
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Compiled program won't open.

    It means "dependency hell" or a permission problem.
    Acer Aspire M5630: 1 GB Kingston PC6400 DDR2 SDRAM dual channel (2x512 MB), Core 2 Duo E2180 (2.0 Ghz), Intel i915

  5. #5
    Join Date
    Apr 2013
    Location
    Michigan
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Compiled program won't open.

    ok how do I fix it then?
    Thanks,
    Bresser

  6. #6
    Join Date
    Apr 2012
    Beans
    6,874

    Re: Compiled program won't open.

    You could open a terminal, navigate to the directory where you put the executable, and try to invoke it directly by name from there - that will allow you to capture any error messages about missing libs or whatever

    Code:
    $ cd /path/to/yourexecutable
    $ ./yourexecutable

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •