Skip to content

Fix linker error with MinGW

Boris Basic requested to merge borisb/glew:fix-mingw-comp into for/vtk-old

This fixes linker error with MinGW and supersedes !1 (closed). It requires using the -nostdlib flag as described here: https://stackoverflow.com/questions/38673228/multiple-definition-of-dllmaincrtstartup12-while-building-glew-on-windows-wit or https://github.com/nigels-com/glew/issues/157.

@ben.boeckel Could this be merged as well in VTK release 8.2 as this is the last remaining issue with MinGW.

Merge request reports