I just tried getting it compiling for a few hours with VS 2008 - tried svn version and the 2.4 release, but so far no success (VS 2010 works even less, didn't try mingw much yet as first try it automatically wanted to build for ps3).
I could figure out a few things...
- language extensions in VC 2008 project files are disabled - must be enabled to get Windows SDK headers compiling.
- Probably because very old zlib is in externel-libs the following have to be changed in daeLIBXMLPlugin.cpp (or zlib/minizip updated):
zlib_filefunc64_def -> zlib_filefunc_def
fill_win32_filefunc64A -> fill_win32_filefunc
zipOpen2_64 -> zipOpen2
zipOpenNewFileInZip3_64 -> zipOpenNewFileInZip3 (also remove last parameter zip64)
Not so sure about that one (maybe not needed):
Cannot open source file: '..\..\src\dae\domAny.cpp': No such file or directory
But then came the namespace troubles - and there are just too many to solve that quickly. Maybe I'm still missing something. I could figure out there's a define COLLADA_DOM_USING_141 which I can set. And to get around the stupid get around stupid error C2871 in VS (a namespace with this name does not exist) I just defined a namespace for that in daeTypes.h when that define is used. But there's still a few hundreds of ambiguous symbol warnings as the forward declarations all don't care about the namespace - no idea right now how to get that working (except working on it a few hours and setting the namespace for each when the corresponding define is set).
So if anyone has a hint how to compile the viewer for Windows I would appreciate it. Or if someone has already a finished compiled version which works that would be nice as well.