I’m totally new to the framework and I try to use the samples present on github, but I could not be able to run it. In fact, it seems (according to the different thread present on that forum) that I need to build the SDK first. I tried to do that by following the installation procedure.(Of course first of all I cloned the repository) and then when I execute the CheckEnv.py script I got that result.
quentin$ ./CheckEnv.py -- Checking if your environment will build the ARSDK for different platforms -- [[ Should work, Won't work, Not tested, may work ]] Generic : OK ! iOS : OK ! Unix : OK ! /bin/sh: /tools/android: No such file or directory Android : Missing binary `rpl` Missing binary `arm-linux-androideabi-gcc` Missing binary `mipsel-linux-android-gcc` Missing binary `i686-linux-android-gcc` Missing environment variable `ANDROID_NDK_PATH` Missing environment variable `ANDROID_SDK_PATH` Missing Android SDK for API 19 (Android 4.4.2), please install it.
For information I try to build the iOS framework. So It seems OK to me
After that I tried to build the SDK by using the command : ./SDK3Build.py -t iOS
/Users/quentin/Desktop/TestBuild/ARSDKBuildUtils/../libARSAL/Build/../Sources/ARSAL_CentralManager.m:156:23: error: no known instance method for selector 'centralManager:didRetrievePeripherals:' [delegate centralManager:central didRetrievePeripherals:peri... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/quentin/Desktop/TestBuild/ARSDKBuildUtils/../libARSAL/Build/../Sources/ARSAL_CentralManager.m:171:23: error: no known instance method for selector 'centralManager:didRetrieveConnectedPeripherals:' ...[delegate centralManager:central didRetrieveConnectedPeripherals:periphe... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.
I cannot understand what is the problem.
After that I tried to use the “precompiled” SDK I found on the documentation for the “Bebop” drone. So I followed the tutorial present on the official documentation to include the .framework files inside the sample project. But I have the following error when I try to build the solution:
ld: framework not found uthash clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried to change the Framework search path inside Xcode with “$(PROJECT_DIR)” but I got the same error.
I’m a little bit stuck at this point.
Thank You very much in advance for your help