Can't link PVRTexLib.lib statically under Visual Studio 2015 from 3.5 SDK

Hi!

I’m getting the following link errors under VS 2015. When do you plan to add support of VS 2015 for your static libs?

2>PVRTexLib.lib(PVRTString.obj) : error LNK2019: unresolved external symbol __vscprintf referenced in function “class CPVRTString __cdecl PVRTStringFromFormattedStr(char const *,…)” (?PVRTStringFromFormattedStr@@YA?AVCPVRTString@@PBDZZ)
2>PVRTexLib.lib(PVRTString.obj) : error LNK2019: unresolved external symbol __vsprintf_p referenced in function “class CPVRTString __cdecl PVRTStringFromFormattedStrPositional(char const *,…)” (?PVRTStringFromFormattedStrPositional@@YA?AVCPVRTString@@PBDZZ)
2>PVRTexLib.lib(PVRTString.obj) : error LNK2019: unresolved external symbol __vscprintf_p referenced in function “class CPVRTString __cdecl PVRTStringFromFormattedStrPositional(char const *,…)” (?PVRTStringFromFormattedStrPositional@@YA?AVCPVRTString@@PBDZZ)
2>PVRTexLib.lib(tools.obj) : error LNK2019: unresolved external symbol _vprintf referenced in function _printf_flush

For various reasons we don’t intend to use static libraries for PVRTexTool in future. As such you should link to the dynamic library instead.

Please release an update for Visual Studio 2015. :slight_smile:

I experience the same issue and would love to statically link to PVRTexTool, with Multithreaded-DLL runtime library.

It comes with a brand new compiler, so it is really worth it!