a few more attempts, I have it working once again,
Hi all,I tested with fux_kinect and a kinect connected now. Some results:on the first test, fux_kinect-help.pd opens and the depth image appears, though with some glitches/flickering (scrambled frames now and then)The tilting also works.Upon closing the patch, pd crashes.On a second attempt (after this crash), the help patch freezes instantly.Only the first frame of the depth image appears, and then pd hangs.Attached is the output of "valgrind --leak-check=full pdextended" and opening fux_kinect-help.pd.Let me know if there's any more useful info I can produce.gr,Tim2011/11/12 tim vets <timvets@gmail.com>in case anyone wants to try2011/11/12 tim vets <timvets@gmail.com>2011/11/12 Mathieu Bouchard <matju@artengine.ca>Le 2011-11-12 à 18:56:00, tim vets a écrit :Ok, never mind removing "*", put it back and just replace the struct name so that it matches :
it's stretching my knowledge quite far now,
but gave it a shot anyway, and interpreted what you wrote as:
find the line " gl_frame_cond = (pthread_cond_t) malloc(sizeof(pthread_mutex_t));"
(in fux_kinect.cpp)
and remove the "*" from that line.
gl_frame_cond = (pthread_cond_t *) malloc(sizeof(pthread_cond_t));Yes... and it's more changes than what I had listed... so nevermind that one. But surely the author would know what I mean.
or am I getting it wrong?
In the meantime, let's stick to the shortest possible fix.bingothanks :)can't test with the Kinect connected yet though...but at least pd does not hang anymore but instead just reports:[fux_kinect]: kinect initiated[fux_kinect]: Number of devices found: 0[fux_kinect]: Could not open devicegr,Tim
______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC