nanogui: Re: about function in winsbar


Previous by date: 22 Jun 2001 01:43:49 -0000 RE:Re: [nanogui] Chinese Support in FLTK?, se_nz
Next by date: 22 Jun 2001 01:43:49 -0000 GlobalLock, daniel
Previous in thread: 22 Jun 2001 01:43:49 -0000 Re: about function in winsbar, Jordan Crouse
Next in thread:

Subject: Re: [nanogui] Re: about function in winsbar
From: "daniel" ####@####.####
Date: 22 Jun 2001 01:43:49 -0000
Message-Id: <003301c0fabc$a74c8760$0300c0a8@biji>

To list libraries twice ? what do u mean.
Does it mean list libs in this order: -lmwin -lmwinlib -lmwin ?
in my shell file , i list lib in this order
*.o .... -lmwin -lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwimages -lm -lglib (selflib....)
and the compiler i use is g++ in redhat 7.1

the undefined refrences error in occurs when i what to use
" EnableScrollBar, SetScrollPos, SetScrollRange " but SetScrollInfo
can pass.

can u help me to find out the reason?

Regards

Daniel Wang

----- Original Message ----- 
From: "Jordan Crouse" ####@####.####
To: "daniel" ####@####.#### "Greg Haerr" ####@####.####
Cc: ####@####.####
Sent: Wednesday, June 20, 2001 9:49 PM
Subject: Re: [nanogui] Re: about function in winsbar


> That will happen occasionally  Some compilers don't do a second pass through 
> the libraries, so  you must ensure that the order of libraries is correct, 
> otherwise you will have undefined refrences.  Sometimes, you might need to 
> list the libraries twice just to make sure you got everything.
> 
> Jordan
> 
> On Wednesday 20 June 2001 01:36, daniel mentioned:
> >  I find a strange thing.
> > when compile program, the order of lib name i type is very important
> > for example: when the lib is in this order -lmwin -lmwinlib ...
> > the program compilation success.
> > but if i change order, -lmwinlib before -lwin, well, so many undefine
> > reference occour, just like my winsbar error.
> >
> >
> > Regards
> >
> > Daniel Wang
> 
> 

Previous by date: 22 Jun 2001 01:43:49 -0000 RE:Re: [nanogui] Chinese Support in FLTK?, se_nz
Next by date: 22 Jun 2001 01:43:49 -0000 GlobalLock, daniel
Previous in thread: 22 Jun 2001 01:43:49 -0000 Re: about function in winsbar, Jordan Crouse
Next in thread:


Powered by ezmlm-browse 0.20.