nanogui: Thread: nxlib can't work in nano-X Link App into Server mode?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: nxlib can't work in nano-X Link App into Server mode?
From: "xiang liu" ####@####.####
Date: 29 Mar 2006 10:06:04 +0100
Message-Id: <BAY114-F5DAD405BE714F3A913A69B6D00@phx.gbl>

In nano-X + nxlib + fltk. When I use LINK_APP_INTO_SERVER = Y in nano-X 
config file, 
compling fltk, a number of unresolved functions occur (that are defined
in nanox/client.c): 
../nxlib/libnx11.a(NextEvent.o)(.text+0x907): In function XEventsQueued':
.../nxlib/NextEvent.c:336: undefined reference to `GrQueueLength'
............: undefined reference to 'GrGetTypedEventPred'
............: undefined reference to 'GrGetTypedEvent'
I cut & paste the code from client.c to srvfun.c 
to impliment the 3 functions. 
but no use, my fltkapp can't work at all: no event!
Is there any patch for microwindow0.90 or patch for nxlib0.45?
or other way to solve the problum? 
Thanks a lot!

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

Subject: RE: [nanogui] nxlib can't work in nano-X Link App into Server mode?
From: "Martin Kajdas" ####@####.####
Date: 29 Mar 2006 23:38:12 +0100
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914F8@mkmail.MKPROD.COM>

I do not think this combination ever worked (at least for me).
I use nano-X + nxlib + fltk with LINK_APP_INTO_SERVER = N and everything is OK.

Martin


-----Original Message-----
From: xiang liu ####@####.####
Sent: Wednesday, March 29, 2006 1:06 AM
To: ####@####.####
Subject: [nanogui] nxlib can't work in nano-X Link App into Server mode?


In nano-X + nxlib + fltk. When I use LINK_APP_INTO_SERVER = Y in nano-X 
config file, 
compling fltk, a number of unresolved functions occur (that are defined
in nanox/client.c): 
../nxlib/libnx11.a(NextEvent.o)(.text+0x907): In function XEventsQueued':
.../nxlib/NextEvent.c:336: undefined reference to `GrQueueLength'
............: undefined reference to 'GrGetTypedEventPred'
............: undefined reference to 'GrGetTypedEvent'
I cut & paste the code from client.c to srvfun.c 
to impliment the 3 functions. 
but no use, my fltkapp can't work at all: no event!
Is there any patch for microwindow0.90 or patch for nxlib0.45?
or other way to solve the problum? 
Thanks a lot!

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

Subject: Re: [nanogui] nxlib can't work in nano-X Link App into Server mode?
From: Steven Scholz ####@####.####
Date: 30 Mar 2006 08:19:20 +0100
Message-Id: <442B866C.6000907@imc-berlin.de>

xiang liu wrote:
> In nano-X + nxlib + fltk. When I use LINK_APP_INTO_SERVER = Y in nano-X
> config file, compling fltk, a number of unresolved functions occur (that
> are defined

IIRC when using LINK_APP_INTO_SERVER you have to link your application
against libnano-X.so (which is created instead of the nano-X) ...

So someting like

myapp_LDADD = 	-lpthread -lZThread -lfltk -lfltk_images \
		-lX11 -lm -lnano-X -lfreetype

(Note that in my case libX11 is the same as libnx11)

Good luck,

--
Steven
Subject: Re: [nanogui] nxlib can't work in nano-X Link App into Server mode?
From: "Greg Haerr" ####@####.####
Date: 31 Mar 2006 08:43:43 +0100
Message-Id: <12ca01c65496$d35ea2a0$6401a8c0@winXP>

: ../nxlib/libnx11.a(NextEvent.o)(.text+0x907): In function XEventsQueued':
: .../nxlib/NextEvent.c:336: undefined reference to `GrQueueLength'
: ............: undefined reference to 'GrGetTypedEventPred'
: ............: undefined reference to 'GrGetTypedEvent'
: Is there any patch for microwindow0.90 or patch for nxlib0.45?

These functions were added to the current CVS 
version of Microwindows.

Regards,

Greg
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.