Tried the release version from github, failed to install with an error so I figured it was a minor bug and so I cleaned everything and switched to 5.4. It built fine but when I tried to do make install, I got the following warning and error
In file included from ../../3rdparty/assimp/code/DXFLoader.cpp:46:
In file included from ../../3rdparty/assimp/code/AssimpPCH.h:144:
../../3rdparty/assimp/code/StringComparison.h:157:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
register int i = (int)b.length()-(int)a.length();
^~~~~~~~~
../../3rdparty/assimp/code/DXFLoader.cpp:87:71: error: cannot initialize a member subobject of type 'Assimp::DXFImporter::LayerInfo *'
with an rvalue of type 'bool'
DXFImporter::DXFImporter() : buffer(0), groupCode(0), bRepeat(false), mDefaultLayer(false)
^ ~~~~~
1 warning and 1 error generated.
make[4]: *** [.obj/debug/DXFLoader.o] Error 1
make[3]: *** [debug-install] Error 2
make[2]: *** [sub-threed-install_subtargets-ordered] Error 2
make[1]: *** [sub-src-install_subtargets] Error 2
make: *** [module-qt3d-install_subtargets] Error 2
[andreyc EDIT] Added @ around code.
↧