nanogui: FLNX for Microwindows/ViewML
Subject:
Re: [nanogui] FLNX for Microwindows/ViewML
From:
Florian Berger ####@####.####
Date:
11 Jul 2002 14:05:19 -0000
Message-Id: <20020711155251.3743bf99.harpin_floh@yahoo.de>
On Thu, 11 Jul 2002 05:49:21 -0700 (PDT)
Jason Crawford ####@####.#### wrote:
> Hi,
>
> I am trying to compile FLNX (flnx-0.16) for
> microwindows so that I can try out ViewML. I am just
> using a standard PC (running Debian) with Microwindows
> running on top of X.
>
> I have run 'configure' in the following way to tell it
> about microwindows ...
> ./configure
> --with-microwin=/Work/microwindows-0.89pre8/src
>
> All goes well and 'configure' sets up paths for
> compiling using Microwindows as the target rather than
> X.
>
> I then run 'make' and end up with the following
> output.
>
> make[1]: Entering directory `/Work/flnx-0.16/src'
> c++ -I.. -O2 -Wall -Wno-return-type -DNANO_X
> -I/Work/microwindows-0.89pre8/src/include
> -DNANOXFOLDER='"/Work/microwindows-0.89pre8/src/bin"'
> -c Fl.cxx
> c++ -I.. -O2 -Wall -Wno-return-type -DNANO_X
> -I/Work/microwindows-0.89pre8/src/include
> -DNANOXFOLDER='"/Work/microwindows-0.89pre8/src/bin"'
> -c Fl_Adjuster.cxx
> c++ -I.. -O2 -Wall -Wno-return-type -DNANO_X
> -I/Work/microwindows-0.89pre8/src/include
> -DNANOXFOLDER='"/Work/microwindows-0.89pre8/src/bin"'
> -c Fl_Animator.cxx
> Fl_Animator.cxx: In method
> `Fl_Animator::Fl_Animator(char *const *, int, int,
> int, int, int, int, const char * = 0)':
> Fl_Animator.cxx:47: implicit declaration of function
> `int printf(...)'
> Fl_Animator.cxx:35: warning: unused variable `int y'
> Fl_Animator.cxx:35: warning: unused variable `int x'
> make[1]: *** [Fl_Animator.o] Error 1
> make[1]: Leaving directory `/Work/flnx-0.16/src'
> === making fluid ===
> make[1]: Entering directory `/Work/flnx-0.16/fluid'
> <snip>
>
> Make continues but never completes because earlier
> dependencies don't exist because of the above error.
>
> It seems theres a problem with the Fl_Animator code at
> first blush??
>
> Any help or hints would be much appreciated.
> tks
> Jason.
>
> --
> .. mental floss prevents moral decay!
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
i dont see any real error in the above output, except from the implicit declaratrion of printf.
it seems, your compiler treats this as an error (normally only a warning)
insert #inlcude<stdio.h> at the beginning of the file Fl_Animator.cxx and everything should be ok.
hope this helps,
floh
------------------------------------------------------------------
Dipl.-Ing. Florian Berger
email: ####@####.#### ####@####.####
homepage: http://www.geocities.com/harpin_floh
linz - austria
check out FooBillard: http://foobillard.sunsite.dk