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

**URL:** <https://forums.imgtec.com/t/cant-link-pvrtexlib-lib-statically-under-visual-studio-2015-from-3-5-sdk/2342>\
**Category:** PowerVR Insider\
**Tags:** pvrtextool\
**Created:** [August 4, 2015, 5:02am UTC](https://forums.imgtec.com/t/cant-link-pvrtexlib-lib-statically-under-visual-studio-2015-from-3-5-sdk/2342 "2015-08-04T05:02:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mad\_rain](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mad\_rain](https://forums.imgtec.com/u/mad_rain)\
**Post date:** [August 4, 2015, 5:02am UTC](https://forums.imgtec.com/t/cant-link-pvrtexlib-lib-statically-under-visual-studio-2015-from-3-5-sdk/2342/1 "2015-08-04T05:02:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![PaulLy](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@PaulLy](https://forums.imgtec.com/u/PaulLy)\
**Post date:** [August 4, 2015, 9:02am UTC](https://forums.imgtec.com/t/cant-link-pvrtexlib-lib-statically-under-visual-studio-2015-from-3-5-sdk/2342/2 "2015-08-04T09:02:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mike2](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@mike2](https://forums.imgtec.com/u/mike2)\
**Post date:** [August 9, 2015, 8:23am UTC](https://forums.imgtec.com/t/cant-link-pvrtexlib-lib-statically-under-visual-studio-2015-from-3-5-sdk/2342/3 "2015-08-09T08:23:37Z")

</div>

Please release an update for Visual Studio 2015. 🙂

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!
