Open YuanfuC opened 6 years ago
Add unset(_CATKIN_CURRENT_PACKAGE)
into
'snap_cam/src/OpticalFlow/external/klt_feature_trackernal/CMakeLists.txt '
cmake_minimum_required(VERSION 2.8.3)
project(klt_feature_tracker)
unset(_CATKIN_CURRENT_PACKAGE)
# check if this is being built as a ROS package
if (CATKIN_DEVEL_PREFIX)
set(CATKIN_BUILD 1)
After add the line, the project can build successfully
When build snap_cam which depend the klt_feature_tracker the error occur:
See the issue report at snap_cam .