Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI3 Won't Compile Telemetry Example 4.1.0 #909

Open
MasterVols opened this issue Feb 3, 2023 · 3 comments
Open

RPI3 Won't Compile Telemetry Example 4.1.0 #909

MasterVols opened this issue Feb 3, 2023 · 3 comments

Comments

@MasterVols
Copy link

Here is the make file:
`# * @copyright (c) 2016-2017 DJI

*

* Permission is hereby granted, free of charge, to any person obtaining a copy

* of this software and associated documentation files (the "Software"), to deal

* in the Software without restriction, including without limitation the rights

* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

* copies of the Software, and to permit persons to whom the Software is

* furnished to do so, subject to the following conditions:

*

* The above copyright notice and this permission notice shall be included in

* all copies or substantial portions of the Software.

*

* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

cmake_minimum_required(VERSION 2.8)
project(djiosdk-telemetry-sample)

set(ARCH armv8)

Compiler flags: link with pthread and enable C++11 support

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -g -O0")

Tell the project where osdk-core is located

if(NOT ONBOARDSDK_SOURCE)
set(ONBOARDSDK_SOURCE "/home/toor/Desktop/Onboard-SDK-master/osdk-core")
endif()
#set(CURRENT_CMAKE_MODULE_PATH ${ONBOARDSDK_SOURCE}/cmake-modules)

Specify locations for osdk-core headers

include_directories(${ONBOARDSDK_SOURCE}/api/inc)
include_directories(${ONBOARDSDK_SOURCE}/api/src)
include_directories(${ONBOARDSDK_SOURCE}/utility/inc)
include_directories(${ONBOARDSDK_SOURCE}/utility/src)
include_directories(${ONBOARDSDK_SOURCE}/hal/inc)
include_directories(${ONBOARDSDK_SOURCE}/hal/src)
include_directories(${ONBOARDSDK_SOURCE}/protocol/inc)
include_directories(${ONBOARDSDK_SOURCE}/platform/linux/inc)
include_directories(${ONBOARDSDK_SOURCE}/platform/linux/src)
include_directories(${ONBOARDSDK_SOURCE}/linker/${ARCH}/inc)
include_directories(${ONBOARDSDK_SOURCE}/../sample/platform/linux/hal)
include_directories(${ONBOARDSDK_SOURCE}/../sample/platform/linux/hal/hotplug)
include_directories(${ONBOARDSDK_SOURCE}/../sample/platform/linux/osal)
#include_directories(include /usr/local/include)
#include_directories(include /usr/local/lib)
include_directories(${ONBOARDSDK_SOURCE}/../sample/core/inc)
include_directories(${ONBOARDSDK_SOURCE}/../sample/core/src)
include_directories(${ONBOARDSDK_SOURCE}/logger/inc)
include_directories(${ONBOARDSDK_SOURCE}/logger/src)
include_directories(${ONBOARDSDK_SOURCE}/platform/inc)
include_directories(${ONBOARDSDK_SOURCE}/platform/src)
include_directories(${ONBOARDSDK_SOURCE}/modules/inc/payload)
include_directories(${ONBOARDSDK_SOURCE}/modules/src/payload)
include_directories(${ONBOARDSDK_SOURCE}/modules/inc/filemgr)
include_directories(${ONBOARDSDK_SOURCE}/modules/src/filemgr)
include_directories(${ONBOARDSDK_SOURCE}/modules/inc/flight)
include_directories(${ONBOARDSDK_SOURCE}/modules/src/flight)
include_directories(${ONBOARDSDK_SOURCE}/modules/inc/mop)
include_directories(${ONBOARDSDK_SOURCE}/modules/src/mop)
include_directories(${ONBOARDSDK_SOURCE}/modules/inc/firewall)
include_directories(${ONBOARDSDK_SOURCE}/modules/src/firewall)
include_directories(${ONBOARDSDK_SOURCE}/api/inc/dji_vehicle)
include_directories(${ONBOARDSDK_SOURCE}/api/src/dji_vehicle)

User-code related project files

#include_directories(${ONBOARDSDK_SOURCE}/../sample/core/src/flight_sample.cpp)
include_directories(${ONBOARDSDK_SOURCE}/../sample/platform/linux/common)
FILE(GLOB SOURCE_FILES *.hpp *.cpp *.h
${ONBOARDSDK_SOURCE}/../sample/platform/linux/common/dji_linux_environment.cpp
${ONBOARDSDK_SOURCE}/../sample/platform/linux/common/dji_linux_helpers.cpp
#${ONBOARDSDK_SOURCE}/api/src/dji_vehicle.cpp
#${ONBOARDSDK_SOURCE}/api/inc/dji_vehicle.hpp
${ONBOARDSDK_SOURCE}/../sample/platform/linux/hal/osdkhal_linux.c
${ONBOARDSDK_SOURCE}/../sample/platform/linux/osal/osdkosal_linux.c
)

if (OSDK_HOTPLUG)
FILE(GLOB SOURCE_FILES ${SOURCE_FILES} ${CMAKE_CURRENT_SOURCE_DIR}/../hal/hotplug/*.c)
endif ()

#link_libraries(dji-linker)
#link_directories(/usr/local/include /usr/local/lib)
#link_libraries(${ONBOARDSDK_SOURCE}/linker/${ARCH}/lib/libdji-linker.a)

#set(CMAKE_MODULE_PATH ${CURRENT_CMAKE_MODULE_PATH})
#find_package(LibUSB REQUIRED)
#find_package(FFMPEG REQUIRED)
#include_directories(${ADVANCED_SENSING_HEADERS_DIR})

Target and linking

add_executable(${PROJECT_NAME} ${SOURCE_FILES})

#target_link_libraries(${PROJECT_NAME} PUBLIC djiosdk-core)
#target_link_libraries(${PROJECT_NAME} PUBLIC dji-linker)
#target_link_libraries(${PROJECT_NAME} PUBLIC ${ONBOARDSDK_SOURCE}/linker/${ARCH}/lib/libdji-linker.a)
#target_include_directories(${PROJECT_NAME} PUBLIC ${LIBUSB_1_INCLUDE_DIRS})
#target_link_libraries(${PROJECT_NAME} PUBLIC ${LIBUSB_1_LIBRARIES})
#target_link_libraries(${PROJECT_NAME} PUBLIC ${FFMPEG_LIBRARIES})
#target_include_directories(${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${ADVANCED_SENSING_HEADERS_DIR}>)
#target_link_libraries(${PROJECT_NAME} PRIVATE advanced-sensing)
#target_include_directories(${PROJECT_NAME} PUBLIC ${FFMPEG_INCLUDE_DIR})
#target_link_libraries(${PROJECT_NAME} PUBLIC ${FFMPEG_LIBRARIES})
`
This makefile was developed by following issue #770.
The error below is:

