Question about SDL/microwindow

Hi,

I use ipaq h3870, and I build microwindow on embedded-linux and
SDL on microwindow. I am sure microwindow/embedded linux work because
I can run some microwindow demos on embedded linux .
I can’t run SDL demo like testalpha, testsprite but testver work.
It seem that some video parts are wrong.

Because ipaq h3870 is arm platform , I use crosscompiler to build SDL.
I add the following commands to configure.

NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++
RANLIB=arm-linux-ranlib AR=arm-linux-ar

And then follow the README.NanoX

./configure ./configure --disable-video-x11 --disable-video-fbcon
–enable-video-nanox
–with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal]
make clean ; make;
make install

and then build test file

arm-linux-gcc -I…/inclide testalpha.c -lm -lSDL -lpthread
create a.out

cp /usr/local/lib/SDL to /usr/local/lib/SDL of embedded linux
I have no gcc on embedded linux because of the size of embedded linux…

cp a.out to embedded linux

then execute a.out
./a.out

I got these error message…

/mnt/hda # ./a.out
enter NX_Available
nxclient: retry connect attempt 1
nxclient: retry connect attempt 2
nxclient: retry connect attempt 3
nxclient: retry connect attempt 4
nxclient: retry connect attempt 5
nxclient: retry connect attempt 6
nxclient: retry connect attempt 7
nxclient: retry connect attempt 8
nxclient: retry connect attempt 9
nxclient: retry connect attempt 10
Couldn’t initialize SDL: No available video device

How should I do to solve these problems ?

Thank you for any help.

I got these error message…

/mnt/hda # ./a.out
enter NX_Available
nxclient: retry connect attempt 1
nxclient: retry connect attempt 2
nxclient: retry connect attempt 3
nxclient: retry connect attempt 4
nxclient: retry connect attempt 5
nxclient: retry connect attempt 6
nxclient: retry connect attempt 7
nxclient: retry connect attempt 8
nxclient: retry connect attempt 9
nxclient: retry connect attempt 10
Couldn’t initialize SDL: No available video device

This indicates that a micro-windows server is not running on an expected port.
That’s pretty much the extent of my knowledge. :slight_smile:

Good luck!
-Sam Lantinga, Software Engineer, Blizzard Entertainment