Build/MSVC 8
From Allegro Wiki
< Build
Contents |
Command Line
Requirements
- Allegro 4
- MSVC 8
- MinGW
- Platform SDK
- DirectX SDK
Instructions
- Click Start / Run and enter cmd.exe
- Change to the path of Allegro by typing:
- c:\
- cd\allegro
- "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
- SET PATH=%PATH%;C:\MINGW\BIN
- fix.bat msvc8
- make all STATICLINK=1
- make installall STATICLINK=1
- make all
- make installall
Notes
If your locations for Allegro, MinGW, or MSVC are different, adjust the paths in the above instructions accordingly.
Project File
Requirements
- Allegro 4.2.2
- MSVC 8
- Platform SDK
- DirectX SDK
Instructions
Allegro
- Run c:\allegro\build\pre-build-msvc.bat
- Open c:\allegro\build\msvc8\Allegro.sln in MSVC 8
- Click Build / Batch Build.
- Check all the versions you want to build.
- Click Build.
- Copy the files
- Copy the contents of C:\allegro\include to C:\Program Files\Microsoft Visual Studio 8\VC\include
- Copy the .lib files from C:\allegro\lib\msvc to C:\Program Files\Microsoft Visual Studio 8\VC\lib
- Copy the .dll files from C:\allegro\lib\msvc to C:\Windows\System32
Demo
- Open c:\allegro\build\msvc8\demo.sln in MSVC 8
- Press F7 to Compile
- Press Ctrl-F5 to Run
Tools
- Open c:\allegro\build\msvc8\tools.sln in MSVC 8
- Click Build / Batch Build.
- Check all the tools you want to build.
- Click Build.
Note: some of the tools depend on libdat, so you should always build that.
Examples
- Open c:\allegro\build\msvc8\examples.sln in MSVC 8
- Click Build / Batch Build.
- Check all the examples you want to build.
- Click Build.
Tests
- Open c:\allegro\build\msvc8\tests.sln in MSVC 8
- Click Build / Batch Build.
- Check all the tests you want to build.
- Click Build.
