vsg-dev / vsgXchange

Utility library for converting data+materials to/from VulkanSceneGraph
MIT License
65 stars 39 forks source link

Build with assimp fail. #156

Closed HUSTWillHe closed 1 year ago

HUSTWillHe commented 1 year ago

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();