Troubles building the arsdk natives library on arch linux


#1

Hello, I’m having troubles building your SDK on unix. My purpose is to be able to pilot a bebop 2 drone from a laptop (so without android SDK), for a high school project.
I sarted with downloading all the sources with
repo init -u https://github.com/Parrot-Developers/arsdk_manifests.git
repo sync

When I run the command : ./build.sh -p arsdk-native -t build-sdk -j
I have the folowing output :

Scanning /home/alexandre/Documents/Installation/parrotsdk/packages for makefiles…
File “/home/alexandre/Documents/Installation/parrotsdk/packages/arsdk-xml/arsdkgen.py”, line 51
os.makedirs(options.outdir, 0755)
^
SyntaxError: invalid token
File “/home/alexandre/Documents/Installation/parrotsdk/packages/arsdk-xml/arsdkgen.py”, line 51
os.makedirs(options.outdir, 0755)
^
SyntaxError: invalid token
File “/home/alexandre/Documents/Installation/parrotsdk/packages/arsdk-xml/arsdkgen.py”, line 51
os.makedirs(options.outdir, 0755)
^
SyntaxError: invalid token
cc: error: out/arsdk-native/build/libARCommands/gen/Sources/ARCOMMANDS_Generator.c: No
such file or directory
cc: fatal error: no input files
compilation terminated.
cc: error: out/arsdk-native/build/libARCommands/gen/Sources/ARCOMMANDS_Decoder.c: No such file or directory
make: *** [/home/alexandre/Documents/Installation/parrotsdk/build/alchemy/classes/BINARY/rules.mk:115: /home/alexandre/Documents/Installation/parrotsdk/out/arsdk-native/build/libARCommands/obj/gen/Sources/ARCOMMANDS_Generator.c.o] Error 1

MAKE ERROR DETECTED
[E] Task ‘build-sdk’ failed (Command failed (returncode=254))

(full output on http://pastebin.com/xDvUfDKZ )

I’m not sure of what is missing to build the sdk, the error message is unclear. I hope somebody will help :slight_smile:

Product: Bebop 2
SDK version: latest available with “repo” command
Use of libARController: YES
SDK platform: Unix
Reproductible with the official app: Not tried