![]() |
|
Error in Allegro 4.9.8 compilation: DirectInput not found |
axilmar
Member #1,204
April 2001
|
I am trying to compile Allegro 4.9.8 on Visual Studio 2005. I followed the instructions here: http://awiki.tomasu.org/index.php?title=Building_Allegro_4.9/Installing_4.9_Windows I get this error: E:\dev\allegro-4.9.8>cmake -G "Visual Studio 8 2005" -DSTATIC=ON -DSHARED=OFF -- Configuring incomplete, errors occurred! I have done everything mentioned in the Wiki. Anyone got an idea what is the problem? |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Make sure your LIB and INCLUDE paths are set properly. |
Evert
Member #794
November 2000
![]() |
Are you sure you have the DirectX SDK installed and working correctly? |
axilmar
Member #1,204
April 2001
|
Quote: Make sure your LIB and INCLUDE paths are set properly. I am doing the installation process after I have run vcvars32.bat, so I suppose these vars are set properly. Quote: Are you sure you have the DirectX SDK installed and working correctly? Yes, the DirectX DSK is installed. How do I tell if it is working correctly? |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Quote: I am doing the installation process after I have run vcvars32.bat, so I suppose these vars are set properly. Is dinput8.lib in the LIB path? Are the headers in the INCLUDE path? |
axilmar
Member #1,204
April 2001
|
I did the procedure in another computer, and I have the same error. You are right, the lib and header files were not in the path. Now it is ok. |
weapon_S
Member #7,859
October 2006
![]() |
I've just blatantly copied the files into the path. How do you change the environment options of the compiler for use on the command-line? Couldn't find it on MSDN... |
axilmar
Member #1,204
April 2001
|
There is an INCLUDE and a LIB environment variable that I modified. EDIT: Apparently, the DirectX SDK include and lib directories must come before the Visual Studio include and lib directories, otherwise Allegro 4.9.8 will not compile. |
Milan Mimica
Member #3,877
September 2003
![]() |
Quote: How do you change the environment options of the compiler for use on the command-line? You don't change them - you set them. I have a BAT file that I run every time a want to use MSVC on a command line.
-- |
|