CMake generation issues with zlib
envgap__assimp__assimp-905
Original GitHub issue ↗Opened 2016-06-04
01 / FAILURE SIGNATURE
As reported upstream
I tried to generate VC2015 projects for assimp and generation failed with this error:
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
assimp/assimp #905 · read the original issue
I tried to generate VC2015 projects for assimp and generation failed with this error: CMake Error at contrib/zlib/CMakeLists.txt:194 (add_library): Cannot find source file: ``` contrib/masmx64/gvmat64.asm ``` Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: CMake can not determine linker language for target: zlibstatic The asm code indeed isn't in the version of zlib packaged with assimp, but the main zlib repo has it at https://github.com/madler/zlib/tree/master/contrib/masmx64 Any idea why we're missing this? Am I configuring something incorrectly perhaps? The generated project files build fine but fail to link due to missing zlib static library.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.