texture tools and Visual Studio 2008

I’m trying to build the texture tools with VS 2008 and used Cmake to build project files. Is this supported?

I’m getting the following error several times:

Error 1 error C3163: ‘_vsnprintf’: attributes inconsistent with previous declaration c:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h 358 nvtt

Any ideas on how to fix this?