vtk6.3 CMAKE with ECLIPSE CDT4 - UNIX MAKEFILE in Ubuntu OS
- Environment: Ubuntu 20.04 LST
- Compiler: g++ 9.0
- CMAKE: ECLIPSE CDT4 - UNIX MAKEFILE
I am trying to run Cmake for vtk6.3 in Ubuntu using compiler ECLIPSE CDT4 - UNIX MAKEFILE. I have also tried with ECLIPSE CDT4 - Ninja. I am facing some issue while running configuration. Is vtx not compatible with ubuntu OS? Or am i using wrong compiler? or wrong CMAKE generator
LOG of Cmake Configuration:
The C compiler identification is GNU 9.3.0
The CXX compiler identification is GNU 9.3.0
Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Setting build type to 'Debug' as none was specified.
Performing Test HAVE_GCC_ERROR_RETURN_TYPE
Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
Performing Test HAVE_GCC_VISIBILITY
Performing Test HAVE_GCC_VISIBILITY - Success
CMake Error at CMake/vtkCompilerExtras.cmake:47 (if):
if given arguments:
"cc: error: ARGS: No such file or directory
cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software" " see the source for copying conditions. There is
NO
warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
" "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
"HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
"AND" "NOT" "CYGWIN"
Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:283 (include)
Configuring incomplete, errors occurred!
See also "/home/cmake6.3/CMakeFiles/CMakeOutput.log".
Edited by Mathieu Westphal (Kitware)