Thread: SDL Setup

  1. #1
    Registered User
    Join Date
    Mar 2008

    SDL Setup

    Um, sorry for making a similiar topic to my "Allegro setup", but this is a little different.

    I followed the instructions at:
    and everything was going fine until this:
    The thing we need to set here is the field that says "Further object files or linker options:". Type in "-lmingw32 -lSDLmain -lSDL" (w/o the quotes) inside it. Now click OK.
    I'm using dev c++ 5 and there is no "Further object files or linker options" field.
    Does anyone know what to do? I would really like just to get this setup so I can start working...

  2. #2
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    On me hyperplane
    Go to "Project Options" from the dropdown menu, then the "Parameters" tab. Theres a text area to add stuff for the linker. Just paste it in.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Thanks. I'll try it out.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    If you're stuck, you should see this excellent page:

    (There are lots of SDL tutorials there, not just about setting up Dev-C++. Good reading.)

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell

    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL + Newbie
    By Livijn in forum Game Programming
    Replies: 7
    Last Post: 04-30-2007, 11:20 PM
  2. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 12:22 PM
  3. SDL and MinGW Studio
    By Vicious in forum Tech Board
    Replies: 0
    Last Post: 07-30-2004, 09:59 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 07:46 AM