对"demo_navdata_client_init"的未定义引用



当我构建AR无人机SDK时,我收到此错误。虽然我做了所有的配置

../../Soft/Build/targets_versions/linux_sdk_demo_PROD_MODE_vlib_Linux_4.4.0-66-generic_GNU_Linux_usrbingcc_5.4.0/Navdata/navdata.o:(.data+0x80): undefined reference to `demo_navdata_client_init'
../../Soft/Build/targets_versions/linux_sdk_demo_PROD_MODE_vlib_Linux_4.4.0-66-generic_GNU_Linux_usrbingcc_5.4.0/Navdata/navdata.o:(.data+0x88): undefined reference to `demo_navdata_client_process'
../../Soft/Build/targets_versions/linux_sdk_demo_PROD_MODE_vlib_Linux_4.4.0-66-generic_GNU_Linux_usrbingcc_5.4.0/Navdata/navdata.o:(.data+0x90): undefined reference to `demo_navdata_client_release'
collect2: error: ld returned 1 exit status
generic.makefile:136: recipe for target '/home/tamercan/Desktop/ARDrone_SDK_2_0_1/ARDrone_SDK_2_0_1/Examples/Linux/sdk_demo/Build/../../Build/Release/ardrone_testing_tool' failed
make[4]: *** [/home/tamercan/Desktop/ARDrone_SDK_2_0_1/ARDrone_SDK_2_0_1/Examples/Linux/sdk_demo/Build/../../Build/Release/ardrone_testing_tool] Error 1
app.makefile:33: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:163: recipe for target 'build_app' failed
make[2]: *** [build_app] Error 2
Makefile:70: recipe for target 'linux_sdk_demo' failed
make[1]: *** [linux_sdk_demo] Error 2
make[1]: Leaving directory '/home/tamercan/Desktop/ARDrone_SDK_2_0_1/ARDrone_SDK_2_0_1/Examples/Linux/sdk_demo/Build'
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 2

您使用的是 Ubuntu 16.04 或更高版本吗?看起来像AR。无人机 SDK 2.0.1 与该版本不兼容。我能够编译此SDK的最新版本是14.04。

我在Parrot开发人员论坛上发布了此错误,但我收到的唯一答案是使用以前的版本。

http://forum.developer.parrot.com/t/ardrone-sdk-2-0-1-compiling-linux-examples-on-ubuntu-16-04-lts/4168

相关内容

  • 没有找到相关文章