Results 1 to 10 of 37

Thread: Linking Issues on MacOS X 10.6.5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    sdl.pas says it does this:
    Code:
      SDLLibName = 'libSDL-1.2.0.dylib';
      {$linklib libSDL-1.2.0}
      {$linklib SDLmain}
      {$linkframework Cocoa}
      {$PASCALMAINNAME SDL_main}
    I don't know enough about the framework/library business to say what that means. Atleast it'll try to link to libSDL-1.2.0. Try to see if you can find some libSDL-x file somewhere and see if it uses some other version number. 1.2.0 should be the major revision number they use, but I could be wrong
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  2. #2
    This was an interesting remark. The folder SDL.framework contains one 1,4 MB sized binary file, simply called SDL. Nowhere on my system is a file or a symlink called libSDL-1.2.0.dylib .

    Creating a symlink with that name improves nothing.

  3. #3
    Is there a libSDL-*.dylib?
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  4. #4
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    dylib?? Is that like a SO file? If it is, I doubt it would be in the framework folder - they arent on linux anyway... Arent all those so / dylibs in really obscure places usually?

    EDIT:
    Ps. I see that macs still use 1.44mb floppies:
    one 1,4 MB sized binary file
    Need a cd drive? I have one. - a take on some person bringing a mac for ballmer to sign

    Sorry - couldn't help it. I'm not a mac fan - but neither am I windows. Unfortunately I don't have a choice in the latter most of the time.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  5. #5

    Angry

    Yes I think dylib files would be so files on Linux.

    No, I don't have any SDL related dylibs on my system.

    According to the availabe documentation, copying the SDL Framework folders into /Library/Frameworks should be enough to install SDL. But obviously it isn't. Argh!!!

  6. #6
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Ah yesw, I have a bad habit of that... sorry.

    If its the runtime - try putting those dynalib thingys in the same folder as the executeable or somehwere the system can find them. I would guess that the problem here is you need some type compiling libs? Perhaps try http://sourceforge.net/projects/jedi-sdl/ since in my windows expereince these worked a treat. My mac user-time extands to a comprehensive 7 hours so I'm far from expert (that one button mouse gets to me. I rightclick once every 10 seconds by habit to do everything, and on mac I click everything I shouldn't. Thank god it doesnt crash at the first glimpse of trouble s) )

    Anyway, dont forget that you may need the LibSdl AND the libsdl-DEV for thins t work, as I found out. Beyond that is unkown for me so this will most likely be my last post on this topic.

    Mac users: I am very sorry to have offended you in any way. I totally admit that MacWorld and Steve Jobs makes for a much saner atmosphere at product launches than M$. Also - please understand: not everyone is blessed with error-free computing like you and that not all devices are made by apple. so they break. and when things break we get dpressed. so we make jokes

    Edit: and oh, this is my 250th post? whaaaat? that many alreadyy?

  7. #7
    No, the angry smiley was not directed at you! It was directed at MacOS ...

    Since several versions, the JEDI SDL libs are not needed anymore, they are included in FPC, and it is SAID that these units care themselves about the correct libraries.

    It all works different on MacOS than on Linux or Windows, regardless of MacOS having a Unix core ...
    Last edited by Mario Donick; 08-01-2011 at 10:25 AM.

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
  •