Closed biexiangduo closed 4 years ago
What operating system/compiler are you using?
What operating system/compiler are you using?
Ubuntu 16.04
With GCC? Which version? Strange that it doesnt support the constexpr
in the if.
With GCC? Which version? Strange that it doesnt support the
constexpr
in the if.
pf@pf-N95TP6:~$ gcc --version gcc (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 Copyright (C) 2015 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.
pf@pf-N95TP6:~$ g++ --version g++ (Ubuntu/Linaro 4.7.4-3ubuntu12) 4.7.4 Copyright (C) 2012 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.
Oh, it looks like if constexpr (...){
is a C++17 addition. It looks like your version of GCC might not support it.
Mr, thanks for your reply and hope a good day without bug bothering.
Yes, according to this it was added in GCC 7.
Mr, when I install gcc-7 g++-7 problem still exist,logs as follow:
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:2661:5: error: 'inline' can only appear on functions _GLIBCXX17_INLINE constexpr bool is_swappable_v = ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/x86_64-linux-gnu/c++/7.5.0/bits/c++config.h:127:29: note: expanded from macro '_GLIBCXX17_INLINE'
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:2666:5: error: 'inline' can only appear on In file included from In file included from /home/pf/IPC/src/Config.cpp:8
Standard debugging things:
build
directory and building again?CMAKE_CXX_COMPILER
and CMAKE_C_COMPILER
point to the correct compiler?It looks like the error is coming from a standard library function which we include. Perhaps it is including the right file, but using the wrong compiler.
Standard debugging things:
- Did you try deleting the
build
directory and building again?- Did you check the CMake variables
CMAKE_CXX_COMPILER
andCMAKE_C_COMPILER
point to the correct compiler?It looks like the error is coming from a standard library function which we include. Perhaps it is including the right file, but using the wrong compiler.
Mr, problem solved when I install clang-6.0 rather than clang-3.8.This is one of the best projects I have ever tested.
Great! Glad to hear it
hello,thanks for your project.It's amazing that project can search dependence and clone and make it automatically. when I run the command:"python build.py",it met error in the step of "make"
pf@pf-N95TP6:~/IPC$ python build.py -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is Clang 3.8.0 -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found BLAS: /usr/lib/libopenblas.so
-- Found AMD headers in: /usr/include/suitesparse -- Found AMD library: /usr/lib/x86_64-linux-gnu/libamd.so -- Found CAMD headers in: /usr/include/suitesparse -- Found CAMD library: /usr/lib/x86_64-linux-gnu/libcamd.so -- Found COLAMD headers in: /usr/include/suitesparse -- Found COLAMD library: /usr/lib/x86_64-linux-gnu/libcolamd.so -- Found CCOLAMD headers in: /usr/include/suitesparse -- Found CCOLAMD library: /usr/lib/x86_64-linux-gnu/libccolamd.so -- Found CHOLMOD headers in: /usr/include/suitesparse -- Found CHOLMOD library: /usr/lib/x86_64-linux-gnu/libcholmod.so -- Found SUITESPARSEQR headers in: /usr/include/suitesparse -- Found SUITESPARSEQR library: /usr/lib/x86_64-linux-gnu/libspqr.so -- Found SUITESPARSE_CONFIG headers in: /usr/include/suitesparse -- Found SUITESPARSE_CONFIG library: /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so -- Found LIBRT library: /usr/lib/x86_64-linux-gnu/librt.so -- Adding librt: /usr/lib/x86_64-linux-gnu/librt.so to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing). -- Found METIS headers in: /usr/include -- Found METIS library: /usr/lib/x86_64-linux-gnu/libmetis.so -- Found SuiteSparse: TRUE (found version "4.4.6") Cloning into 'osqp'... HEAD is now at e2b6fdb... Added bintray override to package deployment Cloning into 'lin_sys/direct/qdldl/qdldl_sources'... -- We are on a Linux system -- Embedded is OFF -- Printing is ON -- Profiling is ON -- User interrupt is ON -- Floats are OFF -- Long integers (64bit) are OFF -- Code coverage is OFF -- MKL Pardiso: ON -- Floats are OFF -- Long integers (64bit) are OFF Cloning into 'libigl'... HEAD is now at b0d7740... Use edge length from mesh in
igl::dijkstra
. (#1170) Cloning into 'eigen'... HEAD is now at cf794d3... bump to 3.3.7 -- Creating target: igl::core (igl) -- Creating target: igl::opengl (igl_opengl) -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.soCloning into 'glad'... HEAD is now at 09b4969... Update CMakeLists.txt -- Creating target: igl::opengl_glfw (igl_opengl_glfw) Cloning into 'glfw'... HEAD is now at b079610... Documentation work -- Using X11 for window creation -- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Creating target: igl::opengl_glfw_imgui (igl_opengl_glfw_imgui) Cloning into 'imgui'... HEAD is now at ebe79bb... Demo: Custom rendering: Minor sizing issue fix. Cloning into 'libigl-imgui'... HEAD is now at 07ecd38... Update to imgui 1.66b. Cloning into 'stb'... HEAD is now at cd0fa3f... Merge pull request #2 from w-m/master -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Creating target: igl::png (igl_png) Cloning into 'tetgen'... HEAD is now at c63e7a6... Fix a stack-buffer overflow in predicates.cxx -- Creating target: igl::tetgen (igl_tetgen) Cloning into 'triangle'... HEAD is now at d284c4a... Avoid symbol collision with predicates (https://github.com/libigl/libigl/issues/1168). -- Creating target: igl::triangle (igl_triangle) Cloning into 'predicates'... HEAD is now at 4c57c1d... Revert "Avoid symbol collision with triangle." -- Creating target: igl::predicates (igl_predicates) Cloning into 'tbb'... HEAD is now at 344fa84... Build system / CI fixes -- TBB: NOT using libc++. Cloning into 'exact-ccd'... HEAD is now at 305bb6f... Merge pull request #2 from zfergus/master Cloning into 'spdlog'... HEAD is now at 1549ff1... Replace STRING(PREPEND ..) in CMakeLists.txt to support older CMake versions Cloning into 'amgcl'... HEAD is now at 461a66c... Suppress uninitialized variable warning Cloning into 'pyamgcl/pybind11'... Cloning into 'tools/clang'... -- Found Boost: /usr/include (found version "1.58.0") found components: program_options serialization unit_test_framework -- Found OpenMP_C: -fopenmp (found version "4.0") -- Found OpenMP_CXX: -fopenmp=libomp (found version "4.0") -- Found OpenMP: TRUE (found version "4.0")
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") -- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") -- Found MPI: TRUE (found version "3.0")
CMake Warning (dev) at /usr/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to
find_package_handle_standard_args
(METIS) does not match the name of the calling package (Metis). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): external/amgcl/cmake/FindMetis.cmake:24 (find_package_handle_standard_args) external/amgcl/CMakeLists.txt:195 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Found METIS: /usr/include
CMake Warning (dev) at /usr/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to
find_package_handle_standard_args
(SCOTCH) does not match the name of the calling package (Scotch). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): external/amgcl/cmake/FindScotch.cmake:22 (find_package_handle_standard_args) external/amgcl/CMakeLists.txt:196 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Could NOT find SCOTCH (missing: SCOTCH_INCLUDES SCOTCH_LIBRARIES) CMake Warning (dev) at /usr/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to
find_package_handle_standard_args
(PASTIX) does not match the name of the calling package (Pastix). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): external/amgcl/cmake/FindPastix.cmake:11 (find_package_handle_standard_args) external/amgcl/CMakeLists.txt:197 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Could NOT find PASTIX (missing: PASTIX_INCLUDES PASTIX_LIBRARIES) Cloning into 'Catch2'... HEAD is now at 87b745d... v2.10.2 Cloning into 'finite-diff'... HEAD is now at a1b8b56... Fixed name collision in custom_download_project -- Performing Test ISSUPPORTED-Wall -- Performing Test ISSUPPORTED-Wall - Success -- Performing Test ISSUPPORTED-Wextra -- Performing Test ISSUPPORTED-Wextra - Success -- Performing Test ISSUPPORTED-pedantic -- Performing Test ISSUPPORTED-pedantic - Success -- Performing Test ISSUPPORTED-Wunused -- Performing Test ISSUPPORTED-Wunused - Success -- Performing Test ISSUPPORTED-Wno-long-long -- Performing Test ISSUPPORTED-Wno-long-long - Success -- Performing Test ISSUPPORTED-Wpointer-arith -- Performing Test ISSUPPORTED-Wpointer-arith - Success -- Performing Test ISSUPPORTED-Wformat-2 -- Performing Test ISSUPPORTED-Wformat-2 - Success -- Performing Test ISSUPPORTED-Wuninitialized -- Performing Test ISSUPPORTED-Wuninitialized - Success -- Performing Test ISSUPPORTED-Wcast-qual -- Performing Test ISSUPPORTED-Wcast-qual - Success -- Performing Test ISSUPPORTED-Wmissing-noreturn -- Performing Test ISSUPPORTED-Wmissing-noreturn - Success -- Performing Test ISSUPPORTED-Wmissing-format-attribute -- Performing Test ISSUPPORTED-Wmissing-format-attribute - Success -- Performing Test ISSUPPORTED-Wredundant-decls -- Performing Test ISSUPPORTED-Wredundant-decls - Success -- Performing Test ISSUPPORTED-Werror-implicit -- Performing Test ISSUPPORTED-Werror-implicit - Success -- Performing Test ISSUPPORTED-Werror-nonnull -- Performing Test ISSUPPORTED-Werror-nonnull - Success -- Performing Test ISSUPPORTED-Werror-init-self -- Performing Test ISSUPPORTED-Werror-init-self - Success -- Performing Test ISSUPPORTED-Werror-main -- Performing Test ISSUPPORTED-Werror-main - Success -- Performing Test ISSUPPORTED-Werror-missing-braces -- Performing Test ISSUPPORTED-Werror-missing-braces - Success -- Performing Test ISSUPPORTED-Werror-sequence-point -- Performing Test ISSUPPORTED-Werror-sequence-point - Success -- Performing Test ISSUPPORTED-Werror-return-type -- Performing Test ISSUPPORTED-Werror-return-type - Success -- Performing Test ISSUPPORTED-Werror-trigraphs -- Performing Test ISSUPPORTED-Werror-trigraphs - Success -- Performing Test ISSUPPORTED-Werror-array-bounds -- Performing Test ISSUPPORTED-Werror-array-bounds - Success -- Performing Test ISSUPPORTED-Werror-write-strings -- Performing Test ISSUPPORTED-Werror-write-strings - Success -- Performing Test ISSUPPORTED-Werror-address -- Performing Test ISSUPPORTED-Werror-address - Success -- Performing Test ISSUPPORTED-Werror-int-to-pointer-cast -- Performing Test ISSUPPORTED-Werror-int-to-pointer-cast - Success -- Performing Test ISSUPPORTED-Werror-pointer-to-int-cast -- Performing Test ISSUPPORTED-Werror-pointer-to-int-cast - Success -- Performing Test ISSUPPORTED-Wno-unused-variable -- Performing Test ISSUPPORTED-Wno-unused-variable - Success -- Performing Test ISSUPPORTED-Wunused-but-set-variable -- Performing Test ISSUPPORTED-Wunused-but-set-variable - Failed -- Performing Test ISSUPPORTED-Wno-unused-parameter -- Performing Test ISSUPPORTED-Wno-unused-parameter - Success -- Performing Test ISSUPPORTED-Wno-old-style-cast -- Performing Test ISSUPPORTED-Wno-old-style-cast - Success -- Performing Test ISSUPPORTED-Wshadow -- Performing Test ISSUPPORTED-Wshadow - Success -- Performing Test ISSUPPORTED-Wstrict-null-sentinel -- Performing Test ISSUPPORTED-Wstrict-null-sentinel - Failed -- Performing Test ISSUPPORTED-Woverloaded-virtual -- Performing Test ISSUPPORTED-Woverloaded-virtual - Success -- Performing Test ISSUPPORTED-Wsign-promo -- Performing Test ISSUPPORTED-Wsign-promo - Success -- Performing Test ISSUPPORTED-Wstack-protector -- Performing Test ISSUPPORTED-Wstack-protector - Success -- Performing Test ISSUPPORTED-Wstrict-aliasing -- Performing Test ISSUPPORTED-Wstrict-aliasing - Success -- Performing Test ISSUPPORTED-Wstrict-aliasing-2 -- Performing Test ISSUPPORTED-Wstrict-aliasing-2 - Success -- Performing Test ISSUPPORTED-Wswitch -- Performing Test ISSUPPORTED-Wswitch - Success -- Performing Test ISSUPPORTED-Wswitch-unreachable -- Performing Test ISSUPPORTED-Wswitch-unreachable - Failed -- Performing Test ISSUPPORTED-Wcast-align -- Performing Test ISSUPPORTED-Wcast-align - Success -- Performing Test ISSUPPORTED-Wdisabled-optimization -- Performing Test ISSUPPORTED-Wdisabled-optimization - Success -- Performing Test ISSUPPORTED-Winvalid-pch -- Performing Test ISSUPPORTED-Winvalid-pch - Success -- Performing Test ISSUPPORTED-Wpacked -- Performing Test ISSUPPORTED-Wpacked - Success -- Performing Test ISSUPPORTED-Wno-padded -- Performing Test ISSUPPORTED-Wno-padded - Success -- Performing Test ISSUPPORTED-Wstrict-overflow -- Performing Test ISSUPPORTED-Wstrict-overflow - Success -- Performing Test ISSUPPORTED-Wstrict-overflow-2 -- Performing Test ISSUPPORTED-Wstrict-overflow-2 - Success -- Performing Test ISSUPPORTED-Wctor-dtor-privacy -- Performing Test ISSUPPORTED-Wctor-dtor-privacy - Success -- Performing Test ISSUPPORTED-Wlogical-op -- Performing Test ISSUPPORTED-Wlogical-op - Failed -- Performing Test ISSUPPORTED-Wnoexcept -- Performing Test ISSUPPORTED-Wnoexcept - Failed -- Performing Test ISSUPPORTED-Wnon-virtual-dtor -- Performing Test ISSUPPORTED-Wnon-virtual-dtor - Success -- Performing Test ISSUPPORTED-Wdelete-non-virtual-dtor -- Performing Test ISSUPPORTED-Wdelete-non-virtual-dtor - Success -- Performing Test ISSUPPORTED-Werror-non-virtual-dtor -- Performing Test ISSUPPORTED-Werror-non-virtual-dtor - Success -- Performing Test ISSUPPORTED-Werror-delete-non-virtual-dtor -- Performing Test ISSUPPORTED-Werror-delete-non-virtual-dtor - Success -- Performing Test ISSUPPORTED-Wno-sign-compare -- Performing Test ISSUPPORTED-Wno-sign-compare - Success -- Performing Test ISSUPPORTED-Wnull-dereference -- Performing Test ISSUPPORTED-Wnull-dereference - Success -- Performing Test ISSUPPORTED-fdelete-null-pointer-checks -- Performing Test ISSUPPORTED-fdelete-null-pointer-checks - Failed -- Performing Test ISSUPPORTED-Wduplicated-cond -- Performing Test ISSUPPORTED-Wduplicated-cond - Failed -- Performing Test ISSUPPORTED-Wmisleading-indentation -- Performing Test ISSUPPORTED-Wmisleading-indentation - Failed -- Performing Test ISSUPPORTED-fno-omit-frame-pointer -- Performing Test ISSUPPORTED-fno-omit-frame-pointer - Success -- Performing Test ISSUPPORTED-fno-optimize-sibling-calls -- Performing Test ISSUPPORTED-fno-optimize-sibling-calls - Success Cloning into 'eigen'... HEAD is now at cf794d3... bump to 3.3.7 Cloning into 'cli11'... HEAD is now at b979d3a... Bug fix for issue 369. (#370) Cloning into 'extern/googletest'... Cloning into 'extern/json'... Cloning into 'extern/sanitizers'... Cloning into 'rational_ccd'... HEAD is now at 01277f5... fixed tri edge inter CMake Warning (dev) at /usr/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to
find_package_handle_standard_args
(GMP) does not match the name of the calling package (GMPECCD). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): external/rational_ccd/cmake/FindGMPECCD.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) external/rational_ccd/CMakeLists.txt:57 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Found GMP: /usr/include/x86_64-linux-gnu
-- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/include/x86_64-linux-gnu -- clang-format not found: skipping Format subdirectory -- Using scalar implmentation of SVD -- Seaching for SSE... -- Using CPU native flags for SSE optimization: -march=native -- Performing Test DETECTED_SSE_42 -- Performing Test DETECTED_SSE_42 - Success -- Performing Test DETECTED_SSE_41 -- Performing Test DETECTED_SSE_41 - Success -- Performing Test DETECTED_SSE_30 -- Performing Test DETECTED_SSE_30 - Success -- Performing Test DETECTED_SSE_20 -- Performing Test DETECTED_SSE_20 - Success -- Performing Test DETECTED_SSE_10 -- Performing Test DETECTED_SSE_10 - Success -- Found SSE 4.2 extensions, using flags: -march=native -msse4.2 -mfpmath=sse -- Searching for AVX... -- Using CPU native flags for AVX optimization: -march=native -- Performing Test DETECTED_AVX_20 -- Performing Test DETECTED_AVX_20 - Success -- Performing Test DETECTED_AVX_10 -- Performing Test DETECTED_AVX_10 - Success -- Found AVX 2.0 extensions, using flags: -march=native -mavx2 -mno-avx512f -mno-avx512pf -mno-avx512er -mno-avx512cd -- Searching for FMA... -- Using CPU native flags for FMA optimization: -march=native -- Performing Test DETECTED_FMA -- Performing Test DETECTED_FMA - Success -- Found FMA extensions, using flags: -march=native -mfma -- Building for three dimensions CMake Warning at CMakeLists.txt:274 (message): MKL not found: disabling OSQP MKL Pardiso linear system solver
-- Configuring done -- Generating done -- Build files have been written to: /home/pf/IPC/build Scanning dependencies of target EVCTCD Scanning dependencies of target qdldlobject Scanning dependencies of target RationalCCD Scanning dependencies of target linsys_pardiso Scanning dependencies of target linsys_qdldl Scanning dependencies of target glad Scanning dependencies of target glfw Scanning dependencies of target tetgen Scanning dependencies of target igl_stb_image Scanning dependencies of target triangle Scanning dependencies of target predicates Scanning dependencies of target tbb_static [ 0%] Building C object external/osqp/lin_sys/direct/qdldl/qdldl_sources/CMakeFiles/qdldlobject.dir/src/qdldl.c.o [ 1%] Building C object external/libigl/glad/CMakeFiles/glad.dir/src/glad.c.o [ 2%] Building C object external/libigl/predicates/CMakeFiles/predicates.dir/predicates.c.o [ 3%] Building C object external/osqp/lin_sys/direct/CMakeFiles/linsys_pardiso.dir/pardiso/pardiso_interface.c.o [ 3%] Building CXX object external/libigl/stb_image/CMakeFiles/igl_stb_image.dir/igl_stb_image.cpp.o [ 4%] Building C object external/libigl/triangle/CMakeFiles/triangle.dir/triangle.c.o [ 5%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_1.c.o [ 5%] Building CXX object external/libigl/tetgen/CMakeFiles/tetgen.dir/tetgen.cxx.o [ 5%] Building CXX object external/rational_ccd/CMakeFiles/RationalCCD.dir/src/ECCD.cpp.o [ 5%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/context.c.o [ 5%] Building CXX object CMakeFiles/EVCTCD.dir/src/CCD/EVCTCD/CTCD.cpp.o [ 5%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/old/concurrent_queue_v2.cpp.o [ 5%] Built target qdldlobject [ 7%] Building CXX object external/rational_ccd/CMakeFiles/RationalCCD.dir/src/Utils.cpp.o [ 7%] Building C object external/osqp/lin_sys/direct/CMakeFiles/linsys_pardiso.dir/pardiso/pardiso_loader.c.o [ 8%] Linking C static library ../../../libglad.a [ 8%] Linking C static library ../../../libpredicates.a [ 9%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_2.c.o [ 9%] Built target linsys_pardiso [ 10%] Building CXX object external/rational_ccd/CMakeFiles/RationalCCD.dir/src/Plots.cpp.o [ 11%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/old/concurrent_vector_v2.cpp.o [ 11%] Built target predicates [ 11%] Built target glad [ 12%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/init.c.o [ 14%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_aat.c.o [ 14%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/old/spin_rw_mutex_v2.cpp.o [ 14%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/input.c.o [ 15%] Building CXX object external/libigl/tetgen/CMakeFiles/tetgen.dir/predicates.cxx.o [ 16%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_control.c.o [ 16%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_defaults.c.o [ 17%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_info.c.o [ 18%] Linking C static library ../../../libtriangle.a [ 18%] Built target triangle [ 18%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/old/task_v2.cpp.o [ 20%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/monitor.c.o [ 21%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_order.c.o [ 21%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_post_tree.c.o [ 22%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o [ 23%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/window.c.o [ 23%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_preprocess.c.o [ 24%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o [ 24%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_postorder.c.o [ 25%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/arena.cpp.o [ 27%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/amd_valid.c.o [ 28%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/amd/src/SuiteSparse_config.c.o [ 28%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/cache_aligned_allocator.cpp.o [ 28%] Building C object external/osqp/lin_sys/direct/qdldl/CMakeFiles/linsys_qdldl.dir/qdldl_interface.c.o [ 29%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/concurrent_hash_map.cpp.o [ 29%] Built target linsys_qdldl Scanning dependencies of target exact-ccd [ 30%] Building CXX object external/exact-ccd/CMakeFiles/exact-ccd.dir/expansion.cpp.o [ 30%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o [ 31%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o _In file included from /home/pf/IPC/external/exact-ccd/expansion.cpp:4: /home/pf/IPC/external/exact-ccd/expansion.h:195:24: error: unknown type name 'size_t'; did you mean '__gnu_cxx::size_t'? inline void resize( size_t newsize ) ^
~gnu_cxx::size_t /usr/bin/../lib/gcc/x86_64-linux-gnu/6.5.0/../../../../include/c++/6.5.0/ext/new_allocator.h:44:14: note: 'gnu_cxx::size_t' declared here using std::size_t; ^ [ 32%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o [ 32%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o [ 34%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/concurrent_monitor.cpp.o 1 error generated. external/exact-ccd/CMakeFiles/exact-ccd.dir/build.make:82: recipe for target 'external/exact-ccd/CMakeFiles/exact-ccd.dir/expansion.cpp.o' failed make[2]: [external/exact-ccd/CMakeFiles/exact-ccd.dir/expansion.cpp.o] Error 1 CMakeFiles/Makefile2:1278: recipe for target 'external/exact-ccd/CMakeFiles/exact-ccd.dir/all' failed make[1]: [external/exact-ccd/CMakeFiles/exact-ccd.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 34%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/concurrent_queue.cpp.o [ 35%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/concurrent_vector.cpp.o [ 35%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/condition_variable.cpp.o [ 36%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/critical_section.cpp.o [ 37%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o [ 37%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o [ 38%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/dynamic_link.cpp.o [ 38%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/governor.cpp.o [ 40%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/itt_notify.cpp.o [ 40%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/market.cpp.o [ 41%] Linking CXX static library libEVCTCD.a [ 41%] Built target EVCTCD [ 42%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/mutex.cpp.o [ 43%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o [ 44%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o [ 45%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/observer_proxy.cpp.o [ 45%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/pipeline.cpp.o [ 45%] Building C object external/libigl/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o [ 47%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/private_server.cpp.o [ 47%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/queuing_mutex.cpp.o [ 48%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/queuing_rw_mutex.cpp.o [ 49%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/reader_writer_lock.cpp.o [ 50%] Linking C static library ../../../../libglfw3.a [ 50%] Built target glfw [ 50%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/recursive_mutex.cpp.o [ 51%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/scheduler.cpp.o [ 51%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/semaphore.cpp.o [ 52%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/spin_mutex.cpp.o [ 54%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/task.cpp.o [ 54%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/spin_rw_mutex.cpp.o [ 55%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/task_group_context.cpp.o [ 55%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/tbb_main.cpp.o [ 56%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/tbb_misc.cpp.o [ 57%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/tbb_misc_ex.cpp.o [ 57%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/tbb_statistics.cpp.o [ 58%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/tbb_thread.cpp.o [ 58%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/tbb/x86_rtm_rw_mutex.cpp.o [ 60%] Building CXX object external/tbb/CMakeFiles/tbb_static.dir/src/rml/client/rml_tbb.cpp.o [ 60%] Linking CXX static library libRationalCCD.a [ 60%] Built target RationalCCD [ 61%] Linking CXX static library libtbb_static.a [ 61%] Built target tbb_static [ 62%] Linking CXX static library ../../../libigl_stb_image.a [ 62%] Built target igl_stb_image [ 62%] Linking CXX static library ../../../libtetgen.a [ 62%] Built target tetgen Makefile:182: recipe for target 'all' failed make: [all] Error 2Is there environment preparation or other error, expect your reply and thank you.