<br>ok....<br><br>this is what i have tried.<br><br>scons -I /usr/include/fltk-1.1/<br><br>scons -I/usr/include/fltk-1.1/<br><br>scons --include-dir=/usr/include/fltk-1.1/<br><br>scons --debug=includes<br><br>and in the SConstruct file<br>
<br>print&quot; &quot;<br>print&quot;Minicomputer-------------- &quot;<br>print&quot;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1/2:configuring&quot;<br><br>if ARGUMENTS.get(&#39;64bit&#39;, 0):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; env = Environment(CCFLAGS = &#39;-m64&#39;)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guienv = Environment(CPPFLAGS = &#39;-m64&#39;)<br>else:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; env = Environment(CCFLAGS = &#39;-I/usr/include/fltk-1.1/&#39;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guienv = Environment(CPPFLAGS = &#39;-I/usr/include/fltk-1.1/&#39;)<br>
<br><br>as well as various combinations of them all....<br>all i get is<br><br>scons: Reading SConscript files ...<br>&nbsp;<br>Minicomputer-------------- <br>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1/2:configuring<br>Checking for C library jack... yes<br>
Checking for C library lo... yes<br>Checking for C library asound... yes<br>Checking for C library pthread... yes<br>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; checking dependencies for the editor:<br>Checking for C library lo... yes<br>Checking for C++ library fltk... no<br>
Did not find FLTK for the gui, exiting!<br><br><br>i have to say, i&#39;m much more comfortable in the old fashions Makefile world, scons always seems to stump me with simple issues like these.<br><br>thanks for your patience.<br>
<br><br><br><div class="gmail_quote">On Wed, Apr 30, 2008 at 1:51 PM, Justin Smith &lt;<a href="mailto:noisesmith@gmail.com">noisesmith@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Try adding the flag &quot;-I/usr/include/fltk-1.1/&quot; to the CFLAGS variable<br>
(or equivalent) in the SConstruct file.<br>
<div><div></div><div class="Wj3C7c"><br>
On Wed, Apr 30, 2008 at 3:25 AM, naysayer &lt;<a href="mailto:gateswideopen@gmail.com">gateswideopen@gmail.com</a>&gt; wrote:<br>
&gt; looks like #include &lt;FL/Fl.H&gt; is used which i can see shouldn&#39;t be a problem<br>
&gt; anyway as my fltk .header files all have a sym-link from *.h to *.H anyway.<br>
&gt; i&#39;m sure this has been an issue for someone thus the decision to sym-link<br>
&gt; upper/lowercases.<br>
&gt; &nbsp;so i&#39;m still stumped.<br>
&gt; thanks<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Apr 30, 2008 at 1:10 PM, Justin Smith &lt;<a href="mailto:noisesmith@gmail.com">noisesmith@gmail.com</a>&gt; wrote:<br>
&gt; &gt; I have run into these problems with my own fltk code:<br>
&gt; &gt; see if his statement is &quot;#include &lt;Fl/Fl.h&gt;&quot; or &quot;#include &lt;FL/Fl.h&gt;&quot;,<br>
&gt; &gt; I swear I have even seen &quot;fl/fl.h&quot;. It is one thing to break an api,<br>
&gt; &gt; but file names? fltk is great, but their indecisive capitalization is<br>
&gt; &gt; a pain.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Apr 30, 2008 at 2:36 AM, naysayer &lt;<a href="mailto:gateswideopen@gmail.com">gateswideopen@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; hi Malte<br>
&gt; &gt; &gt; i have now tried all the versions of fltk available... 1.7, 2.0.x-r6101,<br>
&gt; and<br>
&gt; &gt; &gt; version 2 from the SVN. i have compiled these from source but i still<br>
&gt; can&#39;t<br>
&gt; &gt; &gt; work out how to get the scons script to find fltk headers. &nbsp;what am i<br>
&gt; doing<br>
&gt; &gt; &gt; wrong here. do i need somthing else in my scons file?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; the SContruct file seems to &nbsp;be looking for Fl.h which i have at<br>
&gt; &gt; &gt; /usr/include/fltk-1.1/FL/Fl.H<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; guiconf.Chguiconf.CheckLibWithHeader(&#39;fltk&#39;, &#39;FL/Fl.h&#39;,&#39;c++&#39;)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; thanks..<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; scons still reports (using fltk 2 and svn 2)<br>
&gt; &gt; &gt; &nbsp;~/programsSRC/MinicomputerV1.1 $ scons<br>
&gt; &gt; &gt; scons: Reading SConscript files ...<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Minicomputer--------------<br>
&gt; &gt; &gt; - &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1/2:configuring<br>
&gt; &gt; &gt; Checking for C library jack... yes<br>
&gt; &gt; &gt; Checking for C library lo... yes<br>
&gt; &gt; &gt; &nbsp;Checking for C library asound... yes<br>
&gt; &gt; &gt; Checking for C library pthread... yes<br>
&gt; &gt; &gt; - &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;checking dependencies for the editor:<br>
&gt; &gt; &gt; Checking for C library lo... yes<br>
&gt; &gt; &gt; Checking for C++ library fltk... no<br>
&gt; &gt; &gt; Did not find FLTK for the gui, exiting!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ------------------------------------------------------------------<br>
&gt; &gt; &gt; tail of scons config.log<br>
&gt; &gt; &gt; -----<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; scons: Configure: Checking for C++ library fltk...<br>
&gt; &gt; &gt; .sconf_temp/conftest_5.cpp &lt;-<br>
&gt; &gt; &gt; &nbsp; |<br>
&gt; &gt; &gt; &nbsp; |<br>
&gt; &gt; &gt; &nbsp; &nbsp;|#include &quot;FL/Fl.h&quot;<br>
&gt; &gt; &gt; &nbsp; |<br>
&gt; &gt; &gt; &nbsp; |int<br>
&gt; &gt; &gt; &nbsp; |main() {<br>
&gt; &gt; &gt; &nbsp; |<br>
&gt; &gt; &gt; &nbsp; |return 0;<br>
&gt; &gt; &gt; &nbsp; |}<br>
&gt; &gt; &gt; &nbsp; |<br>
&gt; &gt; &gt; g++ -o .sconf_temp/conftest_5.o -c .sconf_temp/conftest_5.cpp<br>
&gt; &gt; &gt; .sconf_temp/conftest_5.cpp:3:19: error: FL/Fl.h: No such file or<br>
&gt; directory<br>
&gt; &gt; &gt; &nbsp;scons: Configure: no<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ---<br>
&gt; &gt; &gt; using gentoo....<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &nbsp;Linux-audio-user mailing list<br>
&gt; &gt; &gt; &nbsp;<a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
&gt; &gt; &gt; &nbsp;<a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; &nbsp;Linux-audio-user mailing list<br>
&gt; &nbsp;<a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
&gt; &nbsp;<a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>