You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Visual Studio build error with assimp 5.3.1 via vcpkg in manifest mode #5340
BugGlobal flag to mark a deviation from expected behaviourBuildGlobal flag to mark build relates topicsRegressionBugs related to any kind of regression tests
While trying to update from version 5.2.5 to version 5.3.1 using the manifest mode from vcpkg Visual Studio (17.8.1) the build results in the following error
4>CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:141 (message):
4>
4> C:/ProgramData/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe
4>EXEC : --exists assimp failed with error code: 1
4>
4> ENV{PKG_CONFIG_PATH}: "C:/ProgramData/vcpkg/packages/assimp_x64-windows-static-md/lib/pkgconfig;C:/ProgramData/vcpkg/packages/assimp_x64-windows-static-md/share/pkgconfig;<...>/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/lib/pkgconfig;<...>/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/share/pkgconfig"
4> output: Package minizip was not found in the pkg-config search path.
4>
4> Perhaps you should add the directory containing `minizip.pc'
4>
4> to the PKG_CONFIG_PATH environment variable
4>
4> Package 'minizip', required by 'assimp', not found
4>Call Stack (most recent call first):
4> scripts/cmake/vcpkg_fixup_pkgconfig.cmake:206 (z_vcpkg_fixup_pkgconfig_check_files)
4> buildtrees/versioning_/versions/assimp/f9934603cb6f42343b122951f22b5af3c1967cde/portfile.cmake:84 (vcpkg_fixup_pkgconfig)
4> scripts/ports.cmake:170 (include)
I think this is an issue with the CMakeLists.txt
this option was set to OFF in previous versions, now it is set to ON for WIN32. While using vcpkg i cannot change this option
IF (WIN32)
OPTION( ASSIMP_BUILD_ZLIB
"Build your own zlib"
ON
)
ELSE()
OPTION( ASSIMP_BUILD_ZLIB
"Build your own zlib"
ON
)
ENDIF()
@tellypresence I think it was resolved by the vcpkg team, since I only get the library via vcpgk manifest mode. Currently, it's version 5.4.3, since there's unfortunately no new assimp release yet.
BugGlobal flag to mark a deviation from expected behaviourBuildGlobal flag to mark build relates topicsRegressionBugs related to any kind of regression tests
Activity
kimkulling commentedon Nov 30, 2023
This is an issue of the vcpkg package. I am not the Maintainer for it. Sorry!
kcrif commentedon Dec 1, 2023
I think this is an issue with the CMakeLists.txt
this option was set to OFF in previous versions, now it is set to ON for WIN32. While using vcpkg i cannot change this option
IF (WIN32)
OPTION( ASSIMP_BUILD_ZLIB
"Build your own zlib"
ON
)
ELSE()
OPTION( ASSIMP_BUILD_ZLIB
"Build your own zlib"
ON
)
ENDIF()
kcrif commentedon Dec 1, 2023
According to Build.md
this should be turned OFF
Build: Disable building zlib for non-windows
kimkulling commentedon Dec 29, 2023
I do agree, I have prepared a PR for this.
Build: Disable building zlib for non-windows
kimkulling commentedon Dec 29, 2023
Shall be fixed.
kcrif commentedon Jan 8, 2024
Should be turned off for windows, because i am using Visual Studio for Windows
tellypresence commentedon Apr 15, 2025
@kcrif Did you try overriding that Cmake option in your project
CMakeLists.txtfile?kcrif commentedon Apr 15, 2025
@tellypresence I think it was resolved by the vcpkg team, since I only get the library via vcpgk manifest mode. Currently, it's version 5.4.3, since there's unfortunately no new assimp release yet.
Build: Disable building zlib for non-windows