-- Configuring done -- Generating done -- Build files have been written to: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/build [ 14%] Linking CXX executable djiosdk-telemetry-sample /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o: in function LinuxSetup::LinuxSetup(int, char**, bool)':
/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:45: undefined reference to DJI::OSDK::Setup::Setup(bool)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:45: undefined reference to DJI::OSDK::Setup::~Setup()'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o: in function LinuxSetup::~LinuxSetup()': /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:55: undefined reference to DJI::OSDK::Vehicle::~Vehicle()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:52: undefined reference to DJI::OSDK::Setup::~Setup()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o: in function LinuxSetup::setupEnvironment(int, char**)':
/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:109: undefined reference to DJI::OSDK::Platform::registerLoggerConsole(T_OsdkLoggerConsole*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:113: undefined reference to DJI::OSDK::Platform::registerHalUartHandler(T_OsdkHalUartHandler const*)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:123: undefined reference to DJI::OSDK::Platform::registerOsalHandler(T_OsdkOsalHandler const*)' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o: in function LinuxSetup::initVehicle()':
/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:207: undefined reference to DJI::OSDK::Setup::initLinker()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:208: undefined reference to DJI::OSDK::Log::getErrorLogState()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:208: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:213: undefined reference to DJI::OSDK::Setup::addFCUartChannel(char const*, unsigned int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:215: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:215: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:220: undefined reference to DJI::OSDK::Setup::addUSBACMChannel(char const*, unsigned int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:222: undefined reference to DJI::OSDK::Log::getErrorLogState()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:222: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:228: undefined reference to DJI::OSDK::Log::getErrorLogState()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:228: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:232: undefined reference to DJI::OSDK::Vehicle::Vehicle(DJI::OSDK::Linker*)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:235: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:235: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:244: undefined reference to DJI::OSDK::Vehicle::getFwVersion() const' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:246: undefined reference to DJI::OSDK::Vehicle::activate(DJI::OSDK::Vehicle::ActivateData*, unsigned int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:247: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:249: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:253: undefined reference to DJI::OSDK::Vehicle::isM300()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:254: undefined reference to DJI::OSDK::Vehicle::setUSBFlightOn(bool)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp:260: undefined reference to DJI::OSDK::Vehicle::~Vehicle()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o: in function __static_initialization_and_destruction_0(int, int)':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:91: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:100: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:107: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o: in function __static_initialization_and_destruction_0(int, int)':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/utility/inc/dji_singleton.hpp:80: undefined reference to DJI::OSDK::Log::Log(Mutex*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/utility/inc/dji_singleton.hpp:80: undefined reference to DJI::OSDK::Platform::Platform()'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o:(.data.rel.ro._ZTV10LinuxSetup[_ZTV10LinuxSetup]+0x18): undefined reference to DJI::OSDK::Setup::setupEnvironment()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/common/dji_linux_helpers.cpp.o:(.data.rel.ro._ZTI10LinuxSetup[_ZTI10LinuxSetup]+0x18): undefined reference to typeinfo for DJI::OSDK::Setup'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/main.cpp.o: in function main': /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/main.cpp:64: undefined reference to DJI::OSDK::Vehicle::getFwVersion() const'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/main.cpp.o: in function __static_initialization_and_destruction_0(int, int)': /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:91: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:100: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:107: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/main.cpp.o: in function __static_initialization_and_destruction_0(int, int)': /home/toor/Desktop/Onboard-SDK-master/osdk-core/utility/inc/dji_singleton.hpp:80: undefined reference to DJI::OSDK::Log::Log(Mutex*)'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function getBroadcastData(DJI::OSDK::Vehicle*, int)': /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:69: undefined reference to DJI::OSDK::DataBroadcast::setBroadcastFreqDefaults(int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:75: undefined reference to DJI::OSDK::DataBroadcast::getStatus()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:76: undefined reference to DJI::OSDK::DataBroadcast::getGlobalPosition()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:77: undefined reference to DJI::OSDK::DataBroadcast::getRC()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:78: undefined reference to DJI::OSDK::DataBroadcast::getVelocity()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:79: undefined reference to DJI::OSDK::DataBroadcast::getQuaternion()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:80: undefined reference to DJI::OSDK::DataBroadcast::getRelativePosition()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:81: undefined reference to DJI::OSDK::DataBroadcast::getCompassData()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function subscribeToData(DJI::OSDK::Vehicle*, int)':
/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:136: undefined reference to DJI::OSDK::DataSubscription::verify(int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:137: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:137: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:137: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:139: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:150: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:156: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:157: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:157: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:157: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:159: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:161: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:172: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:178: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:179: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:179: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:179: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:181: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:183: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:194: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:200: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:201: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:201: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:201: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:203: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:205: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:216: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:222: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:223: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:223: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:223: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:225: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:227: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:240: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:247: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:248: undefined reference to DJI::OSDK::ErrorCode::SubscribeACK::SOURCE_DEVICE_OFFLINE'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:248: undefined reference to DJI::OSDK::ErrorCode::SubscribeACK::SOURCE_DEVICE_OFFLINE' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:256: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:256: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:256: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:257: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:259: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:322: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:323: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:324: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:325: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o:/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:326: more undefined references to DJI::OSDK::DataSubscription::removePackage(int, int)' follow /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function subscribeToDataForInteractivePrint(DJI::OSDK::Vehicle*, int)':
/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:346: undefined reference to DJI::OSDK::DataSubscription::verify(int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:347: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:347: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:347: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:349: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:372: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:379: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:380: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:380: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:380: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:382: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:384: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:545: undefined reference to DJI::OSDK::DataSubscription::removeAllExistingPackages()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function subscribeToDataAndSaveLogToFile(DJI::OSDK::Vehicle*, int)':
/home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:555: undefined reference to DJI::OSDK::DataSubscription::verify(int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:556: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:556: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:556: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:558: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:579: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:590: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:591: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:591: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:591: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:593: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:595: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:610: undefined reference to DJI::OSDK::DataSubscription::initPackageFromTopicList(int, int, DJI::OSDK::Telemetry::TopicName*, bool, unsigned short)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:618: undefined reference to DJI::OSDK::DataSubscription::startPackage(int, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:619: undefined reference to DJI::OSDK::ACK::getError(DJI::OSDK::ACK::ErrorCode)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:619: undefined reference to DJI::OSDK::ACK::SUCCESS'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:619: undefined reference to DJI::OSDK::ACK::SUCCESS' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:621: undefined reference to DJI::OSDK::ACK::getErrorCodeMessage(DJI::OSDK::ACK::ErrorCode, char const*)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:623: undefined reference to DJI::OSDK::DataSubscription::removePackage(int, int)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:697: undefined reference to DJI::OSDK::Log::getStatusLogState()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/sample/platform/linux/telemetry/telemetry_sample.cpp:697: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function __static_initialization_and_destruction_0(int, int)':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:91: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:100: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_version.hpp:107: undefined reference to DJI::OSDK::Version::FW(unsigned char, unsigned char, unsigned char, unsigned char)' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function __static_initialization_and_destruction_0(int, int)':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/utility/inc/dji_singleton.hpp:80: undefined reference to DJI::OSDK::Log::Log(Mutex*)' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)26>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)26>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)11>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)11>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)7>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)7>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)23>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)23>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)4>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)4>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)0>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)0>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)17>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)17>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)20>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)20>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)18>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)18>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)19>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)19>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)21>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)21>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)35>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)35>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)36>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)36>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)37>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)37>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)38>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)38>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)39>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)39>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)40>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)40>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)41>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)41>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)42>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)42>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)43>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)43>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)44>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)44>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)8>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)8>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)9>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)9>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:343: undefined reference to DJI::OSDK::DataSubscription::lockMSG()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:347: undefined reference to DJI::OSDK::DataSubscription::freeMSG()'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::getErrorLogState()' /usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:352: undefined reference to DJI::OSDK::Log::title(int, char const*, char const*, int)'
/usr/bin/ld: /home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:354: undefined reference to DJI::OSDK::DataSubscription::freeMSG()' /usr/bin/ld: CMakeFiles/djiosdk-telemetry-sample.dir/telemetry_sample.cpp.o: in function DJI::OSDK::Telemetry::TypeMap<(DJI::OSDK::Telemetry::TopicName)10>::type DJI::OSDK::DataSubscription::getValue<(DJI::OSDK::Telemetry::TopicName)10>()':
/home/toor/Desktop/Onboard-SDK-master/osdk-core/api/inc/dji_subscription.hpp:341: undefined reference to DJI::OSDK::Telemetry::TopicDataBase

