Thread: dev & allegro compile errors

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    8

    dev & allegro compile errors

    i just got allegro installed with Dev C++, followed every step from
    http://www.allegro.cc/go.php?_url=ht...urceforge.net&, including the final step which is to check if it is working correctly, and it did.
    But now im trying to compile the examples and i get a mass of compiler messages(near 20) like this:

    undefined reference to `install_allegro.
    i know this means that i prolly did something wrong in the install but could it be that allegro is double fouldered?
    (its in C:\Dev-Cpp\allegro\allegro)
    btw i have already searched the forums for posts like this and didnt find any

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    In your linker options did you put -lalleg?
    Woop?

  3. #3
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Oh and next time why not use precomiled packages which make life easier check out this link i just recently found http://devpaks.org/ it has all the devpaks which means less work for you
    Woop?

  4. #4
    Registered User
    Join Date
    Aug 2004
    Posts
    8
    im just trying to test it out, and go on about those linker options.....please

  5. #5
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Ok heres different ways to go about it
    Project:
    ProjectOptions->Parameters then type in linker -lalleg

    Tools:
    Tools->CompilerOptions->Check CheckBox By Add these Commands To Linker Command Line then type -lalleg
    Woop?

  6. #6
    Registered User
    Join Date
    Aug 2004
    Posts
    8
    neither of those are there, using version 4.....

    --EDIT--
    i can get it to work under project mode so i suppose it doesnt matter i just want to see if i can create a single script without having a project,
    Last edited by Calgore; 08-11-2004 at 04:26 PM.

  7. #7
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Ah why didn't you say so do this this
    ProjectOption->Further ObjectFiles or Linker Options type -lalleg
    Woop?

  8. #8
    Registered User
    Join Date
    Aug 2004
    Posts
    8
    yep that works

  9. #9
    Registered User
    Join Date
    Aug 2004
    Posts
    8
    copy and paste from one window(single) to the other(project)works awsome, and the way you described works better, thanks.

  10. #10
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    No prob man its kinda wierd cause i was working on an (sucky) allegro game when i read your post
    Woop?

  11. #11
    Registered User
    Join Date
    Aug 2004
    Posts
    8
    yea my games are usually, shoot the sqaure with a rectangle from your circle

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX9 compile errors
    By maxthecat in forum Windows Programming
    Replies: 5
    Last Post: 01-01-2006, 10:33 PM
  2. logical errors when i compile.
    By findme in forum C++ Programming
    Replies: 4
    Last Post: 11-17-2005, 04:55 PM
  3. Compile time errors!
    By MelaOS in forum C++ Programming
    Replies: 3
    Last Post: 01-04-2004, 12:47 AM
  4. Help to compile with Dev C++ 5
    By Michty in forum Windows Programming
    Replies: 3
    Last Post: 12-14-2003, 09:22 PM
  5. compile time errors!!!!
    By devour89 in forum C++ Programming
    Replies: 6
    Last Post: 11-18-2002, 05:02 PM