taketwo / ds

PCL grabber for DepthSense devices
11 stars 2 forks source link

make depth_sense_viewer #2

Closed dhampiRic closed 7 years ago

dhampiRic commented 7 years ago

sorry was trying to edit the issue, some how, i left a blank one in here

i am abit new to the linux platform, maybe this is why it is not working

in the last step of installing in linux i tried to "make depth_sense_viewer" in src "make depth_sense_viewer" what i got is

g++ depth_sense_viewer.cpp -o depth_sense_viewer depth_sense_viewer.cpp:44:31: fatal error: pcl/console/print.h: No such file or directory compilation terminated.

i look into it i dont have directory, console

i installed PCL using the git clone in answer as below http://askubuntu.com/questions/625854/pcl-ubuntu-installation

how should i solve this problem?

taketwo commented 7 years ago

Hi, could you please provide description of the problem?

dhampiRic commented 7 years ago

hi ya, any idea?

taketwo commented 7 years ago

What was the output of cmake -DBUILD_TYPE=Release ..?

dhampiRic commented 7 years ago

after dbuild_type=release.txt i have saved the output in a txt file, seems it goes wrong from there

taketwo commented 7 years ago

You don't have VTK installed on your system. This means PCL is compiled without visualization, and depth_sense_viewer target is disabled (because it is visualization).

dhampiRic commented 7 years ago

i got the VTK by the command below

git clone git://vtk.org/VTK.git VTK

then make a directory "build" and camke .. inside the build directory

however when i do "cmake -DBUILD_TYPE=Release .." i still have the same line in the begining says, cannot find the VTKConfig.cmake etc

should the VTK located in somewhere that is relevant to the ds directory?

taketwo commented 7 years ago

Just to make clear: you do not need this project (ds) if you are compiling PCL from source. The contents of this repository have been merged into PCL mainline several years ago.

Now if I understand correctly, what we are trying to solve now is problems with building PCL. It does not find VTK by itself, unless it is installed to some standard location. I would recommend installing packaged VTK (e.g. with apt-get if you are on Ubuntu). Then it will be in a proper location and PCL configure script will pick it up.

dhampiRic commented 7 years ago

i am sorry about this i intended to start a project on PCL and already bought the ds camera i will fix the PCL installation problem first

thank you