[vtk-developers] long time, no build

Brad King brad.king at kitware.com
Mon Feb 9 16:07:17 EST 2004


Chris Volpe wrote:
> Ok, it’s been a while since I did a “cvs update –d” and rebuilt. I tried 
> today, and got a boatload of compilation errors. After checking the 
> dashboard and reviewing the messages in the mailing list for anything I 
> might need to do to keep up with the VTK5-related changes, I started 
> investigating the output in more detail and looking at the code. The 
> first thing I noticed was a bunch of namespace-related issues, 
> particularly with “string” not being a member of “global namespace”.  I 
> tracked this down to a VTK_NO_STD_NAMESPACE definition in 
> vtkconfigure.h, which gets generated by processing vtkconfigure.h.in. 
> So, for kicks, I commented out that #define from vtkconfigure.h, which 
> helped a great bit, but there were similar problems in Utilities\DICOM* 
> that were not influenced by the change. So, it appears that Cmake is 
> making the wrong decision now regarding some of the configuration info 
> it’s generating. Since I haven’t changed compilers (I’m using .NET 2003 
> on XP), and since I can’t seem to find a relevant setting in CMake 
> Setup, even with advanced values turned on, I figure I must be missing 
> something. Any ideas? Thanks in advance.

Please try the build with a fresh build tree (no existing 
CMakeCache.txt).  It's possible that the names of some of the test 
results are conflicting with old cache values from some previous version 
from CVS.

-Brad




More information about the vtk-developers mailing list