Has anyone able to successfully cross compile SDK and sample for Raspberry pi?
Product version: [X.X.X]
SDK version: [X.X.X]
Use of libARController: [YES/NO] (Only for ARSDK)
SDK platform: [iOS/Android/Unix/Python…]
Reproductible with the official app: [YES/NO/Not tried]
Also interested in doing this, but I’m not familiar with Alchemy and am unsure how to do the cross-compile. Can anyone walk through the process / share their experience?
I ended up writing my own application for Raspberry pi3. It is on github. https://github.com/cheersalam/VideoStreamer
Hope it helps you also.
You are welcome. For any questions send me a direct mail.
actually I did manage to build the SDK on a Raspberry Pi 3. I basically added a new cpu target in alchemy/blob/master/toolchains/cpu.mk. I wrote:
TARGET_GLOBAL_CFLAGS += -march=armv7-a
TARGET_FLOAT_ABI ?= hard
watch out to the float type (hard) and then in arsdk_products/blob/master/native/config/product.mk
TARGET_CPU = pi3
It works like a charm. No errors, just some cast warnings
The only issue I have now with my jumping night diesel is the video streaming. After I launch the sample (JumpingSumoSample), it connects to the target, I can send commands over the keyboard but after a few seconds mplayer exits. Anyone knows how I can configure the mplayer to handle the realtime video stream in this context?
Try updating gcc and g++ to 7.2.0. Link: https://bitbucket.org/sol_prog/raspberry-pi-gcc-binary.git
We got it working in Raspberry PI 3 B.
TARGET_DEFAULT_ARM_MODE := arm
at the beginning of the
<SDK>/products/arsdk/native/config/product.mk file. (Thanks @Nicolas)