[maemo-developers] Simple GL application fails to start

From: Aapo Rantalainen aapo.rantalainen at gmail.com
Date: Wed May 19 09:30:27 EEST 2010
> And/or can someone compil the code for me to check if it runs with my phone?
> http://wiki.maemo.org/User:Javispedro/SDL-GLES

gles2 compiles without warnings
gles2 works on N900, no any warnings

gles1 compiles without warnings
gles1 works on N900, no any warnings


>
> Finally, there is two versions of libSDL linked to the binary.
> Is it normal? Please note that I have no idea how to link against
> SDL-1.2 or SDL-1.3, using one version and excluding the other.

ldd ./gles2
	libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4000c000)
	libSDL_gles-1.2.so.0 => /usr/lib/libSDL_gles-1.2.so.0 (0x4006c000)
	libEGL.so => /usr/lib/libEGL.so (0x40076000)
	libGLESv2.so => /usr/lib/libGLESv2.so (0x40081000)
	libc.so.6 => /lib/libc.so.6 (0x41028000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0x42308000)
	libm.so.6 => /lib/libm.so.6 (0x41320000)
	libdl.so.2 => /lib/libdl.so.2 (0x412c8000)
	libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x400c6000)
	libpulse.so.0 => /usr/lib/libpulse.so.0 (0x400d1000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x41168000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41150000)
	libIMGegl.so => /usr/lib/libIMGegl.so (0x400f9000)
	libsrv_um.so => /usr/lib/libsrv_um.so (0x4010d000)
	/lib/ld-linux.so.3 (0x41000000)
	librt.so.1 => /lib/librt.so.1 (0x41190000)
	libpulsecommon-0.9.15.so => /usr/lib/libpulsecommon-0.9.15.so (0x40129000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x41288000)
	libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x42710000)


Maybe you should uninstall another libSDL (on crosscompiler)?
libSDL1-2 works for me.

-Aapo Rantalainen
More information about the maemo-developers mailing list