code-iai / iai_kinect2

Tools for using the Kinect One (Kinect v2) in ROS
Apache License 2.0
879 stars 519 forks source link

could not find a package configuration file provided by "freenect2" but already have libfreenect2 #428

Open ericrosenbrown opened 7 years ago

ericrosenbrown commented 7 years ago

I'm getting a similiar, but not exactly the same, problem to #231, where after the command: catkin_make -DCMAKE_BUILD_TYPE="Release"

,there was a error:

CMake Error at iai_kinect2/kinect2_bridge/CMakeLists.txt:22 (find_package): Could not find a package configuration file provided by "freenect2" with any of the following names:

freenect2Config.cmake
freenect2-config.cmake

Add the installation prefix of "freenect2" to CMAKE_PREFIX_PATH or set "freenect2_DIR" to a directory containing one of the above files. If "freenect2" provides a separate development package or SDK, be sure it has been installed.

I have the path pointing to my libfreenect2 directory, but what seems to be an issue is that I can't even find either of the two cmake files anywhere in the directory. So where would I get these two cmake files to resolve the issue?

Thanks!

aadityasaraiya commented 7 years ago

Hey I have this same issue.

Did you find any solution for the same ?

Thanks in advance !

buivn commented 5 years ago

Hi, Is there anyone solve the problem yet? Please, help