I just installed VS2010 and I'm trying to recompile log4cxx. So far, I haven't gotten very far. I've previously been able to build on VS2005 without any problems.
I downloaded apache-log4cxx-0.10.0.zip, apr-1.4.2-win32-src.zip and apr-util-1.3.9-win32.zip. Unzipped them all, renamed the apr and apr-util directories. Ran configure.bat and configure-aprutil.bat successfully. Loaded projects/log4cxx.dsw. VisualStudio 2010 converted the project into a solution and I set the active project to log4cxx and started to build. The apr, aprutil and xml projects all seem to build successfully. The log4cxx project gives me a seemingly endless stream of errors: 4> appenderattachableimpl.cpp 4>C:\dev\ExtLibs\apache\apache-log4cxx-0.10.0\src\main\include\log4cxx/spi/loggingevent.h(155): error C2252: an explicit instantiation of a template can only occur at namespace scope 4>C:\dev\ExtLibs\apache\apache-log4cxx-0.10.0\src\main\include\log4cxx/spi/loggingevent.h(155): error C2252: an explicit instantiation of a template can only occur at namespace scope 4> appenderskeleton.cpp 4>C:\dev\ExtLibs\apache\apache-log4cxx-0.10.0\src\main\include\log4cxx/spi/loggingevent.h(155): error C2252: an explicit instantiation of a template can only occur at namespace scope 4>C:\dev\ExtLibs\apache\apache-log4cxx-0.10.0\src\main\include\log4cxx/spi/loggingevent.h(155): error C2252: an explicit instantiation of a template can only occur at namespace scope and this goes on for a long time with similar errors happening in other files as well. loggingevent.h line 155 is: LOG4CXX_LIST_DEF(KeySet, LogString); Has anybody else compiled successfully with VS2010? Any clues as to what the compiler is complaining about? Thanks, cory