-
Notifications
You must be signed in to change notification settings - Fork 0
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
catkin build error #1
Comments
Hello, sorry for the late reply.
This is a common problem with ROS packages, basically the compiler doesn’t generate first the msg file so when the main.cpp include the header file of the messages an error appears because the header file of the message still doesn’t exist.
A common workaround for all these problems is to comment in the catkin make all the .cpp file, so the compiler is forced to generate the msg file. After that uncomment the .cpp file and compile another time, now everything should work.
Best regards,
Alessandro
…Sent from my iPad
On 14 Aug 2021, at 18:31, lifefucked ***@***.***> wrote:
Hello. I had been searching for a px4 exploration package and found your repository.
Thank you for your resource!
But as I tried to build mavros_visp_ompl_exploration, the error occured when compiling px4_planner.
In file included from /catkin_ws/src/mavros_visp_ompl_exploration/px4_planner/src/fly_action_server_main.cpp:2:0:
catkin_ws/src/mavros_visp_ompl_exploration/px4_planner/include/px4_planner/fly_action_server.h:22:10: fatal error: qr_detector_pkg/qr_detection_msg.h: No such file or directory
#include <qr_detector_pkg/qr_detection_msg.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/fly_action_server.dir/src/fly_action_server_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/fly_action_server.dir/all] Error 2
make: *** [all] Error 2
I am not familiar in programming in general and new to ROS, so maybe I did something wrong.
But I hope to know if there should have been a qr_detection_msg.h file in qr_detector_pkg.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Thank you so much for your help :)
I will try again based on your advice.
Have a nice day!
2021년 8월 26일 (목) 오후 7:21, AlessandroMelone ***@***.***>님이 작성:
… Hello, sorry for the late reply.
This is a common problem with ROS packages, basically the compiler doesn’t
generate first the msg file so when the main.cpp include the header file of
the messages an error appears because the header file of the message still
doesn’t exist.
A common workaround for all these problems is to comment in the catkin
make all the .cpp file, so the compiler is forced to generate the msg file.
After that uncomment the .cpp file and compile another time, now everything
should work.
Best regards,
Alessandro
Sent from my iPad
> On 14 Aug 2021, at 18:31, lifefucked ***@***.***> wrote:
>
>
> Hello. I had been searching for a px4 exploration package and found your
repository.
> Thank you for your resource!
> But as I tried to build mavros_visp_ompl_exploration, the error occured
when compiling px4_planner.
> In file included from
/catkin_ws/src/mavros_visp_ompl_exploration/px4_planner/src/fly_action_server_main.cpp:2:0:
>
catkin_ws/src/mavros_visp_ompl_exploration/px4_planner/include/px4_planner/fly_action_server.h:22:10:
fatal error: qr_detector_pkg/qr_detection_msg.h: No such file or directory
> #include <qr_detector_pkg/qr_detection_msg.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: ***
[CMakeFiles/fly_action_server.dir/src/fly_action_server_main.cpp.o] Error 1
> make[1]: *** [CMakeFiles/fly_action_server.dir/all] Error 2
> make: *** [all] Error 2
>
> I am not familiar in programming in general and new to ROS, so maybe I
did something wrong.
> But I hope to know if there should have been a qr_detection_msg.h file
in qr_detector_pkg.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALF47RQ7J53JPT2HLVXQ53LT6YIRFANCNFSM5CFHV3CQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. I had been searching for a px4 exploration package and found your repository.
Thank you for your resource!
But as I tried to build mavros_visp_ompl_exploration, the error occured when compiling px4_planner.
In file included from /catkin_ws/src/mavros_visp_ompl_exploration/px4_planner/src/fly_action_server_main.cpp:2:0:
catkin_ws/src/mavros_visp_ompl_exploration/px4_planner/include/px4_planner/fly_action_server.h:22:10: fatal error: qr_detector_pkg/qr_detection_msg.h: No such file or directory
#include <qr_detector_pkg/qr_detection_msg.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/fly_action_server.dir/src/fly_action_server_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/fly_action_server.dir/all] Error 2
make: *** [all] Error 2
I am not familiar with programming in general and am new to ROS, so maybe I did something wrong.
But I hope to know if there should have been a qr_detection_msg.h file in qr_detector_pkg.
The text was updated successfully, but these errors were encountered: