Danushka "silvermace" Abeysuriya

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

1 Comment to Getting FCollada to compile with VC++ 2008

  1. August 26, 2009 at 12:14 am | Permalink

    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?

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>