Menu

#1549 Fails to build on Linux

SVN past 0.9.10
closed-fixed
rogerman
None
0.9.12
5
2016-07-02
2016-04-06
No

Deleted source and re-downloaded. Still get the following errror:

commandline.cpp:29:27: fatal error: compat/getopt.h: No such file or directory
 #include "compat/getopt.h"

Looked at the SVN source tree and can not seem to see the required file. Is it supposed to be auto generated?

Building on Fedora 23

Discussion

  • Anonymous

    Anonymous - 2016-04-06

    Sorry, just looked at the latest commit history.

    Linux not building is a known issue.

     
  • zeromus

    zeromus - 2016-04-06

    Well, the file's definitely there. Check again. but someone needs to edit the include paths in the makefiles

     
  • Anonymous

    Anonymous - 2016-05-04

    Done but then there is a variable error. Then a yet to be fixed gtk error. The variable "ctx in gtk/main.cpp. So I just removed the function from there to simplify things since it was not used elsewhere. Then there is the undefined functions error because reasons. Anyways since I am noob and lazy I have to ask. When did you guys start including libretro everywhere? It is messing up many things in the gtk folder here is my current progress if you want some fun with GCC and gtk. http://s000.tinyupload.com/index.php?file_id=15848240893968560218 it is zipped just unzip it and paste as src directory offline.

    Had to change all your "nullptr" references in some files to the proper C++ "NULL". Also I brought back fs-linux.cpp and fs.h because you guys use visual studio too much :P.

    Also current error for the windows users
    http://www.pastebin.ca/3590141

    any tips besides fixing the visual studio nonsense/autocorrent/hackyness going on here?
    Also what is this projects current direction? From all this code I am reading I see no linux and a 3ds in the future?

    tl;dr the gtk backend needs some tlc or to be scrapped. Any thoughts?

     
    • zeromus

      zeromus - 2016-05-04

      nullptr is proper C++. The GTK backend doesn't need to be scrapped, it's just a little out of date. The return of fs-linux.cpp is unwelcome and won't be accepted. libretro-common can handle it. To proceed making fewer mistakes, assume everything done recently is useful, and you simply need to fix fix a few build scripts and reattach a few things.

      There is no 3ds in the future. GTK will work fine as soon as someone who knows what theyre doing tidies it.

       
    • Anonymous

      Anonymous - 2016-05-06

      You are not doing it properly.

       
  • anon anon

    anon anon - 2016-07-01

    Just wondering if Anonymous who was trying to fix it for Linux would like to share their fixes as a patch?

     
  • rogerman

    rogerman - 2016-07-02
    • status: open --> closed-fixed
    • assigned_to: rogerman
    • Not Milestone: none --> 0.9.12
    • THERES NO POINT TO THIS LABEL: future --> SVN past 0.9.10
     
  • rogerman

    rogerman - 2016-07-02

    Fixed in [r5483].

    This fix is purely to restore the ability to make Linux builds. I cannot guarantee their quality, nor their functionality. In fact, I've already found a few bugs with the builds I've made.

    When it comes to any issues with the Linux builds, please open up new tickets for each specific issue, thanks!

     

    Related

    Commit: [r5483]

Anonymous
Anonymous

Add attachments
Cancel