SDL Setup

This is a discussion on SDL Setup within the Game Programming forums, part of the General Programming Boards category; Um, sorry for making a similiar topic to my "Allegro setup", but this is a little different. I followed the ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    24

    SDL Setup

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

    I followed the instructions at:
    http://cone3d.gamedev.net/cgi-bin/in...ls/gfxsdl/tut1
    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
    Location
    On me hyperplane
    Posts
    1,218
    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
    Posts
    24
    Thanks. I'll try it out.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,045
    If you're stuck, you should see this excellent page: http://lazyfoo.net/SDL_tutorials/les...vcpp/index.php

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

    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: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21