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

Failed to build from source v0.6.0 on Linux #51

Closed JAHAHA closed 8 years ago

JAHAHA commented 8 years ago

Failed to build from source v0.6.0 on Linux. The following is the error message.

CMake Error at config/common.cmake:4 (export):
  export called with target "voxelpcl" which requires target "voxel" that is
  not in the export list.

  If the required target is not easy to reference in this call, consider
  using the APPEND option with multiple separate calls.
Call Stack (most recent call first):
  VoxelPCL/CMakeLists.txt:66 (create_cmake_config)

CMake Error at config/common.cmake:4 (export):
  export called with target "ti3dtof" which requires target "voxel" that is
  not in the export list.

  If the required target is not easy to reference in this call, consider
  using the APPEND option with multiple separate calls.
Call Stack (most recent call first):
  TI3DToF/CMakeLists.txt:148 (create_cmake_config)
hlprasu commented 8 years ago

You'll need to update your cmake version to 2.8.13 or higher. Instructions are available on wiki link - https://github.com/3dtof/voxelsdk/wiki/Build-from-source-on-Linux

~ Prasad Bhat On 14-Dec-2015 9:08 AM, "JAHAHA" notifications@github.com wrote:

Failed to build from source v060 on Linux The following is the error message

CMake Error at config/commoncmake:4 (export): export called with target "voxelpcl" which requires target "voxel" that is not in the export list

If the required target is not easy to reference in this call, consider using the APPEND option with multiple separate calls Call Stack (most recent call first): VoxelPCL/CMakeListstxt:66 (create_cmake_config)

CMake Error at config/commoncmake:4 (export): export called with target "ti3dtof" which requires target "voxel" that is not in the export list

If the required target is not easy to reference in this call, consider using the APPEND option with multiple separate calls Call Stack (most recent call first): TI3DToF/CMakeListstxt:148 (create_cmake_config)

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/51.

JAHAHA commented 8 years ago

Thanks a lot. It works due to use cmake 3.2. The previous cmake works fine with source v0.5.7, so I didn't try to upgrade the cmake to v3.2.

hlprasu commented 8 years ago

Ok. We are making a minor change to enforce the CMake version requirement in CMakeLists.txt.

~ Prasad Bhat On 14-Dec-2015 11:01 AM, "JAHAHA" notifications@github.com wrote:

Thanks a lot. It works due to use cmake 3.2. The previous cmake works fine with source v0.5.7, so I didn't try to upgrade the cmake to v3.2.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/51#issuecomment-164346402.