AutonomyLab / bebop_autonomy

ROS driver for Parrot Bebop Drones 1.0 & 2.0
http://wiki.ros.org/bebop_autonomy
BSD 3-Clause "New" or "Revised" License
153 stars 121 forks source link

Problems of building workspace. #186

Closed lengyuyu2333 closed 5 years ago

lengyuyu2333 commented 5 years ago

Hello everyone. When I was following the instructions, I got a problem.

I am using Ubuntu 16.04 and 64bits.

When I did the last step "catkin build" :

Errors << bebop_driver:make /home/parrotbebop2/bebop_ws/logs/bebop_driver/build.make.000.log
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `ff_h263_vaapi_hwaccel' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: [/home/parrotbebop2/bebop_ws/devel/.private/bebop_driver/lib/libbebop.so] Error 1 make[1]: [CMakeFiles/bebop.dir/all] Error 2 make: *** [all] Error 2 cd /home/parrotbebop2/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd - ............................................................................................................................ Failed << bebop_driver:make [ Exited with code 2 ]
Failed <<< bebop_driver [ 11.7 seconds ]
Abandoned <<< bebop_tools [ Unrelated job failed ]
[build] Summary: 4 of 6 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: 2 packages succeeded with warnings.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 2 minutes and 33.2 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.

Anyone can help? Thanks for your answers :)

lengyuyu2333 commented 5 years ago

Hello everyone. When I was following the instructions, I got a problem.

I am using Ubuntu 16.04 and 64bits.

When I did the last step "catkin build" :

Errors << bebop_driver:make /home/parrotbebop2/bebop_ws/logs/bebop_driver/build.make.000.log /usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `ff_h263_vaapi_hwaccel' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: [/home/parrotbebop2/bebop_ws/devel/.private/bebop_driver/lib/libbebop.so] Error 1 make[1]: [CMakeFiles/bebop.dir/all] Error 2 make: *** [all] Error 2 cd /home/parrotbebop2/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd - ............................................................................................................................ Failed << bebop_driver:make [ Exited with code 2 ] Failed <<< bebop_driver [ 11.7 seconds ] Abandoned <<< bebop_tools [ Unrelated job failed ] [build] Summary: 4 of 6 packages succeeded. [build] Ignored: 1 packages were skipped or are blacklisted. [build] Warnings: 2 packages succeeded with warnings. [build] Abandoned: 1 packages were abandoned. [build] Failed: 1 packages failed. [build] Runtime: 2 minutes and 33.2 seconds total. [build] Note: Workspace packages have changed, please re-source setup files to use them.

Anyone can help? Thanks for your answers :)