[LAU] [ANN] Minicomputer 1.1

naysayer gateswideopen at gmail.com
Wed Apr 30 00:45:44 EDT 2008


ok....

this is what i have tried.

scons -I /usr/include/fltk-1.1/

scons -I/usr/include/fltk-1.1/

scons --include-dir=/usr/include/fltk-1.1/

scons --debug=includes

and in the SConstruct file

print" "
print"Minicomputer-------------- "
print"-                     1/2:configuring"

if ARGUMENTS.get('64bit', 0):
        env = Environment(CCFLAGS = '-m64')
        guienv = Environment(CPPFLAGS = '-m64')
else:
        env = Environment(CCFLAGS = '-I/usr/include/fltk-1.1/')
        guienv = Environment(CPPFLAGS = '-I/usr/include/fltk-1.1/')


as well as various combinations of them all....
all i get is

scons: Reading SConscript files ...

Minicomputer--------------
-                     1/2:configuring
Checking for C library jack... yes
Checking for C library lo... yes
Checking for C library asound... yes
Checking for C library pthread... yes
-                    checking dependencies for the editor:
Checking for C library lo... yes
Checking for C++ library fltk... no
Did not find FLTK for the gui, exiting!


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.

thanks for your patience.



On Wed, Apr 30, 2008 at 1:51 PM, Justin Smith <noisesmith at gmail.com> wrote:

> Try adding the flag "-I/usr/include/fltk-1.1/" to the CFLAGS variable
> (or equivalent) in the SConstruct file.
>
> On Wed, Apr 30, 2008 at 3:25 AM, naysayer <gateswideopen at gmail.com> wrote:
> > looks like #include <FL/Fl.H> is used which i can see shouldn't be a
> problem
> > anyway as my fltk .header files all have a sym-link from *.h to *.H
> anyway.
> > i'm sure this has been an issue for someone thus the decision to
> sym-link
> > upper/lowercases.
> >  so i'm still stumped.
> > thanks
> >
> >
> > On Wed, Apr 30, 2008 at 1:10 PM, Justin Smith <noisesmith at gmail.com>
> wrote:
> > > I have run into these problems with my own fltk code:
> > > see if his statement is "#include <Fl/Fl.h>" or "#include <FL/Fl.h>",
> > > I swear I have even seen "fl/fl.h". It is one thing to break an api,
> > > but file names? fltk is great, but their indecisive capitalization is
> > > a pain.
> > >
> > >
> > >
> > >
> > > On Wed, Apr 30, 2008 at 2:36 AM, naysayer <gateswideopen at gmail.com>
> wrote:
> > > > hi Malte
> > > > i have now tried all the versions of fltk available... 1.7,
> 2.0.x-r6101,
> > and
> > > > version 2 from the SVN. i have compiled these from source but i
> still
> > can't
> > > > work out how to get the scons script to find fltk headers.  what am
> i
> > doing
> > > > wrong here. do i need somthing else in my scons file?
> > > >
> > > > the SContruct file seems to  be looking for Fl.h which i have at
> > > > /usr/include/fltk-1.1/FL/Fl.H
> > > >
> > > > guiconf.Chguiconf.CheckLibWithHeader('fltk', 'FL/Fl.h','c++')
> > > >
> > > > thanks..
> > > >
> > > > scons still reports (using fltk 2 and svn 2)
> > > >  ~/programsSRC/MinicomputerV1.1 $ scons
> > > > scons: Reading SConscript files ...
> > > >
> > > > Minicomputer--------------
> > > > -                     1/2:configuring
> > > > Checking for C library jack... yes
> > > > Checking for C library lo... yes
> > > >  Checking for C library asound... yes
> > > > Checking for C library pthread... yes
> > > > -                    checking dependencies for the editor:
> > > > Checking for C library lo... yes
> > > > Checking for C++ library fltk... no
> > > > Did not find FLTK for the gui, exiting!
> > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > tail of scons config.log
> > > > -----
> > > >
> > > > scons: Configure: Checking for C++ library fltk...
> > > > .sconf_temp/conftest_5.cpp <-
> > > >   |
> > > >   |
> > > >    |#include "FL/Fl.h"
> > > >   |
> > > >   |int
> > > >   |main() {
> > > >   |
> > > >   |return 0;
> > > >   |}
> > > >   |
> > > > g++ -o .sconf_temp/conftest_5.o -c .sconf_temp/conftest_5.cpp
> > > > .sconf_temp/conftest_5.cpp:3:19: error: FL/Fl.h: No such file or
> > directory
> > > >  scons: Configure: no
> > > >
> > > > ---
> > > > using gentoo....
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > > _______________________________________________
> > > >  Linux-audio-user mailing list
> > > >  Linux-audio-user at lists.linuxaudio.org
> > > >  http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
> > > >
> > > >
> > >
> >
> >
> > _______________________________________________
> >  Linux-audio-user mailing list
> >  Linux-audio-user at lists.linuxaudio.org
> >  http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20080430/c62fd911/attachment.htm 


More information about the Linux-audio-user mailing list