OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: matthis on September 16, 2006, 02:24:34 am
-
Hello devs and all,
I have tried the vmware-player image of zaurus SDK and it is really nive and easy to use. It is quite fast on my PIII-1Ghz so that was a nice surprise too.
The point of using it for me would not to make my programs, but to port existing programs to the sharp rom, lacking programs when compared to pdaXrom especially.
In order to do that we need other libs in the SDK to make porting programs easy.
I thought I would start adding SDL dev libs, so I got a fresh SDL tarball 1.2.11
I however fail to build-it.
Here is what I did:
Set de environment to arm with dev-arm-qpe.sh
configure with:
NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --enable-video-qtopia --disable-video-dummy --disable-video-dga --disable-arts --disable-esd --disable-alsa --disable-cdrom --disable-video-x11 --disable-video-fbcon --disable-nasm --prefix=/home/dsl/sdl-cross/ --host=arm-unknown-linux-gnu
Then make, but gets the following error:
./src/video/qtopia/SDL_sysvideo.cc: In function `int QT_VideoInit(SDL_VideoDevice *, SDL_PixelFormat *)':
./src/video/qtopia/SDL_sysvideo.cc:230: invalid use of `this' in non-member function
./src/video/qtopia/SDL_sysvideo.cc:231: invalid use of `this' in non-member function
make: *** [build/SDL_sysvideo.lo] Error 1
Any help?
Thanks!
-
Hello devs and all,
I have tried the vmware-player image of zaurus SDK and it is really nive and easy to use. It is quite fast on my PIII-1Ghz so that was a nice surprise too.
The point of using it for me would not to make my programs, but to port existing programs to the sharp rom, lacking programs when compared to pdaXrom especially.
In order to do that we need other libs in the SDK to make porting programs easy.
I thought I would start adding SDL dev libs, so I got a fresh SDL tarball 1.2.11
I however fail to build-it.
Here is what I did:
Set de environment to arm with dev-arm-qpe.sh
configure with:
NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --enable-video-qtopia --disable-video-dummy --disable-video-dga --disable-arts --disable-esd --disable-alsa --disable-cdrom --disable-video-x11 --disable-video-fbcon --disable-nasm --prefix=/home/dsl/sdl-cross/ --host=arm-unknown-linux-gnu
Then make, but gets the following error:
./src/video/qtopia/SDL_sysvideo.cc: In function `int QT_VideoInit(SDL_VideoDevice *, SDL_PixelFormat *)':
./src/video/qtopia/SDL_sysvideo.cc:230: invalid use of `this' in non-member function
./src/video/qtopia/SDL_sysvideo.cc:231: invalid use of `this' in non-member function
make: *** [build/SDL_sysvideo.lo] Error 1
Any help?
Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141533\"][{POST_SNAPBACK}][/a][/div]
I would not use the latest SDL libraries since it is for the newer versions of qtopia and opie. The best would be to use 1.2.5 or 1.2.6 since most of the existing SDL games for the Zaurus are already using those libraries so compatability with existing apps would also be very important. If you want to port apps for the newer clamshell models, then SDL-1.2.5-BVDD would be the way to go, otherwise, the zports SDL variants would be more compatible for all Z models.
-
Thanks for your help!! I first thought I would go with 1.2.5 but couldn't find it on libsdl.org so gave a go at the latest... I look for 1.2.5 or 1.2.5-bvdd, and report back on my progress.
Best regards,
mat
-
OK, so now I that I am using 1.2.5, libsdl compiles without complaining.
However, when I move on to build the test program which is included in the sources, I get the following problem:
dsl@box:~/SDL-1.2.5/test$ make
arm-linux-gcc -DPACKAGE=\"SDL_tests\" -DVERSION=\"1.2.3\" -DX_DISPLAY_MISSING=1 -I. -I. -g -O2 -I/home/dsl/sdl-cross//include/SDL -D_REENTRANT -Dmain=SDL_ main -c testver.c
arm-linux-gcc -g -O2 -I/home/dsl/sdl-cross//include/SDL -D_REENTRANT -Dmain=SDL _main -o testver testver.o -L/home/dsl/sdl-cross//lib -Wl,-rpath,/home/dsl/sd l-cross//lib -lSDLmain -lSDL -L/opt/Qtopia/sharp/lib -L/opt/Qtopia/sharp/lib/ -l qpe -lqte -lpthread
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `DISKAUD_bootstrap'
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `SDL_SYS_JoystickUpda te'
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `SDL_SYS_JoystickOpen '
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `SDL_SYS_JoystickQuit '
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `DSP_bootstrap'
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `SDL_SYS_JoystickName '
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `Qtopia_bootstrap'
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `DMA_bootstrap'
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `SDL_SYS_JoystickInit '
/home/dsl/sdl-cross//lib/libSDL.so: undefined reference to `SDL_SYS_JoystickClos e'
collect2: ld returned 1 exit status
make: *** [testver] Error 1
- did I miss an option when configuring sdl?
- do I need to use the qtopia tmake or something?
Thanks for any help! Sorry for the newbieness...
-
Hey guys.
Is the VMWare image still available for download/torrent somewhere?
I converted the Kopsis Qemu disk image to a VMWare image myself, but DSL often hangs in the latest VMWare Player.
Bit of a Linux newbie here - could use a hand to get my dev off the ground.
Cheers,
Nick.