Dear all: I want to cross compile assimp library on Windows platforms by QT,and used to import 3D model; but Cmake failed,can you give me some help about cross-compilation library Thanks.
The cmake toolchain at https://bugs.freedesktop.org/attachment.cgi?id=116103&action=edit is enough to get cmake to do the right thing. cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<qnx-toolchain-file-path> <assimp-src-path> But with 3.3.1 source the make chokes and dies when it gets to BaseImporter.cpp. Code changes might be needed to get it to build for QNX 6.6.0 and you have to do something about the Boost dependency.
> The cmake toolchain at https://bugs.freedesktop.org/attachment.cgi?id=116103& > action=edit is enough to get cmake to do the right thing. > > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<qnx-toolchain-file-path> <assimp-src-path> > > But with 3.3.1 source the make chokes and dies when it gets to BaseImporter. > cpp. Code changes might be needed to get it to build for QNX 6.6.0 and you > have to do something about the Boost dependency. Hi: sorry, i want to know how to use Toolchain_QNX_660.cmake file Involved in your link? thanks.
> The cmake toolchain at https://bugs.freedesktop.org/attachment.cgi?id=116103& > action=edit is enough to get cmake to do the right thing. > > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<qnx-toolchain-file-path> <assimp-src-path> > > But with 3.3.1 source the make chokes and dies when it gets to BaseImporter. > cpp. Code changes might be needed to get it to build for QNX 6.6.0 and you > have to do something about the Boost dependency. I use cmake-gui Specify the toolchain-file, but get an error about "project files may be invalid",Similar to the attachment pictures
> The cmake toolchain at https://bugs.freedesktop.org/attachment.cgi?id=116103& > action=edit is enough to get cmake to do the right thing. > > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<qnx-toolchain-file-path> <assimp-src-path> > > But with 3.3.1 source the make chokes and dies when it gets to BaseImporter. > cpp. Code changes might be needed to get it to build for QNX 6.6.0 and you > have to do something about the Boost dependency. Hi: As you say,build 3.3.1 get error about BaseImporter.cpp,but I build 3.1.1 or 3.2 get error about ImporterRegistry.cpp, I think this is caused by the same reason, I am looking for a solution. Thanks