You cannot compile a source file that depends on other headers without &quot;telling the compiler&quot; where they are:<br><br>&gt;$gcc main.cpp <br>&gt;main.cpp:12:19: error: 
flext.h: No such file or directory<br><br>This makes sense, because if the flext.h is not in the main.cpp directory the compiler will not find it. The easiest way to compile externals is just using their respective makefile, that external doesn&#39;t have a makefile? If it does try that first...<br>

<br>Anyway if you want to use gcc directly from command line and include the header directories manually, use the gcc -I path/to/directory/of/the/headers main.cpp <br><br>(see man gcc) <br><pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;">

-I dir<br>           Add the directory dir to the list of directories to be searched for<br>           header files.  Directories named by -I are searched before the<br>           standard system include directories.  If the directory dir is a<br>

           standard system include directory, the option is ignored to ensure<br>           that the default search order for system directories and the spe‐<br>           cial treatment of system headers are not defeated .</pre>

<br><br><br><br><div class="gmail_quote">On Sun, Jul 11, 2010 at 12:42 PM, <a href="mailto:linediconsine@gmail.com">linediconsine@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:linediconsine@gmail.com">linediconsine@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am on Linux, ubuntu lucyd.<br><br>Thanks.<br><br><br><div class="gmail_quote">2010/7/11 <a href="mailto:linediconsine@gmail.com" target="_blank">linediconsine@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:linediconsine@gmail.com" target="_blank">linediconsine@gmail.com</a>&gt;</span><div>

<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi I try to compile sms_peak (a module made with flext)<br><br>There is a guide to step by step compile a flext module?<br>


<br>By the way I am here in compiling:<br><br>$ls<br>Info.plist  license.txt  main.cpp  package.txt  pd  
sms_peaks~.xcodeproj<br><br>$gcc main.cpp <br>main.cpp:12:19: error: 
flext.h: No such file or directory<br><br>$find / -name flext.h <br>
/usr/include/flext/flext.h<br>/home/marco/pd-flext/flext/<div>buildsys/externals/grill/flext/source/flext.h<br>/home/marco/pd-flext/flext/externals/grill/flext/source/flext.h<br>/home/marco/pd-flext/flext/source/flext.h</div>



<br clear="all">Thanks<br><font color="#888888"><br><br>-- <br>Marco A.<br>
</font></blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Marco Amato<br>
</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes (ongoing MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>