nanogui: Thread: nxlib problem


[<<] [<] Page 1 of 1 [>] [>>]
Subject: nxlib problem
From: Takács ####@####.####
Date: 4 Feb 2005 15:43:33 +0000
Message-Id: <200502041643.31184.takacs.aron@infracont.hu>

Hi,

I am using microwindows-0.90+nxlib-0.45+fltk-1.1.3 tu build my application. I 
have the following problem: I have two Fl_Choice buttons in a window. When I 
press the button of the first select menu, the menu window pops up -- ok. But 
when I push the same button again, the select menu of the other choice button 
pops up. In other cases I have to push twice on the button to pop up the 
choice menu.
I also have to push twice on normal buttons sometimes.
Please help me to solve this problem, it's very important!
Thank you!

Áron Takács
Subject: NXLIB problem
From: "Georg Potthast" ####@####.####
Date: 19 Jun 2011 14:27:50 -0000
Message-Id: <001401cc2e8d$0f05da50$6700a8c0@SCHREIBTISCHGP>

Hi Greg,

I compiled NXLIB with DJGPP. I copied usr/include/X11 from my Linux system 
and pointed the makefile to that. Also put the X11 directory into the 
djgpp/include directory.

Then I downloaded xclock.c to see if it would compile with libNX11.a. 
However, I get these error messages:

gcc -I/djgpp/include/mwin -o xclock.exe 
xclock.c -lNX11 -lnano-X -lz -lfreetype

e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x2fd): undefined reference to 
`_XtDisplayOfObject'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x342): undefined reference to 
`_XtDisplay'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x35a): undefined reference to 
`_XtShellStrings'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x375): undefined reference to 
`_XtSetValues'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x3ff): undefined reference to 
`_sessionShellWidgetClass'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x427): undefined reference to 
`_XtOpenApplication'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x450): undefined reference to 
`_XtShellStrings'
e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x460): undefined reference to 
`_XtAddCallback'
..and so on ...
collect2: ld returned 1 exit status

What do I have to do to avoid these "undefined references"?

Georg

Subject: Re: [nanogui] NXLIB problem
From: "Greg Haerr" ####@####.####
Date: 20 Jun 2011 21:57:48 -0000
Message-Id: <095501cc2f95$15f01570$0300a8c0@RDP>

: Then I downloaded xclock.c to see if it would compile with libNX11.a. 
: However, I get these error messages:
: 
: gcc -I/djgpp/include/mwin -o xclock.exe 
: xclock.c -lNX11 -lnano-X -lz -lfreetype
: 
: e:/djgpp/tmp/ccMR4PGM.o:xclock.c:(.text+0x2fd): undefined reference to 
: `_XtDisplayOfObject'

Obviously xclock uses the Xt toolkit, so you'll need to link with
the X11 Xt library as well.  This may be hidden in athena widgets,
I'm not sure.  Generally, as soon as the programs start requiring
Xt and additional toolkits, the "resource manager" itself gets so
damn large that the whole project isn't well suited to embedded
use.

Regards,

Greg

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


Powered by ezmlm-browse 0.20.