nanogui: problem with flnx and microwindows


Previous by date: 15 Apr 2008 10:57:10 -0000 Re: error, Greg Haerr
Next by date: 15 Apr 2008 10:57:10 -0000 Re: problem with flnx and microwindows, Greg Haerr
Previous in thread:
Next in thread: 15 Apr 2008 10:57:10 -0000 Re: problem with flnx and microwindows, Greg Haerr

Subject: problem with flnx and microwindows
From: "shiva" ####@####.####
Date: 15 Apr 2008 10:57:10 -0000
Message-Id: <50709.203.200.233.130.1208257581.squirrel@mail.serc.iisc.ernet.in>

Dear sir,
I am using flnx 0.18.
I installed microwindows-0.90 in /home/microwindows-0.90 directory.
I installed flnx 0.18 in /home.
#./configure --with-microwin=/home/microwindows-0.90/src
#make clean;make
It compiled successfully.
When I ran demo.sh It is running.But when I ran files of "test" files of
flnx. It is giving error.

e.g for hello.cxx file error is :-

/tmp/ccwCezmS.o: In function `main':
hello.cxx.text+0x43): undefined reference to `Fl_Window::Fl_Window(int,
int, char const*)'
hello.cxx.text+0xe5): undefined reference to `define_FL_SHADOW_LABEL()'
hello.cxx.text+0x11d): undefined reference to `Fl_Window::show(int, char**)'
hello.cxx.text+0x122): undefined reference to `Fl::run()'
/tmp/ccwCezmS.o: In function `Fl_Group::end()':
hello.cxx.text._ZN8Fl_Group3endEv[Fl_Group::end()]+0x12): undefined
reference to `Fl_Group::current_'
/tmp/ccwCezmS.o: In function `Fl_Box::Fl_Box(Fl_Boxtype, int, int, int,
int, char const*)':
hello.cxx.text._ZN6Fl_BoxC1E10Fl_BoxtypeiiiiPKc[Fl_Box::Fl_Box(Fl_Boxtype,
int, int, int, int, char const*)]+0x30): undefined reference to
`Fl_Widget::Fl_Widget(int, int, int, int, char const*)'
hello.cxx.text._ZN6Fl_BoxC1E10Fl_BoxtypeiiiiPKc[Fl_Box::Fl_Box(Fl_Boxtype,
int, int, int, int, char const*)]+0x35): undefined reference to `vtable
for Fl_Box'
collect2: ld returned 1 exit status

My system configuration is :-
fedora 8.90(werewolf)
kernel 2.6.23/-42.fc8 on i686
gcc :-4.1.2

I solved this problem by compiling it through
:-
#g++  hello.cxx -lfltk -lnano-X -lm -o hel
It creates hel(binary file.)but when I am running it ./hel after invoking
nano-X and nanowm server,it is not running .....not going to any where
....
Thanking you
shiva


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Previous by date: 15 Apr 2008 10:57:10 -0000 Re: error, Greg Haerr
Next by date: 15 Apr 2008 10:57:10 -0000 Re: problem with flnx and microwindows, Greg Haerr
Previous in thread:
Next in thread: 15 Apr 2008 10:57:10 -0000 Re: problem with flnx and microwindows, Greg Haerr


Powered by ezmlm-browse 0.20.