iai_kinect2 icon indicating copy to clipboard operation
iai_kinect2 copied to clipboard

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

Open ericrosenbrown opened this issue 7 years ago • 2 comments

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!

ericrosenbrown avatar Jun 28 '17 20:06 ericrosenbrown

Hey I have this same issue.

Did you find any solution for the same ?

Thanks in advance !

aadityasaraiya avatar Nov 07 '17 09:11 aadityasaraiya

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

buivn avatar Mar 16 '19 07:03 buivn