Re: Building libgl-gdi on Windows fails with "opengl32.def is static and is not compatible with shared target"

Koehne Kai <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
> -----Original Message-----
> From: mesa-users [mailto:[email protected]] On
> Behalf Of Koehne Kai
> Sent: Thursday, July 24, 2014 12:26 PM
> To: [email protected]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.