c++ - CMake OSX issues with Assimp -


i building cross-platform framework , need because have troubles "deploying" assimp library on osx. let's take start.

what's goal?
end user runs cmake files , creates project platform (e.g. visual studio solution) runs on system , works on it.

requirements
libraries used being provided me (e.g. sdl.lib, assimp.lib e.t.c) , cmake uses them link against executable.
1 of libraries used assimp library. in windows , linux provide them assimp.lib , dll files , .a , .so files , works fine.

what's problem then?
problem osx cannot same.
have built assimp on macbook cmake , has created following files ->
libassimpd.3.1.1.dylib , libassimpd.3.dylib, libassimpd.dylib .
fine , works on computer . problem when try "ship" files on computer . user creates xcode.project cmake opens .proj file , builds target. when runs though gets runtime error has path computer (where assimp built source)
/users/.../assimp3.1.1-build -> reference libassimp.3.dylib image not found.
don't know why happens .

has else faced ? solved somehow? don't want user building assimp on computer before using framework because enduser supposed novice in computer graphics , involved use of cmake , don't want make more complicated .

thanks in advance.

i've managed work building assimp static library.


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -