[Mesa-dev] OSMesa glapi linlking

Kevin H. Hobbs hobbsk at ohio.edu
Wed Jan 25 08:40:18 PST 2012


My build of OSMesa from git is failing:

./autogen.sh \
  --prefix=/home/kevin/mesa_osmesa/ \
  --disable-dri \
  --disable-glx \
  --enable-osmesa


/bin/sh ../../../../bin/mklib -o OSMesa -linker 'g++' -ldflags '' \
        -major 8 -minor 0 -patch 0 \
        -install ../../../../lib -cplusplus  \
        -id /home/kevin/mesa_osmesa/lib/libOSMesa.8.dylib \
        -L../../../../lib -lglapi -L../../../../lib  -lm -lpthread  -ldl
osmesa.o ../../../../src/mesa/libmesa.a
../../../../src/mapi/glapi/libglapi.a ../../../../src/glsl/libglsl.a
mklib: Making Linux shared library:  libOSMesa.so.8.0.0
/usr/bin/ld: cannot find -lglapi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120125/e9be8be8/attachment.pgp>


More information about the mesa-dev mailing list