GibsonEnv
GibsonEnv copied to clipboard
Error while building from source: build.sh build_local
Hello, I got this error while building from source. When i ran the command ./build.sh build_local, i got the following error:
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at /home/thanh/anaconda3/envs/habitat/lib/python3.9/site-packages/cmake/data/share/cmake-3.28/Modules/FindOpenGL.cmake:381 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- CMAKE_BINARY_DIR: /home/thanh/GibsonEnv/gibson/core/channels/build
-- CMAKE_SOURCE_DIR: /home/thanh/GibsonEnv/gibson/core/channels
CMake Warning (dev) at CMakeLists.txt:13 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CUDA: /usr (found version "11.5")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found GLEW: /usr/include (found version "2.2.0")
/usr/lib/x86_64-linux-gnu/libGLEW.so
CMake Error at CMakeLists.txt:63 (find_package):
By not providing "FindASSIMP.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ASSIMP", but
CMake did not find one.
Could not find a package configuration file provided by "ASSIMP" with any
of the following names:
ASSIMPConfig.cmake
assimp-config.cmake
Add the installation prefix of "ASSIMP" to CMAKE_PREFIX_PATH or set
"ASSIMP_DIR" to a directory containing one of the above files. If "ASSIMP"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
/home/thanh/GibsonEnv
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
/home/thanh/GibsonEnv
Please provide a way to fix this issue. Thanks!