im getting a wierd linker error

This is a discussion on im getting a wierd linker error within the C++ Programming forums, part of the General Programming Boards category; I'm trying to use SDL with Mingw(Dev-C++) and I get this error: C:\DEV-C_~1\LIB\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    305

    im getting a wierd linker error

    I'm trying to use SDL with Mingw(Dev-C++) and I get this error:

    C:\DEV-C_~1\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    305

    I GOT IT TO WORK!!!!

    Ok, never mind peeps!!! I got it to work!!! Now I need a good SDL tutorial :P.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 10:15 PM
  2. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 02:17 PM
  3. Crazy errors caused by class, never seen before..
    By Shamino in forum C++ Programming
    Replies: 2
    Last Post: 06-10-2007, 12:54 PM
  4. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 01:10 AM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM

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