error when building allegro


i try to build allegro with msvc 2015 under Window 10.
I get an error with Cmake :

Adding C:/allegro5011/deps to CMAKE_FIND_ROOT_PATH Guessed MSVC directory: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at CMakeLists.txt:620 (message): Windows port requires DirectInput (not found).

Configuring incomplete, errors occurred! See also "C:/allegro5011/build/CMakeFiles/CMakeOutput.log". See also "C:/allegro5011/build/CMakeFiles/CMakeError.log".

i look for DirectInput and in fact : "Starting with Windows 8, the DirectX SDK is included as part of the Windows SDK".

i don't know very well how to use Cmake, but could you tell me what to do for to resolve this problem ?


Thread #615739. Printed from