|
2012-12-25
, 07:44
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#62
|
|
2012-12-25
, 15:11
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#63
|
Fruit Ninja uses ogg files for sound and it seems that N900 offical libsdl-mixer lacks support for these: http://talk.maemo.org/archive/index.php/t-81792.html.
But there seems to be libsdl-mixer1.2 version 1.2.6-5+0m5+ogg+mp3 in extras(?) repository. Can you get this version installed and test fruit ninja with that?
|
2012-12-25
, 15:26
|
Posts: 268 |
Thanked: 75 times |
Joined on Jan 2011
|
#64
|
[sbox-FREMANTLE_X86: ~/apkenv-master] > apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
Reading package lists... Done
Building dependency tree... Done
libsdl1.2 is already the newest version.
libsdl-mixer1.2 is already the newest version.
E: Couldn't find package libgles1-sgx-img
compat/gles_wrappers.c:1414: error: expected ')' before 'target'
compat/gles_wrappers.c:1420: error: expected ')' before 'device'
compat/gles_wrappers.c:1426: error: expected ')' before 'device'
compat/gles_wrappers.c:1431: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
compat/gles_wrappers.c:1438: error: expected ')' before 'index'
compat/gles_wrappers.c:1444: error: expected ')' before 'target'
compat/gles_wrappers.c:1450: error: expected ')' before 'target'
compat/gles_wrappers.c:1456: error: expected ')' before 'target'
compat/gles_wrappers.c:1462: error: expected ')' before 'target'
compat/gles_wrappers.c:1468: error: expected ')' before 'index'
compat/gles_wrappers.c:1474: error: expected ')' before 'target'
compat/gles_wrappers.c:1480: error: expected ')' before 'target'
compat/gles_wrappers.c:1486: error: expected ')' before 'target'
compat/gles_wrappers.c:1492: error: expected ')' before 'target'
compat/gles_wrappers.c:1498: error: expected ')' before 'index'
compat/gles_wrappers.c:1504: error: expected ')' before 'index'
compat/gles_wrappers.c:1510: error: expected ')' before 'index'
compat/gles_wrappers.c:1516: error: expected ')' before 'target'
compat/gles_wrappers.c:1522: error: expected ')' before 'target'
compat/gles_wrappers.c:1528: error: expected ')' before 'n'
compat/gles_wrappers.c:1534: error: expected ')' before 'n'
compat/gles_wrappers.c:1540: error: expected ')' before 'mode'
compat/gles_wrappers.c:1546: error: expected ')' before 'mode'
make: *** [compat/gles_wrappers.o] Error 1
|
2012-12-26
, 22:23
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#65
|
The Following 7 Users Say Thank You to xes For This Useful Post: | ||
|
2012-12-27
, 01:33
|
Posts: 268 |
Thanked: 75 times |
Joined on Jan 2011
|
#66
|
|
2012-12-27
, 05:32
|
Posts: 24 |
Thanked: 10 times |
Joined on Jun 2010
|
#67
|
I tried to install the dependences and i got this:
But i could install libsdl-gles1.2-dev
Now when i try FREMANTLE=1 DEBUG=1 make, i get an endless output of errors, this is the end of it:
|
2012-12-27
, 15:55
|
Posts: 268 |
Thanked: 75 times |
Joined on Jan 2011
|
#68
|
[sbox-FREMANTLE_X86: ~/apkenv-master] > cat /etc/apt/sources.list
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free
deb http://repository.maemo.org/ fremantle/******************************** nokia-binaries
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb-src http://repository.maemo.org/extras-devel fremantle free
deb http://repository.maemo.org/extras/ fremantle free non-free
deb-src http://repository.maemo.org/extras/ fremantle free
Reading package lists... Done
W: GPG error: http://repository.maemo.org fremantle Release: Couldn't access keyring: 'No such file or directory'
W: GPG error: http://repository.maemo.org fremantle Release: Couldn't access keyring: 'No such file or directory'
W: You may want to run apt-get update to correct these problems
[sbox-FREMANTLE_X86: ~/apkenv-master] > fakeroot apt-get install libsdl-gles1.2-dev
Reading package lists... Done
Building dependency tree... Done
libsdl-gles1.2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[sbox-FREMANTLE_X86: ~] > apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
Reading package lists... Done
Building dependency tree... Done
libsdl1.2 is already the newest version.
libsdl-mixer1.2 is already the newest version.
E: Couldn't find package libgles1-sgx-img
|
2012-12-27
, 16:09
|
Posts: 98 |
Thanked: 142 times |
Joined on Mar 2011
|
#69
|
sb-conf select FREMANTLE_ARMEL
The Following User Says Thank You to Sazpaimon For This Useful Post: | ||
|
2012-12-27
, 18:25
|
Posts: 268 |
Thanked: 75 times |
Joined on Jan 2011
|
#70
|
[sbox-FREMANTLE_ARMEL: ~] > apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
Reading package lists... Done
Building dependency tree... Done
libsdl1.2 is already the newest version.
libgles1-sgx-img is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgcc1: Depends: gcc-4.6-base (= 4.6.1-maemo6) but it is not going to be installed
libsdl-mixer1.2: Depends: libogg0 (>= 1:1.1.3) but it is not going to be installed
Depends: libsmpeg0 but it is not going to be installed
Depends: libvorbis0a (>= 1.2.3.tk1) but it is not going to be installed
Depends: libvorbisfile3 (>= 1.2.3.tk1) but it is not going to be installed
libsdl-mixer1.2-dev: Depends: libsdl-mixer1.2 (= 1:1.2.6-5+0m5)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install libsdl-gles1.2-dev
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgcc1: Depends: gcc-4.6-base (= 4.6.1-maemo6) but it is not going to be installed
libsdl-gles1.2-dev: Depends: libsdl-gles1.2-1 (= 1.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[sbox-FREMANTLE_ARMEL: ~] > apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
gcc-4.6-base
The following NEW packages will be installed:
gcc-4.6-base
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0B/136kB of archives.
After unpacking 209kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
gcc-4.6-base
Install these packages without verification [y/N]? y
dpkg: regarding .../gcc-4.6-base_4.6.1-maemo6_armel.deb containing gcc-4.6-base:
package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/gcc-4.6-base_4.6.1-maemo6_armel.deb (--unpack):
unsupported dependency problem - not installing gcc-4.6-base
Errors were encountered while processing:
/var/cache/apt/archives/gcc-4.6-base_4.6.1-maemo6_armel.deb
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)
[sbox-FREMANTLE_ARMEL: ~/apkenv-master] > FREMANTLE=1 DEBUG=1 make
CC compat/gles_wrappers.o
compat/gles_wrappers.c: In function 'my_glIsRenderbufferOES':
compat/gles_wrappers.c:1184: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glIsFramebufferOES':
compat/gles_wrappers.c:1220: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glCheckFramebufferStatusOES':
compat/gles_wrappers.c:1244: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glQueryMatrixxOES':
compat/gles_wrappers.c:1298: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glMapBufferOES':
compat/gles_wrappers.c:1406: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glUnmapBufferOES':
compat/gles_wrappers.c:1412: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glGetTexStreamDeviceNameIMG':
compat/gles_wrappers.c:1436: warning: control reaches end of non-void function
CC compat/hooks.o
CC compat/libc_wrappers.o
CC compat/liblog_wrappers.o
CC compat/pthread_wrappers.o
CC apklib/apklib.o
CC apklib/ioapi.o
CC apklib/ioapi_mem.o
CC apklib/unzip.o
CC jni/jnienv.o
CC jni/shlib.o
LINK apkenv
/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lSDL_gles
collect2: ld returned 1 exit status
make: *** [apkenv] Error 1
Last edited by Brian_7; 2012-12-25 at 05:29.