I was trying to compile the TintinCDK example https://github.com/3dtof/voxelsdk-examples
It seems like the TI3DToF_INCLUDE_DIRS is broken because building the project for Visual Studio 2015 will result in all the TI3DTof includes missing.
In TI3DTofConfig.cmake
set(TI3DToF_INCLUDE_DIRS "${TI3DTOF_CMAKE_DIR}../include/voxel-0.6.5" "${VOXEL_INCLUDE_DIRS}")
imports two times the Voxel include directory, in two different ways...
I replaced the line with:
set(TI3DToF_INCLUDE_DIRS "${VOXEL_INCLUDE_DIRS}/ti3dtof")
I was trying to compile the TintinCDK example https://github.com/3dtof/voxelsdk-examples It seems like the TI3DToF_INCLUDE_DIRS is broken because building the project for Visual Studio 2015 will result in all the TI3DTof includes missing.
In TI3DTofConfig.cmake
set(TI3DToF_INCLUDE_DIRS "${TI3DTOF_CMAKE_DIR}../include/voxel-0.6.5" "${VOXEL_INCLUDE_DIRS}")
imports two times the Voxel include directory, in two different ways...I replaced the line with:
set(TI3DToF_INCLUDE_DIRS "${VOXEL_INCLUDE_DIRS}/ti3dtof")
Now the TI3DTOF includes are properly linked