<div dir="ltr">Ok, I figured out what was wrong by going through a related issue on the pd-list. Details are on the github issue.<div><br></div><div>Cheers,</div><div><br></div><div>fd</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 12, 2017 at 3:11 PM, Federico Camara Halac <span dir="ltr"><<a href="mailto:camarafede@gmail.com" target="_blank">camarafede@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I compiled a simple pix object and can't get pd to load it. </div><div>(latest Pd test7 from upstream/master compiled for 32bit in OSX 10.11.6...)</div><div><br></div><div>I get this error that I don't understand on pd log :</div><div>```</div><div>/Users/federicocamarahalac/<wbr>Documents/fd_lib/pix_fft/pix_<wbr>fft.pd_darwin: </div><div>dlopen(/Users/<wbr>federicocamarahalac/Documents/<wbr>fd_lib/pix_fft/pix_fft.pd_<wbr>darwin, </div><div>10): Symbol not found: __ZN7GemBase14beforeDeletionEv</div><div>  Referenced from: /Users/federicocamarahalac/<wbr>Documents/fd_lib/pix_fft/pix_<wbr>fft.pd_darwin</div><div>  Expected in: flat namespace</div><div> in /Users/federicocamarahalac/<wbr>Documents/fd_lib/pix_fft/pix_<wbr>fft.pd_darwin</div><div><br></div><div>```</div><div>This is the compilation:</div><div>```</div><div>g++ -DPD -I "/usr/local/include/pd" -I "/Users/federicocamarahalac/<wbr>Documents/Gem/src" -DUNIX </div><div>-DMACOSX -I /sw/include -Wall -Wextra -Wshadow -Winline -Wstrict-aliasing</div><div>-O3 -ffast-math -funroll-loops -fomit-frame-pointer -arch i386 -o pix_fft.o -c pix_fft.cpp</div><div>```</div><div>And the linking:</div><div>```</div><div>g++ -undefined suppress -flat_namespace -bundle -arch i386 </div><div>-o pix_fft.pd_darwin pix_fft.o /usr/local/lib/libfftw3f.a</div><div>```</div><div>After compiling, I had no errors and two warnings:</div><div>```</div><div>pix_fft.cpp:45:5: warning: field 'm_buffer' will be initialized after field 'm_bufsize' [-Wreorder]</div><div>    m_buffer(0),</div><div>    ^</div><div>pix_fft.cpp:49:5: warning: field 'm_data' will be initialized after field 'm_bytemode' [-Wreorder]</div><div>    m_data(0),</div><div>    ^</div><div>```</div><div><br></div><div>What am I doing wrong? </div><div>I opened an issue on github about this as well: <a href="https://github.com/umlaeute/Gem/issues/149" target="_blank">#149</a><br></div><div><br></div><div>I would really appreciate feedback on this, let me know if you need more info.</div><div><br></div><div>Thanks,</div><div><br></div><div>Fede</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_5184518116270689755gmail_signature"><div dir="ltr"><a href="http://fdch.github.io/tv" target="_blank">http://fdch.github.io/tv</a></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="http://fdch.github.io/tv" target="_blank">http://fdch.github.io/tv</a></div></div>
</div>