Xlib

i’m trying to compile an application under QNX, this application is based
in xlib, i had installed the X window system for QNX, when I compile the program
i get the following message "X11/Xlib.h: No such file or directory
haw i con figure the path to that library

Thanks

Superuser <root@qnx.com> wrote:
Hello,

i’m trying to compile an application under QNX, this application is based
in xlib, i had installed the X window system for QNX, when I compile the program
i get the following message "X11/Xlib.h: No such file or directory
haw i con figure the path to that library

try qcc … -I/usr/X11R6/include/X11 …
Also make sure you have /usr/X11R6/lib in your LD_LIBRARY_PATH path
echo $LD_LIBRARY_PATH

Regards,

Marcin

\

Thanks

Thanks marcin .it’s work fine.

But now i compile my application (i’m trying with a basic Xlib application
from the tutorial), and i get the following messages:

Variable or method XopenDisplay not found
Variable or method XCreateSimpleWindow not found
Variable or method DefaultScreen not found etc…

I don’t know if it’s an old version what i have, or anything else.
it’s like references to method that library don’t have.
I really appreciate any help.
thanks
Luis




“Tools Mail Account” <tools@qnx.com> escribió en el mensaje
news:9r1c06$f41$1@nntp.qnx.com

Superuser <> root@qnx.com> > wrote:
Hello,

i’m trying to compile an application under QNX, this application is
based
in xlib, i had installed the X window system for QNX, when I compile the
program
i get the following message "X11/Xlib.h: No such file or directory
haw i con figure the path to that library

try qcc … -I/usr/X11R6/include/X11 …
Also make sure you have /usr/X11R6/lib in your LD_LIBRARY_PATH path
echo $LD_LIBRARY_PATH

Regards,

Marcin


Thanks