isl-org/Open3D-PointNet2-Semantic3D

cmake build error

rjsgml5698 opened this issue · 2 comments

I am developing in colab and run the following code.

cd tf_ops
mkdir build
cd build
cmake ..
make

However, the following error occurred and no progress was made.

cmake ..


-- The CXX compiler identification is GNU 7.5.0
-- The CUDA compiler identification is NVIDIA 10.1.243
-- 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
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /content/drive/My Drive/Colab Notebooks/Open3D-PointNet2-Semantic3D-master/Open3D-PointNet2-Semantic3D-master/tf_ops/build/open3d_root
Scanning dependencies of target open3d
[-12%] Creating directories for 'open3d'
[  0%] Performing download step (git clone) for 'open3d'
Cloning into 'open3d'...
Checking out files: 100% (1242/1242), done.
error: Your local changes to the following files would be overwritten by checkout:
	3rdparty/GLFW/CMake/GenerateMappings.cmake
	3rdparty/GLFW/CMake/MacOSXBundleInfo.plist.in
	3rdparty/GLFW/CMake/amd64-mingw32msvc.cmake
	3rdparty/GLFW/CMake/i586-mingw32msvc.cmake
	3rdparty/GLFW/CMake/i686-pc-mingw32.cmake
	3rdparty/GLFW/CMake/i686-w64-mingw32.cmake
	3rdparty/GLFW/CMake/modules/FindMir.cmake
	3rdparty/GLFW/CMake/modules/FindOSMesa.cmake
	3rdparty/GLFW/CMake/modules/FindVulkan.cmake
	3rdparty/GLFW/CMake/modules/FindWaylandProtocols.cmake
	3rdparty/GLFW/CMake/modules/FindXKBCommon.cmake
	3rdparty/GLFW/CMake/x86_64-w64-mingw32.cmake
	3rdparty/GLFW/CMakeLists.txt
	3rdparty/GLFW/LICENSE.md
	3rdparty/GLFW/README.md
	3rdparty/GLFW/cmake_uninstall.cmake.in
	3rdparty/GLFW/deps/KHR/khrplatform.h
	3rdparty/GLFW/deps/getopt.c
	3rdparty/GLFW/deps/getopt.h
	3rdparty/GLFW/deps/glad.c
	3rdparty/GLFW/deps/glad/glad.h
	3rdparty/GLFW/deps/linmath.h
	3rdparty/GLFW/deps/mingw/_mingw_dxhelper.h
	3rdparty/GLFW/deps/mingw/dinput.h
	3rdparty/GLFW/deps/mingw/xinput.h
	3rdparty/GLFW/deps/nuklear.h
	3rdparty/GLFW/deps/nuklear_glfw_gl2.h
	3rdparty/GLFW/deps/stb_image_write.h
	3rdparty/GLFW/deps/tinycthread.c
	3rdparty/GLFW/deps/tinycthread.h
	3rdparty/GLFW/deps/vs2008/stdint.h
	3rdparty/GLFW/deps/vulkan/vk_platform.h
	3rdparty/GLFW/deps/vulkan/vulkan.h
	3rdparty/GLFW/include/GLFW/glfw3.h
	3rdparty/GLFW/include/GLFW/glfw3native.h
	3rdparty/GLFW/src/CMakeLists.txt
	3rdparty/GLFW/src/cocoa_init.m
	3rdparty/GLFW/src/cocoa_joystick.h
	3rdparty/GLFW/src/cocoa_joystick.m
	3rdparty/GLFW/src/cocoa_monitor.m
	3rdparty/GLFW/src/cocoa_platform.h
	3rdparty/GLFW/src/cocoa_time.c
	3rdparty/GLFW/src/cocoa_window.m
	3rdparty/GLFW/src/context.c
	3rdparty/GLFW/src/egl_context.c
	3rdparty/GLFW/src/egl_context.h
	3rdparty/GLFW/src/glfw3.pc.in
	3rdparty/GLFW/src/glfw3Config.cmake.in
	3rdparty/GLFW/src/glfw_config.h.in
	3rdparty/GLFW/src/glx_context.c
	3rdparty/GLFW/src/glx_context.h
	3rdparty/GLFW/src/init.c
	3rdparty/GLFW/src/input.c
	3rdparty/GLFW/src/internal.h
	3rdparty/GLFW/src/linux_joystick.c
	3rdparty/GLFW/src/linux_joystick.h
	3rdparty/GLFW/src/mappings.h
	3rdparty/GLFW/src/mappings.h.in
	3rdparty/GLFW/src/mir_init.c
	3rdparty/GLFW/src/mir_monitor.c
	3rdparty/GLFW/src/mir_platform.h
	3rdparty/GLFW/src/mir_window.c
	3rdparty/GLFW/src/monitor.c
	3rdparty/GLFW/src/nsgl_context.h
	3rdparty/GLFW/src/nsgl_context.m
	3rdparty/GLFW/src/null_init.c
	3rdparty/GLFW/src/null_joystick.c
	3rdparty/GLFW/src/null_joystick.h
	3rdparty/GLFW/src/null_monitor.c
	3rdparty/GLFW/src/null_platform.h
	3rdparty/GLFW/src/null_window.c
	3rdparty/GLFW/src/osmesa_context.c
	3rdparty/GLFW/src/osmesa_context.h
	3rdparty/GLFW/src/posix_thread.c
	3rdparty/GLFW/src/posix_thread.h
	3rdparty/GLFW/src/posix_time.c
	3rdparty/GLFW/src/posix_time.h
	3rdparty/GLFW/src/vulkan.c
	3rdparty/GLFW/src/wgl_context.c
	3rdparty/GLFW/src/wgl_context.h
	3rdparty/GLFW/src/win32_init.c
	3rdparty/GLFW/src/win32_joystick.c
	3rdparty/GLFW/src/win32_joystick.h
	3rdparty/GLFW/src/win32_monitor.c
	3rdparty/GLFW/src/win32_platform.h
	3rdparty/GLFW/src/win32_thread.c
	3rdparty/GLFW/src/win32_time.c
	3rdparty/GLFW/src/win32_window.c
	3rdparty/GLFW/src/window.c
	3rdparty/GLFW/src/wl_init.c
	3rdparty/GLFW/src/wl_monitor.c
	3rdparty/GLFW/src/wl_platform.h
	3rdparty/GLFW/src/wl_window.c
	3rdparty/GLFW/src/x11_init.c
	3rdparty/GLFW/src/x11_monitor.c
	3rdparty/GLFW/src/x11_platform.h
	3rdparty/GLFW/src/x11_window.c
	3rdparty/GLFW/src/xkb_unicode.c
	3rdparty/GLFW/src/xkb_unicode.h
	3rdparty/jsoncpp/AUTHORS
	3rdparty/jsoncpp/LICENSE
	3rdparty/jsoncpp/README.md
	3rdparty/jsoncpp/include/json/allocator.h
	3rdparty/jsoncpp/include/json/assertions.h
	3rdparty/jsoncpp/include/json/autolink.h
	3rdparty/jsoncpp/include/json/config.h
	3rdparty/jsoncpp/include/json/features.h
	3rdparty/jsoncpp/include/json/forwards.h
	3rdparty/jsoncpp/include/json/json.h
	3rdparty/jsoncpp/include/json/reader.h
	3rdparty/jsoncpp/include/json/value.h
	3rdparty/jsoncpp/include/json/version.h
	3rdparty/jsoncpp/include/json/writer.h
	3rdparty/jsoncpp/json_reader.cpp
	3rd
