Results 1 to 5 of 5

Thread: SDL.dll.... Entry point not found

  1. #1

    SDL.dll.... Entry point not found

    Hi everyone

    I installed JEDI-SDL and i tried to run the Oxygene example game. But it didn't ran.
    I get this message:

    ---------------------------
    Oxygene.exe - Entry Point Not Found
    ---------------------------
    The procedure entry point SDL_Error could not be located in the dynamic link library SDL.dll.
    ---------------------------
    OK
    ---------------------------

    looks like i have the wrong DLL or something. I copied all DLL's that came with JEDI-SDL to the System32 directory. (which isn't neccesary, i realize now).
    The other sprite-engine samples run without any errors.

    Can someone help me with this?

    I'm using Delphi 7 and Vista Ultimate.

    Thank you!
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

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

    SDL.dll.... Entry point not found

    Try copying sdl.dll into the exe's folder.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3

    SDL.dll.... Entry point not found

    I just tried that but it doesn't work

    I checked the list of exported functions (with dependancy-walker), and the SDL_Error function is not present. But it IS defined in SDL.pas. I'm probably using the wrong version of SDL.dll.

    So, when i installed JEDI-SDL, i quickly scanned the folders for DLL's. I thought these DLL's would suffice and i copied them to System32.
    But the DLL's were needed for a little ODE demo and are not compatible with the actual headers provided with JEDI-SDL. ATM i have version 1.2.7.0 in my system32.

    So i scanned my downloaded binaries folders for any games that used SDL. I found out they used version 1.2.11.0 (which contained SDL_Error).

    So i guess it went wrong because of my clumsy approach ops:

    But before i start saying YAY, i need to know where i can find a package of the DLL's (SDL.dll, SDL_Image.dll, SDL_Mixer.dll etc etc).

    Can someone give me an URL?

    Thanx
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  4. #4

    SDL.dll.... Entry point not found

    I should remove the DLLs in the archive on SourceForge as they are quite old. Always grab the latest DLLs from www.libsdl.org for best results .
    <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 =-

  5. #5

    SDL.dll.... Entry point not found

    Ah thanx... the Oxygene sample runs fine

    I had to remove one line though:

    [pascal]
    bpp := SDL_VideoModeOk( 640, 480, 15, 0 );
    [/pascal]

    When i ran the sample, SDL accepted the 15bit display mode, but further initialization failed afterwards.

    I guess Vista (or my new Graphics Hardware can't handle 15 bit FrameBuffers). I just checked the Capability Viewer that came with DX SDK and 15bit FrameBuffers (I guess that's D3DFMT_X1R5G5B5) can only be used in windowed mode.

    I don't have a clue why SDL accepted this to happen :?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

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
  •