3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
108 stars 71 forks source link

make -j2 errors #162

Open xubin4952 opened 6 years ago

xubin4952 commented 6 years ago

hi, when I execute make -j2 in build I got the errors below ,and I have installed the swig3.0. does anyone know how to fix this problem ? thank you!

[ 61%] Building CXX object VoxelPCL/CMakeFiles/voxelpcl.dir/PCLGrabber.cpp.o /home/jason/TI-tof/libvoxel/voxelsdk/Voxel/SWIG/../Device.h:63: Error: Syntax error in input(3). make[2]: [lib/python2.7/VoxelPYTHON_wrap.cxx] Error 1 make[1]: [Voxel/SWIG/CMakeFiles/_Voxel.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX shared library ../lib/libvoxelpcl.so

suramyag1 commented 6 years ago

Hi @xubin4952,

We do not see this error. However, a web search found this. This says that the error is for C++99 standards and not C++11. Since it's pointing to line 63, you may want to put an extra space between the ">>". virtual Vector<Ptr<Device> > getDevices(const Vector<int> &channels) const { return Vector<Ptr<Device> >(); } Hope this helps

Suramya

xubin4952 commented 6 years ago

thank you ,I have tried some ways but that did not work ,I have no ideal to solve this problem ,do we have simple examples to read the data from the evaluation board ,I want to get the data from my arm board.

suramyag1 commented 6 years ago

@xubin4952

Please disable the "Generate Python Bindings" and build. You'll be able to use the CLI to capture the data.

Suramya

xubin4952 commented 6 years ago

Hi, I will have a try . Can you explain in detail how to operate? I am not familiar for this. Thank you !

suramyag1 commented 6 years ago

For building without python bindings, look at https://github.com/3dtof/voxelsdk/wiki/Build-from-source-on-Linux#optional-pre-requisites

For running the CLI, refer https://github.com/3dtof/voxelsdk/wiki/Voxel-CLI

xubin4952 commented 6 years ago

Hi, thank you ,now I can build the code ,I want to know how to create tools used in linux system.I want to get depth data in my arm board.

suramyag1 commented 6 years ago

Please read the wiki for instructions on using VoxelSDK: https://github.com/3dtof/voxelsdk/wiki/Voxel-SDK-User-Guide

VoxelCLI allows you to capture data, you can refer to the capture data from there to get phase.

Suramya

From: xubin4952 [mailto:notifications@github.com] Sent: Saturday, August 25, 2018 3:28 PM To: 3dtof/voxelsdk Cc: Gupta, Suramya; Comment Subject: [EXTERNAL] Re: [3dtof/voxelsdk] make -j2 errors (#162)

Hi, thank you ,now I can build the code ,I want to know how to create tools used in linux system.I want to get depth data in my arm board.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/3dtof/voxelsdk/issues/162#issuecomment-415957988, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUA8hIypRtMZ_PN2oQFKsWbFNn-0eOkqks5uUR-6gaJpZM4Vxbik.