[Mesa-dev] OSMesa glapi linlking

Kevin H. Hobbs hobbsk at ohio.edu
Mon Jan 30 07:56:56 PST 2012


On 01/25/2012 05:20 PM, Jon TURNEY wrote:
> 
> ... and reverting "always build shared glapi" didn't wrap this line above in
> ifeq ($(SHARED_GLAPI),1)/endif, since it wasn't there before.
> 
> 
> Sigh.
> 
> I guess you could try the attached.


$ git apply
~/Download/0001-Don-t-try-to-link-OSMesa-with-shared-glapi-unless-sh.patch
/home/kevin/Download/0001-Don-t-try-to-link-OSMesa-with-shared-glapi-unless-sh.patch:24:
trailing whitespace.
ifeq ($(SHARED_GLAPI),1)
/home/kevin/Download/0001-Don-t-try-to-link-OSMesa-with-shared-glapi-unless-sh.patch:26:
trailing whitespace.
endif
error: patch failed: src/mesa/drivers/osmesa/Makefile:25
error: src/mesa/drivers/osmesa/Makefile: patch does not apply


I tried with just the lines added manually and almost every VTK test
gives me:

osmesa.c:892: OSMesaMakeCurrent: Assertion `osmesa->srb->Base.RefCount
== 2' failed.

-------------- 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/20120130/c0fba0f7/attachment.pgp>


More information about the mesa-dev mailing list