[Mesa-dev] OSMesa glapi linlking

Jon TURNEY jon.turney at dronecode.org.uk
Wed Jan 25 14:20:54 PST 2012


On 25/01/2012 21:54, Matt Turner wrote:
> On Wed, Jan 25, 2012 at 4:45 PM, Kevin H. Hobbs <hobbsk at ohio.edu> wrote:
>> On 01/25/2012 02:03 PM, Matt Turner wrote:
>>> On Wed, Jan 25, 2012 at 1:42 PM, Kevin H. Hobbs <hobbsk at ohio.edu> wrote:
>>>
>>> Maybe try reverting 4e5a8937d1a1bfb2a3bd067ed01e036728675fc2?
>>
>>
>> So this change is just the line
>>
>> OSMESA_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB)
>> $(OSMESA_LIB_DEPS)
>>
>> So I commented that out.
>>
>> I now get an OSMesa library.
>>
>> I do not get a shared libglapi.so in lib nor is one installed in
>> the install step.
> 
> Right, unless you're compiling with --enable-shared-glapi, you won't
> get libglapi.so. I had to revert that change since it shared-glapi
> doesn't work with Xlib-glx apparently.

... 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Don-t-try-to-link-OSMesa-with-shared-glapi-unless-sh.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120125/3617b7c0/attachment.ksh>


More information about the mesa-dev mailing list