After getting up & running compiling the samples from source, I was trying to get a simple app working with openFrameworks. I adapted code from the ColorReaderEventCPP sample, and looked through the docs here but don’t see what I’m doing wrong. I’m getting an EXC_BAD_ACCESS
error in astra_streamset_open()
. Code for the app is here: ofxOrbbecAstra/example/src at master · mattfelsen/ofxOrbbecAstra · GitHub
If I instead declare/intialize the StreamSet
and StreamReader
inside FrameListener::setup()
then instead I get the error inside FrameListener::update()
when calling astra_temp_update()
. Maybe because the set & reader have fallen out of scope though? It’s a little difficult to tell the “proper” way to handle this since most of the samples have them declared inside main()
.
On a related-note, are there html-formatted docs anywhere? GitHub does a decent job of rendering the .rst files, but doesn’t show the code blocks so I have to read the raw .rst files anyway. Hope I’m not jumping the gun too much since I know OF is on your road map
Cheers