Hi, I upgraded our MITK fork to v2015.05.0. It builds with no problems. However, when I try to build it as part of our superbuild, I get this error:
<command-line>:0:0: error: "vtkRenderingCore_AUTOINIT" redefined [-Werror] <command-line>:0:0: note: this is the location of the previous definition cc1plus: all warnings being treated as errors I found this in MITK-build/Modules/Core/CMakeFiles/MitkCore.dir/DependInfo.cmake that might cause the problem. ------------- # Preprocessor definitions for this target. set(CMAKE_TARGET_DEFINITIONS "ITK_IO_FACTORY_REGISTER_MANAGER" "US_MODULE_NAME=MitkCore" "vtkRenderingCore_AUTOINIT=3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)" "vtkRenderingCore_AUTOINIT=4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)" "vtkRenderingVolume_AUTOINIT=1(vtkRenderingVolumeOpenGL)" ) ----------------- Any idea how does this conflicting dependency get there? Cheers, Miklos
------------------------------------------------------------------------------
_______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
