just throwing in another bit of info:<br>when I mailed Budi Prakosa about this, part of his response was that <div>&#39;it has conflict with libfree on linux&#39;<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 :<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don&#39;t really remember the steps exactly, do you? <br>
</blockquote>
<br></div>
You could use the « svn diff » command, or if it&#39;s not from SVN, then unpack another copy (make sure you don&#39;t overwrite) and then do a diff of the two Makefiles with a command similar to :<br>
<br>
  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> </div><div> all:</div><div> <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> <span style="white-space:pre-wrap">        </span>rm -fr ./*.o</div>



<div> deploy:</div><div> <span style="white-space:pre-wrap">        </span>mkdir build/$(SOURCES)</div><div><br></div><div>to my embarrassment I notice that I didn&#39;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. </div><div>Does that mean it found what it needs regardless of those lines, </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&#39;t seem to make much difference...</div>

<div class="im">
<div> </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> </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 % 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 &#39;undefined symbol&#39; thing probably happened now only because I was trying with a new build of latest Gem, which doesn&#39;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 :<br>
<br>
  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&#39;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&#39;s relevant. gr, Tim<br>
</blockquote>
<br></div>
For a hang, it&#39;s better to use GDB.<br>
<br>
GDB and Valgrind are largely complementary.<br>
<br>
There&#39;s also a GUI for Valgrind if it helps you. I don&#39;t know about GUIs for GDB (except the quite old DDD), but there might be one or several.<div><div></div><div><br>
<br>
 ______________________________<u></u>______________________________<u></u>__________<br>
| Mathieu BOUCHARD ----- téléphone : <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>