Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: MacOS X + JEDI SDL + Fink

  1. #1

    MacOS X + JEDI SDL + Fink

    I am using Lazarus under OS X (X11) to compile a game developed under (win32/linux).

    So far I have managed to get it all to compile (after clipping some bits out)! I am having major problems with the linker though... it seems to throw an error about not finding symbols like _SDL_Init etc. pretty much all of the ones defined in SDL.pas.

    I have tried downloading the SDL libraries from http://www.libsdl.org/download-1.2.php but they seem to be in framework form!!?? So I tried to use fink instead and to get libSdl.dylib... but still it does not seem to solve the problem, even when I add the path /sw/lib to the compiler settings...

    Would anyone care to shed any light on this situation? I am going about this completely the wrong way?

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    MacOS X + JEDI SDL + Fink

    Welcome to PGD!

    Hmm... well I don't have any instant 'ah ha's here, but there are some small bits of information missing that I think would clue in others wanting to help you out.

    Whats the SDL library you are using? (Are they JEDI-SDL?) [size=9px](EDIT: nm, I didn't notice the Subject too well. )[/size]

    What version of Laz?

    What calls are you making?, etc
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3

    MacOS X + JEDI SDL + Fink

    Ok...
    First things first, thanks for the prompt response...

    Now,

    Here is some more information... Hmmm...

    I am porting a game called Guns for a friend (also a member of PGD - jasonf)... using lazarus version 0.9.18 beta...

    On the SDL side of things - I am using:
    SDL (through JEDI-SDLv1.0b)
    SDL-Image (through JEDI-SDLv1.0b)
    SDL-mixer (through JEDI-SDLv1.0b)
    - also - SFont (through JEDI-SDLv1.0b)

    He is makeing all sorts of calls in there... loading graphics, music etc...

    I hope you have seen the game because I am pretty sure this post does not qualify as more information... the truth is that my knowledge of the code base is quite ***t ops:.

  4. #4

    MacOS X + JEDI SDL + Fink

    Good luck on the port billly1380

    I know Jason and I have seen the code you are converting (I think I even worked on some of it ). For the most part it should work under lazarus, just make sure you are using the {$MODE DELPHI} or the Delphi compatable option in your project as the code was written using kylix and delphi 5.

    There was some postson the JEDI-SDL group about compiling under mac OSX and you have to link the dynlib into the main applications, I'll try and find the post about it and put it up here.



    Dean
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  5. #5

    MacOS X + JEDI SDL + Fink

    Hey technomage - thanks for the support...

    About the Delphi thing... I think that one of the compiler options in the version of Lazarus I am using passes that option to the compiler... It would not talk to me without that option switched on :cry:.

    I could really use that article actually... if you can get your hands on it, I woud be very grateful, as I had a look and have come up with nothing.

    Thanks again...

  6. #6

    MacOS X + JEDI SDL + Fink

    I intend to ask for an abandoned iMac in my office. Does anyone know if iMacs will run MacOS X and or FPC?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  7. #7

    MacOS X + JEDI SDL + Fink

    I an not sure which iMacs you are talking about but the ones with the extendible screen mount thing were launched when MAC OS X was Jaguar so 10.2. They are mostly G3s but there are some out there that are G4... So yes they run OS X...

    So much has changed since the days of Jaguar though and if you get that bad boy, I would seriously recomend a software upgrade (subject to the specs ).

  8. #8

    MacOS X + JEDI SDL + Fink

    Can anyone with access to a mac post up a realy simple JEDI-SDL project compiled with Lazarus. Something that you know compiles and runs under Mac OS X e.g. a roatating cube or something.

    Might be useful to look a the settings on that... see if it links on my machine...

  9. #9

    MacOS X + JEDI SDL + Fink

    I found the link for getting sdl and fpc working under macos

    http://www.freepascal.org/wiki/index.php/FPC_and_SDL
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  10. #10

    MacOS X + JEDI SDL + Fink

    Thanks... for the help...

    I read that article and managed to get it to link...

    Turns out that sticking the library path into the compiler settings is not enough, you need to tell the linker what you want it to link to e.g. -k-lSDL...

    Next: getting it to run! :lol:

Page 1 of 5 123 ... LastLast

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
  •