Find the answer to your Linux question:
Results 1 to 4 of 4
I know this is a Linux forums but im having trouble porting my code from Linux to Windows. My question is about Dev-C++ How do I include the SDL libraries ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    something about DEV-c++


    I know this is a Linux forums but im having trouble porting my code from Linux to Windows.

    My question is about Dev-C++

    How do I include the SDL libraries in the compiler for DEV-C++

    Ive got the code included but I get this error when i try to compile


    [Linker error] undefined reference to `WinMain@16'
    The computer made me do it!! Slackware and SUSE too Gig\'em WHOOOOP!!
    \"God put me on this earth to accomplish a certain amount of tasks, At the rate I\'m going I will never die.\" (I don\'t know)

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    I dont think all libraries that exists on linux exists on microsoft platforms make sure that all the libraries that you have included in your program exists on both sides.

    It was quite a while since i programmed in c++ maybe someone else can give you an better answer.
    Regards

    Andutt

  3. #3
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    Don't you need to download SDL files? I'm pretty certain that they don't come with Dev-C++.
    The best things in life are free.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314
    yeah there is a SDL package that I found and installed now ti works great
    The computer made me do it!! Slackware and SUSE too Gig\'em WHOOOOP!!
    \"God put me on this earth to accomplish a certain amount of tasks, At the rate I\'m going I will never die.\" (I don\'t know)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •