jacmoe / conan-assimp Goto Github PK
View Code? Open in Web Editor NEWConan.io package for Assimp
License: BSD 3-Clause "New" or "Revised" License
Conan.io package for Assimp
License: BSD 3-Clause "New" or "Revised" License
Windows' PDB debug information files are not packaged in the Debug build, which generates the obnoxious warning LNK4099. The bincrafters people fixed a similar problem for their SDL conan files here: bincrafters/conan-sdl2@131b1da
Travis CI does not do Windows, and I don't have a Windows machine.
PRs are welcome!
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.
When using Assimp as a dependency with the shared
option set to false, trying to link to the library results in the linker complaining about missing symbols:
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(D3MFOpcPackage.cpp.o): in function `D3MFZipArchive':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:254: undefined reference to `unzOpen2'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(D3MFOpcPackage.cpp.o): in function `Assimp::D3MF::D3MFZipArchive::mapArchive()':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:352: undefined reference to `unzGoToFirstFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:358: undefined reference to `unzGetCurrentFileInfo'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:362: undefined reference to `unzOpenCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:365: undefined reference to `unzReadCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:366: undefined reference to `unzCloseCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:372: undefined reference to `unzGoToNextFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(D3MFOpcPackage.cpp.o): in function `~D3MFZipArchive':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/D3MFOpcPackage.cpp:270: undefined reference to `unzClose'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(IFCLoader.cpp.o): in function `Assimp::IFCImporter::InternReadFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, aiScene*, Assimp::IOSystem*)':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:182: undefined reference to `unzOpen'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:199: undefined reference to `unzGoToFirstFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:204: undefined reference to `unzGetCurrentFileInfo'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:210: undefined reference to `unzOpenCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:211: undefined reference to `unzReadCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:218: undefined reference to `unzCloseCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/IFCLoader.cpp:232: undefined reference to `unzClose'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(Q3BSPZipArchive.cpp.o): in function `Q3BSPZipArchive':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:183: undefined reference to `unzOpen2'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(Q3BSPZipArchive.cpp.o): in function `Assimp::Q3BSP::Q3BSPZipArchive::mapArchive()':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:282: undefined reference to `unzGoToFirstFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:288: undefined reference to `unzGetCurrentFileInfo'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:292: undefined reference to `unzOpenCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:295: undefined reference to `unzReadCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:296: undefined reference to `unzCloseCurrentFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:302: undefined reference to `unzGoToNextFile'
/usr/bin/ld: /home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/package/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/lib/libassimp.a(Q3BSPZipArchive.cpp.o): in function `~Q3BSPZipArchive':
/home/kozet/.conan/data/Assimp/4.1.0/jacmoe/stable/build/8563773f3ecfb4c8ffd0ba86a1c2f478424ec3b5/sources/code/Q3BSPZipArchive.cpp:200: undefined reference to `unzClose'
These missing symbols appear to be from the minizip
library.
I'm using the following profile:
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=8
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]
CC=/usr/bin/clang
CXX=/usr/bin/clang++
Once the dust has settled after the Conan move to Bintray, it would be prudent to require a Conan package for ZLib instead of a system install.
This is probably just a matter of adding one or more osx tasks to the Travis build matrix.
PRs also accepted!
Travis cannot find either PkgConfig executable nor zconf.h - which is weird.
Is this a Ubuntu bug?
I spent several hours on this, and I don't know how to fix it :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.