make error [closed]

asked 2012-06-19 09:34:31 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

When I try to make package i get the following error

gcc -Wall -o autopilot autopilot.o gamepad.o navdata.o video_stage.o agent.o python_agent.o  -lpthread -lm \
           -L/home/lab/ARDrone_SDK_Version_1_8_20110726//ARDroneLib/Soft/Build/targets_versions/ardrone_lib_PROD_MODE_vlib_Linux_3.2.0-24-generic_GNU_Linux_gcc_4.6.3 -lpc_ardrone  \
           -L/home/lab/ARDrone_SDK_Version_1_8_20110726//ARDroneLib/Soft/Build/targets_versions/sdk_PROD_MODE_vlib_Linux_3.2.0-24-generic_GNU_Linux_gcc_4.6.3 -lsdk \
           -L/home/lab/ARDrone_SDK_Version_1_8_20110726//ARDroneLib/Soft/Build/targets_versions/vlib_PROD_MODE_Linux_3.2.0-24-generic_GNU_Linux_gcc_4.6.3 -lvlib -lSDL \
       -L/usr/lib/python2.7/config -lpython2.7 \

/usr/bin/ld: cannot find -lpc_ardrone
/usr/bin/ld: cannot find -lsdk
collect2: ld returned 1 exit status
make: *** [autopilot] Error 1
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-08-03 11:35:32


Did you try just using rosmake? I know that the ardrone software is available pre-combiled. Refer to this question:

allenh1 gravatar image allenh1  ( 2012-06-19 09:52:04 -0600 )edit

Linker is not able to find libraries. In case you really want to build the source, you need to provide correct linking paths.

prince gravatar image prince  ( 2012-06-19 17:49:39 -0600 )edit

What sequence of commands led to in this linker error?

joq gravatar image joq  ( 2012-06-20 02:20:27 -0600 )edit

i got the source code from this website i changed the link paths to match what was on my computer and then i ran make which prompted me with this error

gupta gravatar image gupta  ( 2012-06-21 04:42:20 -0600 )edit