<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" "<br>print"Minicomputer-------------- "<br>print"- 1/2:configuring"<br><br>if ARGUMENTS.get('64bit', 0):<br> env = Environment(CCFLAGS = '-m64')<br>
guienv = Environment(CPPFLAGS = '-m64')<br>else:<br> env = Environment(CCFLAGS = '-I/usr/include/fltk-1.1/')<br> guienv = Environment(CPPFLAGS = '-I/usr/include/fltk-1.1/')<br>
<br><br>as well as various combinations of them all....<br>all i get is<br><br>scons: Reading SConscript files ...<br> <br>Minicomputer-------------- <br>- 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>- 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'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 <<a href="mailto:noisesmith@gmail.com">noisesmith@gmail.com</a>> 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 "-I/usr/include/fltk-1.1/" 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 <<a href="mailto:gateswideopen@gmail.com">gateswideopen@gmail.com</a>> wrote:<br>
> looks like #include <FL/Fl.H> is used which i can see shouldn't be a problem<br>
> anyway as my fltk .header files all have a sym-link from *.h to *.H anyway.<br>
> i'm sure this has been an issue for someone thus the decision to sym-link<br>
> upper/lowercases.<br>
> so i'm still stumped.<br>
> thanks<br>
><br>
><br>
> On Wed, Apr 30, 2008 at 1:10 PM, Justin Smith <<a href="mailto:noisesmith@gmail.com">noisesmith@gmail.com</a>> wrote:<br>
> > I have run into these problems with my own fltk code:<br>
> > see if his statement is "#include <Fl/Fl.h>" or "#include <FL/Fl.h>",<br>
> > I swear I have even seen "fl/fl.h". It is one thing to break an api,<br>
> > but file names? fltk is great, but their indecisive capitalization is<br>
> > a pain.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Wed, Apr 30, 2008 at 2:36 AM, naysayer <<a href="mailto:gateswideopen@gmail.com">gateswideopen@gmail.com</a>> wrote:<br>
> > > hi Malte<br>
> > > i have now tried all the versions of fltk available... 1.7, 2.0.x-r6101,<br>
> and<br>
> > > version 2 from the SVN. i have compiled these from source but i still<br>
> can't<br>
> > > work out how to get the scons script to find fltk headers. what am i<br>
> doing<br>
> > > wrong here. do i need somthing else in my scons file?<br>
> > ><br>
> > > the SContruct file seems to be looking for Fl.h which i have at<br>
> > > /usr/include/fltk-1.1/FL/Fl.H<br>
> > ><br>
> > > guiconf.Chguiconf.CheckLibWithHeader('fltk', 'FL/Fl.h','c++')<br>
> > ><br>
> > > thanks..<br>
> > ><br>
> > > scons still reports (using fltk 2 and svn 2)<br>
> > > ~/programsSRC/MinicomputerV1.1 $ scons<br>
> > > scons: Reading SConscript files ...<br>
> > ><br>
> > > Minicomputer--------------<br>
> > > - 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>
> > > - 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>
> > > ------------------------------------------------------------------<br>
> > > tail of scons config.log<br>
> > > -----<br>
> > ><br>
> > > scons: Configure: Checking for C++ library fltk...<br>
> > > .sconf_temp/conftest_5.cpp <-<br>
> > > |<br>
> > > |<br>
> > > |#include "FL/Fl.h"<br>
> > > |<br>
> > > |int<br>
> > > |main() {<br>
> > > |<br>
> > > |return 0;<br>
> > > |}<br>
> > > |<br>
> > > g++ -o .sconf_temp/conftest_5.o -c .sconf_temp/conftest_5.cpp<br>
> > > .sconf_temp/conftest_5.cpp:3:19: error: FL/Fl.h: No such file or<br>
> directory<br>
> > > scons: Configure: no<br>
> > ><br>
> > > ---<br>
> > > using gentoo....<br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> ><br>
> > > _______________________________________________<br>
> > > Linux-audio-user mailing list<br>
> > > <a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
> > > <a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
> > ><br>
> > ><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Linux-audio-user mailing list<br>
> <a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
> <a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
><br>
><br>
</div></div></blockquote></div><br>