[Mesa-users] Building libgl-gdi on Windows fails with "opengl32.def is static and is not compatible with shared target"

Koehne Kai Kai.Koehne at digia.com
Fri Jul 25 00:33:15 PDT 2014


> -----Original Message-----
> From: mesa-users [mailto:mesa-users-bounces at lists.freedesktop.org] On
> Behalf Of Koehne Kai
> Sent: Thursday, July 24, 2014 12:26 PM
> To: mesa-users at lists.freedesktop.org
> Subject: [Mesa-users] Building libgl-gdi on Windows fails with "opengl32.def
> is static and is not compatible with shared target"
> 
> Hi,
> 
> I'm trying to build opengl32.dll on Windows (tried both 10.2.2, 10.0.2), and I'm
> _almost_ there. But linking fails with
> 
> scons: *** [build\windows-x86\gallium\targets\libgl-gdi\opengl32.dll]
> Source file: src\gallium\state_trackers\wgl\opengl32.def is static and is not
> compatible with shared target: build\windows-x86\gallium\targets\libgl-
> gdi\opengl32.dll


In case anybody runs into this, too: It's an issue with scons version 2.3.2, and has been reported already:

http://scons.tigris.org/issues/show_bug.cgi?id=2966

Rolling back to e.g. version 2.3.1 seems to help.

Regards

Kai


More information about the mesa-users mailing list