Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Vulkan directory and The RandR headers Error #60

Open
monroe-dev opened this issue Feb 18, 2020 · 2 comments
Open

Vulkan directory and The RandR headers Error #60

monroe-dev opened this issue Feb 18, 2020 · 2 comments

Comments

@monroe-dev
Copy link

monroe-dev commented Feb 18, 2020

It couldn't find Vulkan(VULKAN_LIBRARY VULKAN_INCLUDE_DIR) and RandR headers were not found. I also tried to this solution #25.

OS: Ubuntu 18.04
CUDA: 10.0
Tensorflow: 1.13.1

imp@imp-HP-Z4-G4-Workstation:~/shin/Open3D-PointNet2-Semantic3D-master/tf_ops/build$ cmake -DCMAKE_C_COMPILER=/usr/bin/gcc ..
-- The CXX compiler identification is GNU 7.4.0
-- The CUDA compiler identification is NVIDIA 10.0.130
-- 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-10.0/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda-10.0/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/imp/shin/Open3D-PointNet2-Semantic3D-master/tf_ops/build/open3d_root
Scanning dependencies of target open3d
[ 12%] Creating directories for 'open3d'
[ 25%] Performing download step (git clone) for 'open3d'
Cloning into 'open3d'...
Note: checking out '33e46f7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 33e46f7d Merge pull request #729 from XuChengHUST/master
Submodule '3rdparty' (https://github.com/IntelVCL/Open3D-3rdparty) registered for path '3rdparty'
Cloning into '/home/imp/shin/Open3D-PointNet2-Semantic3D-master/tf_ops/build/open3d_root/open3d/src/open3d/3rdparty'...
Submodule path '3rdparty': checked out 'b08bff7856398f3bbd66e2b10a6f32e943e4ae34'
[ 37%] No patch step for 'open3d'
[ 50%] No update step for 'open3d'
[ 62%] Performing configure step for 'open3d'
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Open3D 0.4.0.0
-- Compiling on Unix
-- Disable RealSense since it is not fully supported on Linux.
-- Using installed OpenMP 
-- Building EIGEN3 from source (BUILD_EIGEN3=ON)
-- Building GLEW from source (BUILD_GLEW=ON)
-- Building GLFW from source (BUILD_GLFW=ON)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR) 
-- Using X11 for window creation
-- 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
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Error at 3rdparty/GLFW/CMakeLists.txt:240 (message):
  The RandR headers were not found


-- Configuring incomplete, errors occurred!
See also "/home/imp/shin/Open3D-PointNet2-Semantic3D-master/tf_ops/build/open3d_root/open3d/src/open3d-build/CMakeFiles/CMakeOutput.log".
CMakeFiles/open3d.dir/build.make:106: recipe for target 'open3d/src/open3d-stamp/open3d-configure' failed
make[2]: *** [open3d/src/open3d-stamp/open3d-configure] Error 1
CMakeFiles/Makefile2:67: 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 "/home/imp/shin/Open3D-PointNet2-Semantic3D-master/tf_ops/build/CMakeFiles/CMakeOutput.log".
@whuchenlin
Copy link

You can search this error in Google ,and you can find a solution to solve it. It may like this “sudo apt-get install ... ”, I forget it

@sisco0
Copy link

sisco0 commented Jan 14, 2021

sudo apt install xorg-dev libglu1-mesa-dev solves the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants