openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

Update Core Addon : ofxAssimpModelLoader #19

Open bakercp opened 11 years ago

bakercp commented 11 years ago

Need static libs for linuxarm6vl

If you take this on, please document your build procedure on this wiki for future reference.

bakercp commented 11 years ago

We need to keep an eye on @julapy's refactor and upgrade to 3.0 here https://github.com/openframeworks/openFrameworks/pull/1722

bakercp commented 11 years ago

I'm currently compiling revision 919 for arm. 919 was the first time there was a little bugfix which enabled support for arm platforms. It's just past the 863 2.0 tag, so I'm hoping it works (http://sourceforge.net/projects/assimp/files/assimp-2.0/).

svn co https://assimp.svn.sourceforge.net/svnroot/assimp@919 assimp

cd assimp/trunk

cmake . -DENABLE_BOOST_WORKAROUND=ON

make

We'll see if it works. Will report soon ... If it does, perhaps you could take a stab at generating the armv7 static lib @kawalt?

kalwalt commented 11 years ago

@bakercp , Interesting i will see what can i do with it. Did you try for the rpi?

p.s. you typed the wrong @ user again, so i saw this after two days.

kalwalt commented 11 years ago

i receive this error:

walter@walter-desktop:~/assimp-2.0-tag#919/trunk$ make Scanning dependencies of target assimp [ 0%] Building CXX object code/CMakeFiles/assimp.dir/3DSConverter.cpp.o /bin/sh: 1: Syntax error: Unterminated quoted string make[2]: * [code/CMakeFiles/assimp.dir/3DSConverter.cpp.o] Error 2 make[1]: * [code/CMakeFiles/assimp.dir/all] Error 2 make: *\ [all] Error 2

with or without boost does not make difference. Anyway,i will check again .

fishkingsin commented 11 years ago

I try to build the libs myself without

 -DENABLE_BOOST_WORKAROUND=ON
then build the assimpExample build success but run with Segmentation fault when loading the model

kalwalt commented 11 years ago

hi @fishkingsin , interesting. But exactly where do you receive the seg fault?

damian0815 commented 11 years ago

hi @kawalt, you can change your notification settings here: https://github.com/settings/notifications

bakercp commented 11 years ago

I think this is the same issue we had in another thread where I accidentally typed @ k a w a l t and not @ k a l w a l t

If you go to the bottom of this thread, you can unwatch the thread.

fishkingsin commented 11 years ago

@kalwalt When assimp load the model crash at

loadModel(string modelName, bool optimize){
...
aiSetImportPropertyInteger(AI_CONFIG_PP_SBP_REMOVE, aiPrimitiveType_LINE | aiPrimitiveType_POINT );
...
}

on Rasberry pi

kalwalt commented 11 years ago

great news @bakercp @fishkingsin @arturoc! there is this new https://github.com/jeremyabel/ofxAssimpModelLoader and works with assimp 3.0 ! i tested only for linux 64 bit and works good , so i suppose that it will works also for armv7l and armv6l , i hadn't the time to do this ( very busy for exams in these days...) but i think i get a try tomorrow with my Pandaboard ( i have already compiled the armv7l static lib for assimp3.0) . stay in touch!

bakercp commented 11 years ago

very cool. keep us posted.


http://christopherbaker.net

On Wed, Feb 20, 2013 at 3:51 PM, Walter Perdan notifications@github.comwrote:

great news @bakercp https://github.com/bakercp @fishkingsinhttps://github.com/fishkingsin @arturoc https://github.com/arturoc! there is this new https://github.com/jeremyabel/ofxAssimpModelLoader and works with assimp 3.0 ! i tested only for linux 64 bit and works good , so i suppose that it will works also for armv7l and armv6l , i hadn't the time tto do this ( very busy for exams in these days...) but i think i get a try tomorrow with my Pandaboard ( i have already compiled the armv7l static lib for assimp3.0) . stay in touch!

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/19#issuecomment-13858896.

kalwalt commented 11 years ago

i tried it and i got some seg fault but at least the example compile fine. i will try again but actually i'm testing a bit my new raspberrypi ....