nanogui: Build problem


Previous by date: 13 Oct 2001 03:34:17 -0000 Re: Porting of Xwindows application on microwindows, Greg Haerr
Next by date: 13 Oct 2001 03:34:17 -0000 Mouse is dead, 姚茂彪 Candy Yao
Previous in thread: 13 Oct 2001 03:34:17 -0000 build problem, 賈宏波 Harper Jia
Next in thread: 13 Oct 2001 03:34:17 -0000 Re: build problem, ??? Harper Jia

Subject: Re: [nanogui] build problem
From: Gary James ####@####.####
Date: 13 Oct 2001 03:34:17 -0000
Message-Id: <20011012233943.A784@pc.twcny.rr.com>

Hi Harper,

When you built our application in the client/server model you prpbably used
"-lnano-X" when you linked. Now that you are linking the server into your
application you need to link in a couple extra libraries. Try using
"-lmwengine -lmwdrivers -lmwfonts -L/usr/X11R6/lib -lX11" or "-lmwengine
-lmwdrivers -lmwfonts -lttf -L/usr/X11R6/lib -lX11" if you are using
TrueType fonts.


-- 
Gary James
####@####.####
http://home.twcny.rr.com/embedded/



On Fri, 12 Oct 2001 03:18:49 ¸ë§»ªi Harper Jia wrote:
> Hi:
> 
> I originally run my application successfully under microwindow on
> X-windows
> with running nano-X& firstly,
> 
> Then I changed the config option into LINK_APP_TO_SERVER=Y,
> run three commands
> make clean,make,make install
> 
> Some demos in microwindow can run sucessfully without running nano-X&
> firstly, 
> but I can't  build  my application successfully under microwindow on
> X-windows,
> 
> Some error messages are:
> srvmain.o(.text+0xb7): undefined reference to `GdGetNextTimeout'
> srvmain.o(.text+0x199): undefined reference to `GdTimeout'
> srvmain.o(.text+0x1d3): undefined reference to `GdError'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnano-X.a(srvmain.o):
> In
> function `GsInitialize':
> srvmain.o(.text+0x206): undefined reference to `GdError'
> srvmain.o(.text+0x251): undefined reference to `GdOpenKeyboard'
> srvmain.o(.text+0x26e): undefined reference to `GdError'
> srvmain.o(.text+0x275): undefined reference to `GdOpenScreen'
> srvmain.o(.text+0x288): undefined reference to `GdError'
> 
> ..............
> 
> How can I do? What's wrong with it? 
> 
> 			Thanks 
> 	
> Harper
> 									2001.
> 10.12
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 


Previous by date: 13 Oct 2001 03:34:17 -0000 Re: Porting of Xwindows application on microwindows, Greg Haerr
Next by date: 13 Oct 2001 03:34:17 -0000 Mouse is dead, 姚茂彪 Candy Yao
Previous in thread: 13 Oct 2001 03:34:17 -0000 build problem, 賈宏波 Harper Jia
Next in thread: 13 Oct 2001 03:34:17 -0000 Re: build problem, ??? Harper Jia


Powered by ezmlm-browse 0.20.