jacmoe / conan-assimp

Conan.io package for Assimp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure to build when used on Windows with Clang

mtesseracttech opened this issue · comments

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.