Robotics

Friday, May 18, 2007

Back to compiling spcacat

Compiling spcacat required the following:

zlib-1.2.3
libjpeg-6b
libpng1.2.18
libSDL1.2.11
libSDL_image1.2.5

Most required the following config line:

./configure --host=arm-linux

To get shared libs, add:

--enable-shared

SDL:

$ ./configure -host=arm-linux --disable-esd --disable-video-x11

SDL_image:

$ ./configure -host=arm-linux --enable-shared --disable-tif

PNG:

$ ./configure --host=arm-linux

environment for all of this:

typeset -x PATH=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin:$PATH
typeset -x CC=arm-linux-gcc
typeset -x CPP=arm-linux-cpp
typeset -x AR=arm-linux-ar
typeset -x RANLIB=arm-linux-ranlib
typeset -x AS=arm-linux-as
typeset -x LD=arm-linux-ld
typeset -x NM=arm-linux-nm

1 Comments:

Blogger Laks said...

i compiled the spcacat and when i try run in the ts7250 board
i got the following error

"error while loading the shared libraries libpthread.so can not open sys"
could you help me what is going wrong

9:03 PM  

Post a Comment

<< Home