svgren: VS2019 link error with zlib_static.1.2.11.4
We want to change our svgren projekt to VS2019. Everything compiles links and runs fine in the debug version. On linking the release Version I get the following error:
linking ... LINK : fatal error C1047: The object or library file 'E:\sae\nfs\VC2019\packages\zlib_static.1.2.11.4\build\native\..\..\\build\native\lib\Win32\v142\Release\MultiThreadedDLL\zlib.lib' was created with an older compiler than other objects; rebuild old objects and libraries LINK : fatal error LNK1257: code generation failed Done building project "Setit.vcxproj" -- FAILED.
I think it’s a problem with the static zlib library.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (11 by maintainers)
Thanks for the hint. I think we had some merge problems with swapping to VS2019. Removing the obsolete libraries worked well too!
I have rebuilt the
zlib_staticpackage with VS2019 16.4.3, now the package version is 1.2.11.5. Could you try to update it and see if it helps?ok, let me see if I can reproduce it on my end