vsg-dev/vsgXchange

Build with assimp fail.

Closed this issue · 0 comments

I'm trying to build vsgXchange with assimp but failed.
my libassimp-dev version is 5.0.1, and struct aiScene doesn't contain a member named mName.
Is this a assmip version problem? and if so, what version should I choose?
Here are the compile errors.
/home/liweihe/Software/vsgXchange/src/assimp/assimp.cpp: In member function ‘vsg::ref_ptr<vsg::Node> SceneConverter::visit(const aiScene*, vsg::ref_ptr<const vsg::Options>, const vsg::Path&)’: /home/liweihe/Software/vsgXchange/src/assimp/assimp.cpp:719:31: error: ‘const struct aiScene’ has no member named ‘mName’ 719 | std::string name = scene->mName.C_Str();