3dtof / voxelsdk

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

voxelsdk make error issue #33

Closed userkenny closed 9 years ago

userkenny commented 9 years ago

Hi sir

I followed the wiki to make from voxelsdk source code & found below error in unbutu 14.04, 64 bits. Pls guide me how to get it resolved. thank you.

Linking CXX shared library libvoxelpcl.so /usr/bin/ld: cannot find -lVoxel::voxel collect2: error: ld returned 1 exit status make[2]: * [VoxelPCL/libvoxelpcl.so.0.5.5] Error 1 make[1]: * [VoxelPCL/CMakeFiles/voxelpcl.dir/all] Error 2 make[1]: *\ Waiting for unfinished jobs....

hlprasu commented 9 years ago

This could be an issue because of a recent change in the way packages are being created.

The build instructions are now updated to provide the correct approach.

Primarily, you need to do one thing extra by being in the 'build' directory:

export CMAKE_PREFIX_PATH=$PWD:$CMAKE_PREFIX_PATH

and then

cmake .. make

Hope this solves your problem.

userkenny commented 9 years ago

Hi sir,

thx to your promot reply & I delete the old build folder & re-create a new build folder. Looks your guild is ok to compile it to the end. thank you & I'll try some example later.

Regards.