Results 1 to 9 of 9

Thread: Installing Lazarus & JEDI-SDL WILL's Way

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi, i have installed SDL as you said, and the first time i ran it, it worked just fine, but now i get this errormessage when it has compiled:
    "This application has failed to start because SDL.dll was not found. Re-installing the application may fix this problem."
    Can anyone please help me with this? Thnx!
    I use lazarus V. 0.9.30
    Last edited by T-Bear; 24-06-2011 at 10:46 AM.

  2. #2
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537
    Copy the SDL dll files to the same directory as your .exe
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  3. #3
    I can't find the file "SDL.dll", and it worked after i installed it, but then i made a new project, and now i get that error. Why does it need that dll now, when it didn't need it before.

  4. #4
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537
    You cannot run a SDL application without having the SDL.dll library either in the exe directory or in your windows\system directory. The previous project might already have the relevant DLL in the same directory as the project that you were running (or did not use SDL).

    You should be able to find SDL.dll wihtout much problem on the internet (and as far as I can remember the dlls are included in the JEDI-SDL downloads)
    Last edited by cairnswm; 24-06-2011 at 01:46 PM.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  5. #5
    You always need the SDL libraries either in the same path of the application or in the system path. I bundled the latest SDL and SDL friend libraries here: https://github.com/freezedev/elysion...nLibraries.zip

    Edit: I was a bit too slow. cairnswm beat me to it.
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

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
  •