Announcement

Collapse
No announcement yet.

[RESOLVED] Error while compiling SDLMAME.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] Error while compiling SDLMAME.

    I am getting this error while trying to compile SDLMame or SDLMess .142:
    --------------
    /usr/bin/ld: cannot find -lSDL_ttf
    collect2: ld returned 1 exit status
    make: *** [obj/sdl/mess/build/m68kmake] Error 1
    --------------
    I have installed the SDL Dev package, but sudo apt-get install SDL_ttf-dev or sudo apt-get SDL_ttf-2.0-dev can't find the packages.

    Will I need to edit the symbolic link? /usr/bin/ld/libSDL_ttf-2.0.so.0 exists.

    #2
    Re: Error while compiling SDLMAME.

    http://sdlmame.wallyweek.org/download/

    but to compile, you not only need the dev package, you need the libsdl-ttf2.0-0 as well as libsdl-ttf2.0-0-dev, note the dash, not the underscore

    Comment


      #3
      Re: Error while compiling SDLMAME.

      Originally posted by claydoh
      http://sdlmame.wallyweek.org/download/

      but to compile, you not only need the dev package, you need the libsdl-ttf2.0-0 as well as libsdl-ttf2.0-0-dev, note the dash, not the underscore
      OK, it looks like I am missing some packages. I am a bit confused about the underscores and dashes, but it looks like I need to run a "sudo apt-get install libsdl-ttf2.0-0" and "sudo apt-get install libsdl-ttf2.0-0-dev"?

      Will try when I get home. Part of my confusion is that I am doing things from memory instead of being in front of my home pc.

      Thanks for the wallyweek mame builds - I already knew them and they are a big help. What I am really aiming for is SDLMess.

      Thanks again for your help.

      Comment


        #4
        Re: Error while compiling SDLMAME.

        Use the package manager to search, it might make it easier at first.

        Package names seem to tend towards dashes in them, the library files themselves (contained inside the package) seem to tend toward underscores. And probably you will find other missing bits as well, but the build process will tell you. It doesn't look like compiling it will be too hard, basically finding out what is missing, but there are a few quick how-to's out there on this subject which should still be vaild for 10.10



        Also there is a ppa for sdlmess that someone has made, https://launchpad.net/~darkmoon/+archive/ppa/+packages

        Comment


          #5
          Re: Error while compiling SDLMAME.

          The fix was installing libsdl-ttf2.0-dev from kde package manager instead of fumbling around trying to figure out what combination of caps, dashes, underscores using apt.

          Thanks for the tip.

          Comment

          Working...
          X