Category : assimp

Hello i tried to build Assimp in MSYS. I’m using gcc (10.2.0) While building Assimp,multiple error messages appeared: /usr/bin/windres: /c/Users/MY_NAME/Downloads/assimp-5.0.1/assimp-5.0.1/contrib/zlib/win32/zlib1.rc:7: syntax error make[2]: *** [contrib/zlib/CMakeFiles/zlib.dir/build.make:278: contrib/zlib/CMakeFiles/zlib.dir/win32/zlib1.obj] error 1 make[1]: *** [CMakeFiles/Makefile2:272: contrib/zlib/CMakeFiles/zlib.dir/all] error 2 make: *** [Makefile:150: all]error 2 How can i build Assimp in MSYS ? Source: Windows Que..

Read more

Hello i tried to compile Assimp with mingw32. But during compilation multiple errors appeard. The first was: C:UsersMY_NAMEDownloadsassimp-5.0.1assimp-5.0.1codeSMDSMDLoader.cpp:579:12: error: ‘strtok_s’ was not declared in this scope; did you mean ‘strtok_r’? I found a solution for the this problem,i changed the source code and it worked but i don’t found a solution for the second problem. ..

Read more

I’m trying to load my model (from this tutorial) with Assimp. There is no loading error reported, but i get segmentation fault when trying to access mesh from scene->mMeshes. What might be reason for this? Here is code sample: void resource_manager::load_model(std::string path) { model new_model; const aiScene *scene = load_file(path); new_model.meshes = load_meshes(scene, scene->mRootNode); //… ..

Read more