<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>What has a conflict with libfreenect? &nbsp;I am pretty sure that fux_kinect uses libfreenect. &nbsp;Is the version in Ubuntu too old? &nbsp;That's a possibility.</div><div><br></div><div>.hc</div><br><div><div>On Nov 11, 2011, at 2:24 PM, tim vets wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">just throwing in another&nbsp;bit of info:<br>when I mailed&nbsp;Budi Prakosa about this, part of his response was that&nbsp;<div>'it has conflict with libfree on linux'<div>Tim</div><div><br><div class="gmail_quote">2011/11/11 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com">timvets@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><div class="gmail_quote"><div><div></div><div class="h5">2011/11/11 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com" target="_blank">timvets@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div>2011/11/11 Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca" target="_blank">matju@artengine.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Le 2011-11-11 à 17:56:00, tim vets a écrit&nbsp;:<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don't really remember the steps exactly, do you?&nbsp;<br>
</blockquote>
<br></div>
You could use the «&nbsp;svn diff&nbsp;» command, or if it's not from SVN, then unpack another copy (make sure you don't overwrite) and then do a diff of the two Makefiles with a command similar to&nbsp;:<br>
<br>
 &nbsp;diff -u fux_kinect_orig/Makefile fux_kinect_tim/Makefile<br>
<br></blockquote></div><div>I kept a backup copy of the original Makefile:</div><div><br></div><div>--- ./Makefile_bu<span style="white-space:pre-wrap">        </span>2011-11-07 16:11:09.640301259 +0100</div><div>+++ ./Makefile<span style="white-space:pre-wrap">        </span>2011-11-07 16:20:43.620301265 +0100</div>



<div>@@ -30,7 +30,7 @@</div><div>&nbsp;</div><div>&nbsp;all:</div><div>&nbsp;<span style="white-space:pre-wrap">        </span>g++ $(LDFLAGS) $(INCLUDES) $(CPPFLAGS) -o $(SOURCES).o -c $(SOURCES).cpp</div><div>-<span style="white-space:pre-wrap">        </span>g++ -o $(SOURCES).$(EXTENSION) -undefined dynamic_lookup -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./*.o -L/sw/lib -lstdc++ -ldl -lz -lm -lpthread -lfreenect -L$(PD_DIR)/bin -L$(PD_DIR)</div>



<div>+<span style="white-space:pre-wrap">        </span>g++ -o $(SOURCES).$(EXTENSION) -shared ./*.o -L/sw/lib -lstdc++ -ldl -lz -lm -lpthread -lfreenect -L$(PD_DIR)/bin -L$(PD_DIR)</div><div>&nbsp;<span style="white-space:pre-wrap">        </span>rm -fr ./*.o</div>



<div>&nbsp;deploy:</div><div>&nbsp;<span style="white-space:pre-wrap">        </span>mkdir build/$(SOURCES)</div><div><br></div><div>to my embarrassment I notice that I didn't even change the first lines:</div><div><br>
</div><div><div># change to your local directories!</div><div>PD_APP_DIR = /Applications/Pd-extended.app/Contents/Resources</div><div>PD_DIR = /Users/xcorex/Documents/Documents/Projects/Puredata/PdSource/Pd-0.42.5-extended/pd</div>



<div>GEM_DIR = /Users/xcorex/Documents/Documents/Projects/Puredata/PdSource/Pd-0.42.5-extended/Gem</div></div><div><br></div><div>but it built anyway.&nbsp;</div><div>Does that mean it found what it needs regardless of those lines,&nbsp;</div>



<div>or that my build is just some sort of dummy altogether?</div><div>Tim</div><div><div><br></div><div><br></div></div></div></blockquote><div><br></div></div></div><div>I recompiled now with said lines adapted to my locations, with the same result, doesn't seem to make much difference...</div>

<div class="im">
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div><div></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




if the newer lines appear as «-» instead of «+», you have to change the order of filenames (I get it wrong 50&nbsp;% of the time)<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That 'undefined symbol' thing probably happened now only because I was trying with a new build of latest Gem, which doesn't seem to work itself here. I now replaced it back with my previous Gem.pd_linux, and it behaves like before: I try to create [fux_kinect], and pd hangs, without ever finishing creating the object, and without messages.<br>




</blockquote>
<br></div>
You can use gdb like this&nbsp;:<br>
<br>
 &nbsp;gdb --args pdextended fux_kinect-help.pd<br>
<br>
and then use the «run» command to start pd, and press Ctrl+c to force it to quit when it's hung, then use the «where» command to see a backtrace. Then post the backtrace here.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I could probably look up the Valgrind output, if it's relevant. gr, Tim<br>
</blockquote>
<br></div>
For a hang, it's better to use GDB.<br>
<br>
GDB and Valgrind are largely complementary.<br>
<br>
There's also a GUI for Valgrind if it helps you. I don't know about GUIs for GDB (except the quite old DDD), but there might be one or several.<div><div></div><div><br>
<br>
&nbsp;______________________________<u></u>______________________________<u></u>__________<br>
| Mathieu BOUCHARD ----- téléphone&nbsp;: <a href="tel:%2B1.514.383.3801" value="+15143833801" target="_blank">+1.514.383.3801</a> ----- Montréal, QC</div></div></blockquote></div></div><br>
</blockquote></div></div><br>
</blockquote></div><br></div></div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br class="khtml-block-placeholder"></div><div>----------------------------------------------------------------------------</div><div><br class="khtml-block-placeholder"></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://at.or.at/hans/">http://at.or.at/hans/</a></div><br class="Apple-interchange-newline"></span></span>
</div>
<br></body></html>