[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
NxLib question: "define _XP_PRINT_SERVER_"??
From: Talmai Oliveira ####@####.#### Date: 3 Apr 2007 14:58:53 +0100 Message-Id: <46125D66.70506@talmai.com.br> Can anyone enlighten me on what this define does? _XP_PRINT_SERVER_ Whenever I try to cross-compile Nxlib I get an error: **** arm-linux-gcc -Wall -g -I/gertec/cpuarm/microwin/src/include -DX11_FONT_DIR1=\"/usr/lib/X11/fonts/100dpi\" -DX11_FONT_DIR2=\"/usr/lib/X11/fonts/misc\" -DX11_RGBTXT=\"/usr/lib/X11/rgb.txt\" -I. -fPIC -o Quarks.o -c Quarks.c In file included from Quarks.c:52: Xresource.h:55: X11/Xlib.h: No such file or directory **** This also occurs when I try to compile Xrm.c *** arm-linux-gcc -Wall -g -I/gertec/cpuarm/microwin/src/include -DX11_FONT_DIR1=\"/usr/lib/X11/fonts/100dpi\" -DX11_FONT_DIR2=\"/usr/lib/X11/fonts/misc\" -DX11_RGBTXT=\"/usr/lib/X11/rgb.txt\" -I. -fPIC -o Xrm.o -c Xrm.c In file included from Xrm.c:54: Xresource.h:55: X11/Xlib.h: No such file or directory *** I can get both to compile by adding a "-I /usr/X11R6/include/" to it... But it all boils down to Xresource.h defines' which I havent been able to understand what the define could mean. thanks talmai | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] NxLib question: "define _XP_PRINT_SERVER_"??
From: "Greg Haerr" ####@####.#### Date: 4 Apr 2007 16:21:37 +0100 Message-Id: <286a01c776cc$d8ed6130$0300a8c0@RDP> : _XP_PRINT_SERVER_ : Xresource.h:55: X11/Xlib.h: No such file or directory : I can get both to compile by adding a "-I /usr/X11R6/include/" to it... : But it all boils down to Xresource.h defines' When designing NXLIB, we decided to use unmodified X11 header files for implementation. Both the above issues are related to issues in the X11 Xresource.h file. _XP_PRINT_SERVER_ isn't used by NXLIB, and the #include fix is as you're using, adding a -I path to the make. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |