cvar-upm / aerostack

Software framework for aerial robotic systems
Other
154 stars 43 forks source link

how to solve Cmake error #63

Closed manivara507 closed 3 years ago

manivara507 commented 4 years ago

Screenshot from 2020-04-10 13-40-44

rodelgo7al commented 4 years ago

Try to install some ros dependencies:

sudo apt-get install ros-melodic-octomap ros-melodic-octomap-mapping ros-melodic-octomap-msgs ros-melodic-octomap-ros ros-melodic-octomap-rviz-plugins ros-melodic-octomap-server

ted-15 commented 4 years ago

Screenshot from 2020-04-14 01-58-12

I am facing similar error also i have attached the screenshot of the same. Due to this error configuration is becoming incomplete and shows cmake error. Help me with finding resolution of it.

Thanks in advance.

rodelgo7al commented 4 years ago

I think you should reinstall ros melodic and Aerostack. Delete workspace and temp folder and execute this command:

sudo apt-get remove ros-*

Then follow these steps: http://wiki.ros.org/melodic/Installation/Ubuntu

And reinstall Aerostack. Thank you.

ted-15 commented 4 years ago

Screenshot from 2020-04-19 14-52-11

i removed ros and installed it again. also i followed the installation procedure given but still i get an error and it says configuration incomplete. I have attached the screenshot

how to resolve it as i am tried many times still i get the same error.

Thanks

ted-15 commented 4 years ago

i have fixed previous error using the command sudo apt-get install ros-$ROS_DISTRO-mavlink and then followed by an another error

image

and then i used this command to fix it sudo apt-get install ros-melodic-octomap ros-melodic-octomap-mapping ros-melodic-octomap-msgs ros-melodic-octomap-ros ros-melodic-octomap-rviz-plugins ros-melodic-octomap-server

after which i am facing the current error about Could not find a package configuration file provided by "opencv_apps" with any of the following names:

opencv_appsConfig.cmake
opencv_apps-config.cmake

i have attached screenshot also. Screenshot from 2020-04-19 17-34-55

help me to resolve it.

ted-15 commented 4 years ago

Screenshot from 2020-04-20 15-00-46

Also i have fixed the previous errors. now i am facing an new error for which i have attached the screenshot. also the error below

[ 74%] Generating qrc_images.cpp RCC: Error in '/home/solomon/workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/src/view/resources/images.qrc': Cannot find file 'images/Kompaß360.png' aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/CMakeFiles/parameters_viewer_lib.dir/build.make:134: recipe for target 'aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/qrc_images.cpp' failed make[2]: [aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/qrc_images.cpp] Error 1 CMakeFiles/Makefile2:44179: recipe for target 'aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/CMakeFiles/parameters_viewer_lib.dir/all' failed make[1]: [aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/CMakeFiles/parameters_viewer_lib.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 74%] Linking CXX shared library /home/solomon/workspace/ros/aerostack_catkin_ws/devel/lib/liblib_cvgloggerROS.so [ 74%] Built target lib_cvgloggerROS [ 74%] Building CXX object aerostack_stack/stack/execution_control_system/behavior_systems/navigation_with_lidar/CMakeFiles/navigation_with_lidar.dir/src/source/behavior_generate_path_with_occupancy_grid.cpp.o [ 74%] Linking CXX shared library /home/solomon/workspace/ros/aerostack_catkin_ws/devel/lib/libnavigation_with_lidar.so [ 74%] Built target navigation_with_lidar Makefile:162: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4 -l4" failed

kindly help me to resolve me this error. Thanks in advance.

rodelgo7al commented 4 years ago

Which ubuntu version are you using?

ted-15 commented 4 years ago

I am using Ubuntu 18.04 LTS melodic version

On Thu, 23 Apr 2020, 20:05 Alberto Rodelgo, notifications@github.com wrote:

Which ubuntu version are you using?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Vision4UAV/Aerostack/issues/63#issuecomment-618431175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7FKQYGAEMBRLYRTZRK2ADROBG4PANCNFSM4MFJSB6Q .

ted-15 commented 4 years ago

Also i have fixed the previous errors. now i am facing an new error for which i have attached the screenshot. also the error below

[ 74%] Generating qrc_images.cpp RCC: Error in '/home/solomon/workspace/ros/aerostack_catkin_ws/src/aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/src/view/resources/images.qrc': Cannot find file 'images/Kompaß360.png' aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/CMakeFiles/parameters_viewer_lib.dir/build.make:134: recipe for target 'aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/qrc_images.cpp' failed make[2]: [aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/qrc_images.cpp] Error 1 CMakeFiles/Makefile2:44179: recipe for target 'aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/CMakeFiles/parameters_viewer_lib.dir/all' failed make[1]: [aerostack_stack/stack/ground_control_system/graphical_user_interface/parameters_viewer_process/CMakeFiles/parameters_viewer_lib.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 74%] Linking CXX shared library /home/solomon/workspace/ros/aerostack_catkin_ws/devel/lib/liblib_cvgloggerROS.so [ 74%] Built target lib_cvgloggerROS [ 74%] Building CXX object aerostack_stack/stack/execution_control_system/behavior_systems/navigation_with_lidar/CMakeFiles/navigation_with_lidar.dir/src/source/behavior_generate_path_with_occupancy_grid.cpp.o [ 74%] Linking CXX shared library /home/solomon/workspace/ros/aerostack_catkin_ws/devel/lib/libnavigation_with_lidar.so [ 74%] Built target navigation_with_lidar Makefile:162: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4 -l4" failed

please someone help me to resolve me this error. Thanks in advance.

Screenshot from 2020-04-20 15-00-46

ted-15 commented 3 years ago

Hello Sir,

I am getting this qrc_images.cpp error while I am installing always.

Can you please help me with this to resolve? I having been doing this for months now but still I didn't find any solution. after the new version this error for me is not fixed.

Kindly help me out.

PFA.

Waiting for your reply.

On Sat, 28 Nov 2020, 13:35 Martin Molina, notifications@github.com wrote:

Closed #63 https://github.com/Vision4UAV/Aerostack/issues/63.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Vision4UAV/Aerostack/issues/63#event-4047771811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7FKQ5I3UIXZDNJSR3JS7DSSCVK5ANCNFSM4MFJSB6Q .