Page 1 of 1

Building Livecode for raspberry pi (ARM)

Posted: Wed Dec 04, 2013 12:43 pm
by MaxV
Hello,
I have to use a raspberry pi for a project and I want to use Livecode. Unfortunately Linux Livecode version on livecode site is built only for x86 processor, but raspberry pi processor is ARM.
I installed all necessary library on my raspberry pi and Livecode source code from github.
Then I launched:

Code: Select all

 MODE=release make development
(is it right to write all on a single line?)

but at some point I get the following error:

Code: Select all

make[1]: Entering directory `/home/pi/livecode-master/thirdparty/libopenssl'
mkdir -p ./src
../../prebuilt/bin/Revolution.lnx "../../tools/weak_stub_maker.lc" <./ssl.stubs >./src/sslstubs.cpp
../../prebuilt/bin/Revolution.lnx: 1: ../../prebuilt/bin/Revolution.lnx: ELF0�4C4 (44�4��������-!�-!0!��X�4�,0!,�,���((�(�  Q�td/lib/ld-linux.so.2GNU9�����-n��$����͚x���: not found
../../prebuilt/bin/Revolution.lnx: 3: ../../prebuilt/bin/Revolution.lnx: Syntax error: word unexpected (expecting ")")
make[1]: *** [sslstubs.cpp] Error 2
make[1]: Leaving directory `/home/pi/livecode-master/thirdparty/libopenssl'
make: *** [libopenssl] Error 2
It seems an error about the prebuilt directory containing x86 executables instead of ARM.
Is there a way to avoid using prebuilt directory?

Re: Building Livecode for raspberry pi (ARM)

Posted: Wed Dec 04, 2013 2:52 pm
by FourthWorld
Thanks for running that make attempt. This newsletter article provides a little background on the state of the LiveCode engine for ARM Linux, and includes a link to an early build:
http://livecode.com/blog/2013/02/20/liv ... pberry-pi/

Hope it helps move your work along. Please keep us posted as you move closer to success. Perhaps some of the others here with more experience compiling the engine can chime in with tips to help move this along.

Re: Building Livecode for raspberry pi (ARM)

Posted: Wed Dec 04, 2013 4:14 pm
by MaxV
Unfortunately in that post there is not very much and the build is an old version of livecode that require to be a member of Livecode developer team... :(
So I can't use it.