|
Installing Allegro with Microsoft Visual C++ 6.0 and DJGPP |
ThisisNate
Member #7,578
August 2006
|
Hi ! I'm quite new to Allegro. I have a difficulty installing Allegro in my system. However, these are what I did I downloaded DJGPP for GNU environment as what it said in readme file.
2. Unzip all the zip files from that directory, preserving the pkunzip -d djdev203 3. After unzipping all the zip files, set the DJGPP environment The exact way how these variables should be set depends on your * For Windows 2000 or Windows XP systems: - Right-click "My Computer", then select "Properties"; ***** This is where I have a difficulty with. - How can I edit the Path System Variable? What I did was click "new" on SYstem Variable Is it a correct way to do? Then I go to where Allegro is unzipped. I already unzipped Allegro into c:\allegro Thanks |
Matthew Leverton
Supreme Loser
January 1999
|
You need DJGPP or MinGW to help build Allegro. If you don't want to build it yourself, get the pre-built package from the files page. To set your path temporarily, do this: set PATH=C:\DJGPP\BIN;%PATH% cd\allegro fix msvc6 --msvcpaths make all make installall You might have to run your vcvars32.bat file first. |
ThisisNate
Member #7,578
August 2006
|
Thank you for reply. It really helps a lot for prebuilt version of allegro. #include <allegro.h> int main(){ This is what I've got after I run the code above Cpp1.exe - 7 error(s), 0 warning(s) What is going on...??? THanks you |
Matthew Leverton
Supreme Loser
January 1999
|
You need to link against alleg.lib and use a Win32 Application, not console. |
Kitty Cat
Member #2,815
October 2002
|
It looks like you're not linking against Allegro. You need to add alleg.lib to the list of libraries to link with. EDIT: too slow -- |
ThisisNate
Member #7,578
August 2006
|
Thank you for reply again. Now, it works well Thank you very much for all replies |
|