Aborting
CMake Error at /content/drive/My Drive/Colab Notebooks/Open3D-PointNet2-Semantic3D-master/Open3D-PointNet2-Semantic3D-master/tf_ops/build/open3d_root/open3d/tmp/open3d-gitclone.cmake:75 (message):
  Failed to checkout tag: '33e46f7'


CMakeFiles/open3d.dir/build.make:89: recipe for target 'open3d/src/open3d-stamp/open3d-download' failed
make[2]: *** [open3d/src/open3d-stamp/open3d-download] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/open3d.dir/all' failed
make[1]: *** [CMakeFiles/open3d.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
-- Could NOT find Open3D (missing: Open3D_DIR)
CMake Error at open3d.cmake:41 (message):
  Open3D build was not successful
Call Stack (most recent call first):
  open3d.cmake:45 (build_open3d)
  CMakeLists.txt:10 (include)


-- Configuring incomplete, errors occurred!
See also "/content/drive/My Drive/Colab Notebooks/Open3D-PointNet2-Semantic3D-master/Open3D-PointNet2-Semantic3D-master/tf_ops/build/CMakeFiles/CMakeOutput.log".

Do you have any solution for the next error?
I would really appreciate it if you let me know.

I have the same problem as you. It bothers me all the time. If you have the solution , please let me know,thank you!

Have anybody fixed this issue? Please share. Thanks very much! I encountered it in google colab.