Allegro/C++ Help

Talk about your favorite PC games, Steam and building awesome custom rigs!

Moderator: Moderators

Post Reply
ghosstt
Senior Member
Posts: 1551
Joined: Mon Feb 26, 2007 4:14 pm

Allegro/C++ Help

Post by ghosstt »

Well, I downloaded the latest stable build of allegro to use with VS 2008 express. I extracted the rar to my C: drive, just so it's out in the open. I referenced both the include and the library, and when I created a blank project and added "alleg.lib" to the linker dependencies, I get a linker error saying it can't find alleg.lib. Any help?
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Re: Allegro/C++ Help

Post by Skyone »

Just put the header files in C:\Program Files\Microsoft Visual Studio 2008 (Express)\VC\include or whatever, and the library files in C:\Program Files\Microsoft Visual Studio 2008 (Express)\VC\lib or whathaveyou (don't remember the exact directories).
ghosstt
Senior Member
Posts: 1551
Joined: Mon Feb 26, 2007 4:14 pm

Re: Allegro/C++ Help

Post by ghosstt »

Hmm. theres actually no library files in the allegro folder. just a allegro.def file. Think that's the problem?
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Re: Allegro/C++ Help

Post by Skyone »

Yes. :lol: Make sure you download the appropriate files.

http://www.allegro.cc/files/4.2.2/alleg ... -4.2.2.zip" onclick="window.open(this.href);return false;
ghosstt
Senior Member
Posts: 1551
Joined: Mon Feb 26, 2007 4:14 pm

Re: Allegro/C++ Help

Post by ghosstt »

Ya. I used the sourceforge website, which I'm pretty sure has the wrong files. Hopefully these work.
Post Reply