make error
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
Asked by gupta on 2012-06-19 09:34:31 UTC
Comments
Did you try just using rosmake? I know that the ardrone software is available pre-combiled. Refer to this question: http://answers.ros.org/question/12486/ardrone-package/
Asked by allenh1 on 2012-06-19 09:52:04 UTC
Linker is not able to find libraries. In case you really want to build the source, you need to provide correct linking paths.
Asked by prince on 2012-06-19 17:49:39 UTC
What sequence of commands led to in this linker error?
Asked by joq on 2012-06-20 02:20:27 UTC
i got the source code from this website http://home.wlu.edu/~levys/software/ardrone_autopylot/ i changed the link paths to match what was on my computer and then i ran make which prompted me with this error
Asked by gupta on 2012-06-21 04:42:20 UTC