I will be more than happy to provide extra details if needed!

@durka
Copy link

durka commented Feb 15, 2023

All the samples are broken since 4.1.0. I raised this in #804 but DJI doesn't seem to care. Since no help for this issue appears to be forthcoming, I recommend checking out the latest working tag 4.0.1 if you want to use the samples.

@MasterVols
Copy link
Author

I ended up doing this with a rpi3 running GCC version 8.3.0. Compiling the samples eventually worked for both version 4.1 and 4.0 but I am now having another error;

[1633358.274]ERRORLOG/1 @ getDroneVersion, L1676: Drone version not obtained! Please do not proceed.
Possible reasons:
Serial port connection:
* SDK is not enabled, please check DJI Assistant2 -> SDK -> [v] Enable API Control.
* Baudrate is not correct, please double-check from DJI Assistant2 -> SDK -> baudrate.
* TX and RX pins are invert

I am apparently not the only one having issues with this however.

@durka
Copy link

durka commented Feb 18, 2023

I am very familiar with that error message 😅

The three things they suggest are actually the most common cause in my experience. Check the first two settings on the "SDK" screen in DJI Assistant. The baud rate must match your UserConfig.txt file. Also, we've found you may have to enable Timestamp at 10 Hz for it to connect.

This could be superstition, but power cycle the drone after applying the settings, sometimes that's required for them to "take" 🤷

If the settings are already correct, make sure you are plugged into the correct pins (check the user manual to see which are the OSDK pins) and try swapping TX and RX. Really. Even if they are definitely correct. Nobody has a consistent definition of TX and RX, trust me.

All that said, I do currently have an M210 with all of the above checked and it still won't connect, so faulty hardware does exist. But that's rare among hundreds of products we have shipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants