Which command lines do you put in the linker to link to Allegro?

This is a discussion on Which command lines do you put in the linker to link to Allegro? within the C++ Programming forums, part of the General Programming Boards category; I tried linking to Allegro and it doesn't work. It just keeps saying "undefined reference to Win@16 Main" or some ...

  1. #1
    Banned
    Join Date
    Jan 2011
    Posts
    5

    Which command lines do you put in the linker to link to Allegro?

    I tried linking to Allegro and it doesn't work. It just keeps saying

    "undefined reference to Win@16 Main" or some thing like that.

    I included the directories, libs and such and included the header file and start up code and it still gives the same error code.

    Any friendly advice from some one who's gotten Allegro to work or such.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    2,421
    it depends on what compiler you're using... gcc or msvc

  3. #3
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    Known troll which is banned. Let's not bump this any more

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. destructor with a link list
    By Bones in forum C++ Programming
    Replies: 1
    Last Post: 09-24-2003, 12:01 PM
  2. Legal Question: May I put my name(e-mail link) on the interface of a product
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 06-17-2003, 11:34 PM
  3. God
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 746
    Last Post: 12-22-2002, 11:01 AM
  4. double buffering for allegro
    By Leeman_s in forum C++ Programming
    Replies: 6
    Last Post: 09-12-2002, 02:45 PM
  5. Where do I put allegro?
    By minesweeper in forum Game Programming
    Replies: 8
    Last Post: 04-07-2002, 11:03 AM

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