Page 1 of 1
Pixilang on Raspberry Pi ?
Posted: Thu Jun 14, 2012 9:13 pm
by spiny
Hi,
Is there any way to run Pixilang on Raspberry Pi ? (
http://www.raspberrypi.org/ ) I'm guessing the binaries won't work as the Pi is ARM not x86, but could it be compiled for Debian on ARM for example ?
cheers, Phil.
Re: Pixilang on Raspberry Pi ?
Posted: Thu Jun 14, 2012 9:48 pm
by NightRadio
Is there any way to run Pixilang on Raspberry Pi
Of course. I think any Pi user can compile it directly on Respberry.
1. Install GCC for Pi
2. Unpack Pixilang. Go to the sources/pixilang3/make directory. Open the Makefile and set TARGET_OS = linux_sdl ; TARGET_ARCH = arm.
3. Type make
Pixilang is not only for x86. You can compile it for any little-endian architecture. ARM, MIPS etc.
Re: Pixilang on Raspberry Pi ?
Posted: Thu Jun 14, 2012 10:18 pm
by spiny
awesome
my 'Pi' turned up yesterday, so i'm still getting to grips with it, but making pixilang will be a fun project
Re: Pixilang on Raspberry Pi ?
Posted: Fri Jun 15, 2012 1:34 am
by spiny
ok, I think I'm getting there ... GCC was pre installed but I needed to install libsdl as initially make complained about a missing SDL.h
just tried again adter installing the libsdl libraries and it ran for about 10 minutes, then gave this error:
I have no idea what this means
am I still missing a library ?
thanks, Phil
Re: Pixilang on Raspberry Pi ?
Posted: Fri Jun 15, 2012 9:20 am
by NightRadio
Sorry, it is my mistake :)
Please open the sources/lib_pixilang/pixilang_vm_builtin_fns.h
Find the string
#if defined(UNIX) && !defined(IPHONE)
Replace this string by
#if defined(UNIX) && ( defined(ARCH_X86) || defined(ARCH_X86_64) )
Re: Pixilang on Raspberry Pi ?
Posted: Fri Jun 15, 2012 1:58 pm
by spiny
Re: Pixilang on Raspberry Pi ?
Posted: Fri Jun 15, 2012 2:18 pm
by NightRadio
great! :)
Re: Pixilang on Raspberry Pi ?
Posted: Thu Jun 21, 2012 3:20 pm
by spiny
one other thing
is it possible to get the console up as well as the 'main' screen ?
thanks
Re: Pixilang on Raspberry Pi ?
Posted: Thu Jun 21, 2012 9:05 pm
by NightRadio
one way only for this :) Launch Pixilang from Terminal
Re: Pixilang on Raspberry Pi ?
Posted: Wed May 11, 2016 12:28 pm
by pasbel
I suppose it is for ARCH linux, is it possible with RASPIAN ?
Re: Pixilang on Raspberry Pi ?
Posted: Thu May 12, 2016 2:12 pm
by pasbel
It's better now but...
Code: Select all
pi@raspberrypi:~/pixilang3.4.8/sources/pixilang3/make $ make
gcc -O3 -Wno-multichar -ffast-math -pipe -DLINUX -DARCH_ARM -DCPUMARK=0 -DARCH_NAME="\"arm\"" -DAPPNAME="\"pixilang\"" -D -DDIRECTDRAW -I../../lib_sundog/ -I../../lib_jpeg/ -I../../lib_png/png/ -I../../lib_gif/ -DHAVE_CONFIG_H -I../../lib_zlib/zlib/ -I../../lib_dsp/ -I../../lib_pixilang/ -c ../../lib_sundog/memory/code/memory.cpp
<command-line>:0:1: error: macro names must be identifiers
../../lib_sundog/sundog_makefile.inc:468: recipe for target 'memory.o' failed
make: *** [memory.o] Error 1
Re: Pixilang on Raspberry Pi ?
Posted: Mon Jun 13, 2016 6:54 pm
by spiny
I'm pretty sure I just used Raspian. I'll dig out my Pi3 and have another go at compiling Pixilang3
Re: Pixilang on Raspberry Pi ?
Posted: Sat Jun 18, 2016 4:05 pm
by NightRadio
It's better now but...
Please try to use Pixilang 3.5 sources
Re: Pixilang on Raspberry Pi ?
Posted: Mon Mar 27, 2017 10:00 am
by NightRadio
The above instruction is obsolete now.
In the newest Pixilang (pixilang/sources/pixilang3/make folder) you can see two scripts:
- MAKE_LINUX_ARM_ARMHF_RASPBERRY_PI (SDL version without OpenGL support)
- MAKE_LINUX_ARM_ARMHF_RASPBERRY_PI_NO_OPENGL
Just use one of them.
Pixilang will be compiled in the same folder with the MAKE_xxx script.
Don't worry if you get some installation error - it is just because the default installation folder is ../release/pixilang/pixilang/linux_xxx.