On 07.02.2015 2:55, Norbert Pfeiler wrote: > Hello, > it seems to be an issue that the 32 bit crt ships with a glut import > library which is an ambigious match to freeglut for cmake. > > The package mingw-w64-i686-crt-git ships with > /mingw32/i686-w64-mingw32/lib/libglut32.a and > /mingw32/i686-w64-mingw32/lib/libglut.a as import libraries for the outdated > glut32.dll.> The first one is fine, but if one tries to use cmake to find > freeglut, FindGLUT.cmake will prefer the second one to the freeglut one.> It’s > an ok thing to do for the mingw-crt to ship an import library for glut32.dll > even though gcc can also directly link to it and the *.dll is also not > shipped, > but the ambiguity for the second one wrt freeglut is surprising and most > likely > unwanted.
I'm a bit unclear on this. In my builds (not very standard, admittedly) i have libglut.a and libglut.dll.a from freeglut installed into /mingw/lib, overwriting the libglut.a from the mignw-w64 crt package. Is it a feature of the MinGW-w64 toolchain shipped by MSYS2 packager - does it treat CRT package in a special way, keeping it in a separate location and preventing other packages (like freeglut) from overwriting its files? Also, as an aside, i don't have glut.dll or glut32.dll in my Windows system directories (NT 6.1 here). Is this an NT 5.x thing? Or is it installed by (some?) GPU drivers? -- O< ascii ribbon - stop html email! - www.asciiribbon.org
0x922360B0.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
