1 pièce(s) jointe(s)
ASSIMP sur CodeBlock (CMake)
Bonjour,
J'aimerais utiliser la bibliothèque Assimp avec CodeBlock.
Le problème c'est qu'il faut utiliser CMake pour générer les libs au format .a pour MinGw.
J'ai donc téléchargé CMake, boost et le SDK de DirectX mais j'ai plein d'erreurs :
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Building a non-boost version of Assimp.
Looking for ZLIB...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate ZLIB
compiling zlib from souces
CMake Warning (dev) at contrib/zlib/CMakeLists.txt:4 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
This warning is for project developers. Use -Wno-dev to suppress it.
Looking for DirectX...
DirectX_PREFIX_PATH changed.
Could not locate DirectX
CMake Error at cmake-modules/FindPkgMacros.cmake:110 (message):
Required library DirectX not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
cmake-modules/FindDirectX.cmake:67 (findpkg_finish)
tools/assimp_view/CMakeLists.txt:3 (FIND_PACKAGE)
Configuring incomplete, errors occurred!
See also "C:/Users/Arthur/Documents/assimp-3.1.1/lib/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Arthur/Documents/assimp-3.1.1/lib/CMakeFiles/CMakeError.log".
J'ai pourtant bien installé le SDK de DirectX et ai renseigné tout les champs :
Pièce jointe 203021
Le champs DirectX_INCLUDE_DIR n'est pas renseigné parce qu'il se met à DirectX INCLUDE_DIR-NOTFOUND dés que je clique sur Configure.
Merci de votre réponse !