Skip to content
Jul 28 / Danushka

Getting FCollada to compile with VC++ 2008

When trying to build from the converted VC2005 solution file, you will encounter quite a few errors regarding mismatching declaration of _vsnprintf.

error C3163: '_vsnprintf': attributes inconsistent with previous declaration

the last post in this thread clarifies how this error arrises in common practice. To get it to compile I commented out these lines:

  • FUtils\Platforms.h:145
  • LibXML\config.h:92
  • LibXML\include\win32config.h:90
  • DLLEntry:40 (this one was just a missing symbol or something deprecated in new the PSDK shipping with VC9, the case statement is empty so commenting it out should have no effect)

I should clearly note that I haven’t tested it (running etc.), I simply got it to build to help save our tools guy a bit of time. I should also note that the Unit Tests (FColladaTest) project builds but returns about 60 linker errors. I just thought I’d post here to save someone a bit of hassle if they should run into this error.

FCollada version was 3.05B Win32

-Danu

2 Comments

leave a comment
  1. Waaao / Aug 26 2009

    Wow, this is very useful, and I can use it on my VC 2008. Thanks a lot! ^_^.
    By the way, can the fcollada to be compiled into a static library?

  2. yosshi / Mar 28 2011

    FColladaTest project could be built successfully for both `Debug Unicode DLL’ and `Release Unicode DLL’ targets.
    But I didn’t test it yet.
    Thank you for your information.

Leave a Comment