Compile xdemo.c will get the error,

-----

:/home/veelion/drivers/Mesa/progs/xdemos/xdemo.c:183: undefined
reference to `XMesaCreateContext'

:/home/veelion/drivers/Mesa/progs/xdemos/xdemo.c:191: undefined
reference to `XMesaCreateWindowBuffer'

:/home/veelion/drivers/Mesa/progs/xdemos/xdemo.c:198: undefined
reference to `XMesaMakeCurrent'

----------

My Mesa is compiled by "make linux-dri", so mesa/src/mesa/driver/x11,
which define XMesaCreateContext', was not be compiled to libGL.so?

And I saw the information in the file,

/*

 * Very simple demo of how to use the Mesa/X11 interface instead of the

 * glx, tk or aux toolkits.  I highly recommend using the GLX interface

 * instead of the X/Mesa interface, however.

 *

 * This program is in the public domain.

 *

 * Brian Paul

 */

Does this mean, "make linux-dri" will compile the glx interface, but not
include Mesa/X11 interface? So xdemo.c can't fine de definition of
XMesaCreateContext'?

 

Thanks,

--Veelion

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to