Hey all, I’m trying to use the ofxAssimpModelLoader add on with open frameworks 0.8 on a raspberry pi. Unfortunately I’m running into a couple problems.
The first is that if I add a reference to ofxAssimpModelLoader to my addons.make file and put code to use the library in my app, I get errors about failing to find ofxAssimpModelLoader.h. I was able to fix this so my app compiles and runs by manually adding the addons/ofxAssimpModelLoader/libs/assimp/include/ path as a PROJECT_EXTERNAL_SOURCE_PATHS entry in my config.make.
The second problem seems to be more serious, I can’t get anything to load with loadModel(). Everything I throw at it causes a segfault that crashes my program. I was worried that maybe the 3D models I was trying to load were too complex, but even the most simple cube 3D model (only 12 triangles) in various formats still causes the segfault.
I was also poking around in the examples, and noticed on my raspberry pi the assimpExample isn’t there. This, and the fact I had to muck with my makefile config to get it to build, makes me think ofxAssimpModelLoader isn’t supported on raspberry pi. I wanted to confirm though, is ofxAssimpModelLoader supported on the raspberry pi?
If it’s not supported, does anyone know of an easy alternative to load a 3D model that works on the pi? Thanks!