Hi there,
I have a problem for building MITK with VTK6.2.0.
My building environment is bellow:
- Ubuntu 14.04
- Use VTK6.2.0
- Use ITK4.8.2
- Use Boost
And my cmake options for building VTK is bellow:
cmake -DVTK_QT_VERSION:STRING=5 \
-DQT_QMAKE_EXECUTABLE:PATH=path/to/Qt5/gcc_64/bin/qmake \
-DCMAKE_PREFIX_PATH:PATH=path/to/Qt5/gcc_64/lib/cmake \
-DVTK_Group_Qt:BOOL=ON \
-DVTK_USE_ANSI_STDLIB:BOOL=ON \
-DBUILD_DOCUMENTATION:BOOL=OFF \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DVTK_USE_BOOST:BOOL=ON \
-DVTK_USE_GUISUPPORT:BOOL=ON \
-DVTK_USE_QT:BOOL=ON \
-DVTK_USE_QTCHARTS:BOOL=ON \
-DBoost_INCLUDE_DIR:PATH=path/to/boost \
-DVTK_QT_USE_WEBKIT:BOOL=OFF \
And my cmake options for building MITK is bellow:
cmake -DCMAKE_PREFIX_PATH:PATH=path/to/Qt5/gcc_64/ \
-DVTK_DIR=path/t/VTK-build \
-DModule_ITKVtkGlue:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF\
${path_to_mitk}
Then, I have bellow error message:
-- Configuring incomplete, errors occurred!
See also
"/home/vagrant/KyotoPJ/mitk2015.05.2/mitk2015.05.2-src/CMakeFiles/CMakeOutput.log".
See also
"/home/vagrant/KyotoPJ/mitk2015.05.2/mitk2015.05.2-src/CMakeFiles/CMakeError.log".
-- Performing Test HAS_FLAG_-std=c11
-- Performing Test HAS_FLAG_-std=c11 - Success
-- Generated:
/home/vagrant/KyotoPJ/mitk2015.05.2/mitk2015.05.2-src/Project.xml
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing Test HAS_CXX_FLAG__Wno_error=gnu
-- Performing Test HAS_CXX_FLAG__Wno_error=gnu - Failed
-- Performing Test HAS_C_FLAG__Wno_error=gnu
-- Performing Test HAS_C_FLAG__Wno_error=gnu - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=unknown_pragmas
-- Performing Test HAS_CXX_FLAG__Wno_error=unknown_pragmas - Success
-- Performing Test HAS_C_FLAG__Wno_error=unknown_pragmas
-- Performing Test HAS_C_FLAG__Wno_error=unknown_pragmas - Success
-- Performing Test HAS_CXX_FLAG__Wno_error=strict_overflow
-- Performing Test HAS_CXX_FLAG__Wno_error=strict_overflow - Success
-- Performing Test HAS_C_FLAG__Wno_error=strict_overflow
-- Performing Test HAS_C_FLAG__Wno_error=strict_overflow - Success
-- Performing Test HAS_CXX_FLAG__Wno_error=c0x_static_nonintegral_init
-- Performing Test HAS_CXX_FLAG__Wno_error=c0x_static_nonintegral_init -
Failed
-- Performing Test HAS_C_FLAG__Wno_error=c0x_static_nonintegral_init
-- Performing Test HAS_C_FLAG__Wno_error=c0x_static_nonintegral_init -
Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=static_member_init
-- Performing Test HAS_CXX_FLAG__Wno_error=static_member_init - Failed
-- Performing Test HAS_C_FLAG__Wno_error=static_member_init
-- Performing Test HAS_C_FLAG__Wno_error=static_member_init - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=unknown_warning
-- Performing Test HAS_CXX_FLAG__Wno_error=unknown_warning - Failed
-- Performing Test HAS_C_FLAG__Wno_error=unknown_warning
-- Performing Test HAS_C_FLAG__Wno_error=unknown_warning - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=inconsistent_missing_override
-- Performing Test HAS_CXX_FLAG__Wno_error=inconsistent_missing_override -
Failed
-- Performing Test HAS_C_FLAG__Wno_error=inconsistent_missing_override
-- Performing Test HAS_C_FLAG__Wno_error=inconsistent_missing_override -
Failed
-- Performing Test
HAS_CXX_FLAG__fvisibility=hidden_fvisibility_inlines_hidden
-- Performing Test
HAS_CXX_FLAG__fvisibility=hidden_fvisibility_inlines_hidden - Success
-- Performing Test HAS_CXX_FLAG__O1_D_FORTIFY_SOURCE=2
-- Performing Test HAS_CXX_FLAG__O1_D_FORTIFY_SOURCE=2 - Success
CMake Error at
/home/vagrant/KyotoPJ/vtk6.2/VTK-6.2.0/CMake/vtkModuleAPI.cmake:120
(message):
Requested modules not available:
vtkTestingRendering
Call Stack (most recent call first):
/home/vagrant/KyotoPJ/vtk6.2/VTK-6.2.0-build/VTKConfig.cmake:67
(vtk_module_config)
CMake/PackageDepends/MITK_VTK_Config.cmake:1 (find_package)
CMake/mitkFunctionUseModules.cmake:101 (include)
CMake/mitkFunctionUseModules.cmake:180 (_include_package_config)
CMake/mitkFunctionCreateModule.cmake:622 (mitk_use_modules)
Modules/Core/TestingHelper/CMakeLists.txt:1 (mitk_create_module)
-- Configuring incomplete, errors occurred!
See also
"/home/vagrant/KyotoPJ/mitk2015.05.2/mitk2015.05.2-src/CMakeFiles/CMakeOutput.log".
See also
"/home/vagrant/KyotoPJ/mitk2015.05.2/mitk2015.05.2-src/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Please teach me how to build MITK with VTK6.2.0.
Regards,
taisho
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users