Open InkSpade opened 4 years ago
I just changed lines 21-28 in CMakeLists to:
if (CMAKE_COMPILER_IS_GNUCC) execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION) string(REGEX MATCHALL "[0-9]+" GCC_VERSION_COMPONENTS ${GCC_VERSION}) list(GET GCC_VERSION_COMPONENTS 0 GCC_MAJOR) list(GET GCC_VERSION_COMPONENTS 0 GCC_MINOR)
message(STATUS "GCC Major Version is " ${GCC_MAJOR})
message(STATUS "GCC Major Version is " ${GCC_MINOR})
endif()
Comment/remove that if : lines from 22 to 31
jensen@jensen-ThinkPad-T480:~/fastfusion-master/build$ cmake .. CMake Error at CMakeLists.txt:27 (list): list index: 1 out of range (-1, 0)
-- GCC Major Version is 7 -- GCC Major Version is -- Number of avx2 occurrences in /proc/cpuinfo: 8 -- Compiling with AVX2 support -- PROJECT_SOURCE_DIR is /home/fcl/fastfusion-master -- Found qglviewer2, linking QGLViewer -- Configuring incomplete, errors occurred! See also "/home/jensen/fastfusion-master/build/CMakeFiles/CMakeOutput.log". See also "/home/jensen/fastfusion-master/build/CMakeFiles/CMakeError.log".
Has anyone encountered the same problem as me?