Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error : camera.h no such file or directory #22

Open
WaldenLeefx opened this issue Jun 9, 2020 · 1 comment
Open

fatal error : camera.h no such file or directory #22

WaldenLeefx opened this issue Jun 9, 2020 · 1 comment

Comments

@WaldenLeefx
Copy link

when running catkin_make, I get:

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - mynteye_ros_wrapper
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'mynteye_ros_wrapper'
-- ==> add_subdirectory(MYNT-EYE-ROS-Wrapper)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Found OpenCV: /usr/local (found version "3.4.1")
-- Configuring done
CMake Warning (dev) at MYNT-EYE-ROS-Wrapper/CMakeLists.txt:61 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "mynteye_ros_wrapper_gencfg" of target "MYNTWrapper"
does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at MYNT-EYE-ROS-Wrapper/CMakeLists.txt:70 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "mynteye_ros_wrapper_gencfg" of target
"mynteye_wrapper_node" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/lee/catkin_ws/build

Running command: "make -j6 -l6" in "/home/lee/catkin_ws/build"

Scanning dependencies of target MYNTWrapper
[ 25%] Building CXX object MYNT-EYE-ROS-Wrapper/CMakeFiles/MYNTWrapper.dir/src/mynteye_ros_wrapper_nodelet.cpp.o
/home/lee/catkin_ws/src/MYNT-EYE-ROS-Wrapper/src/mynteye_ros_wrapper_nodelet.cpp:20:10: fatal error: camera.h: 没有那个文件或目录
#include "camera.h"
^~~~~~~~~~
compilation terminated.
MYNT-EYE-ROS-Wrapper/CMakeFiles/MYNTWrapper.dir/build.make:62: recipe for target 'MYNT-EYE-ROS-Wrapper/CMakeFiles/MYNTWrapper.dir/src/mynteye_ros_wrapper_nodelet.cpp.o' failed
make[2]: *** [MYNT-EYE-ROS-Wrapper/CMakeFiles/MYNTWrapper.dir/src/mynteye_ros_wrapper_nodelet.cpp.o] Error 1
CMakeFiles/Makefile2:526: recipe for target 'MYNT-EYE-ROS-Wrapper/CMakeFiles/MYNTWrapper.dir/all' failed
make[1]: *** [MYNT-EYE-ROS-Wrapper/CMakeFiles/MYNTWrapper.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j6 -l6" failed

and I have tried the solution mentioned in issues #17 & raulmur/ORB_SLAM2#535, who can help?

@awesomebytes
Copy link

awesomebytes commented Jul 29, 2020

I'm getting the same problem on ROS melodic.

Edit: solved it by following the SDK instructions instead.
They say to do make ros, not using this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants