jacmoe / conan-assimp

Conan.io package for Assimp
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

Failure to build when used on Windows with Clang #10

Open mtesseracttech opened 5 years ago

mtesseracttech commented 5 years ago

Attempting the "4C" setup, Clion, Cmake, Clang, Conan. Mainly because this allows me to use the same compiler across the 3 OS'es. For my project I have a few dependencies such as glfw, but also assimp. The project builds just fine on Linux and OSX.

I use the following profile on windows, in a profile I call clang:

os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=8
compiler.libcxx=libstdc++
build_type=Release
[options]
[build_requires]
[env]
CC=C:\msys64\mingw64\bin\clang.exe
CXX=C:\msys64\mingw64\bin\clang++.exe

This is the output of conan info: https://pastebin.com/caXLDDRx

When I attempt to build the dependencies using conan install .. --profile clang --build=missing It seems to build the other dependencies just fine, including IrrXML and zlib. But near the end while building Assimp, it suddenly fails for no apparent reason (keep in mind that zlib is already built at this point): https://pastebin.com/c77GxabQ

I am kind of at a loss about what to do here, since even assuming ZLIB_LIB_zlib is not being set, I have no idea what it should be, seeing that I cannot find any documentation referencing it.

Hope this can be fixed.