maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   ApkEnv support module development (https://talk.maemo.org/showthread.php?t=88250)

Sazpaimon 2012-12-27 19:40

Re: ApkEnv support module development
 
If I were you I would remove extras-devel from your repository.

Brian_7 2012-12-27 20:04

Re: ApkEnv support module development
 
Quote:

Originally Posted by Sazpaimon (Post 1308292)
If I were you I would remove extras-devel from your repository.

Done, but i still have those unmet dependencies problems

Sazpaimon 2012-12-27 21:12

Re: ApkEnv support module development
 
You need to remove/purge all those broken packages pulled in from extras-devel. try to dpkg --remove --purge them and reinstall them. All else fails, you can reinstall the FREMANTLE_ARMEL toolchain and try again.

B-RUNO 2012-12-27 21:53

Re: ApkEnv support module development
 
Hello to all,
When ever I try to compile apkenv with GLES=2 I get this error
Code:

apkenv.c: In function 'apk_basename':
apkenv.c:193: warning: return discards qualifiers from pointer target type
apkenv.c: In function 'main':
apkenv.c:356: error: 'SDL_GL_CONTEXT_MAJOR_VERSION' undeclared (first use in this function)
apkenv.c:356: error: (Each undeclared identifier is reported only once
apkenv.c:356: error: for each function it appears in.)
apkenv.c:360: error: 'SDL_OPENGLES' undeclared (first use in this function)
make: *** [apkenv.o] Error 1

By the way I have "libsdl-gles1.2-dev and install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1" installed, though I'm able to compile OpenGL ES 1.x but I can't compile it with OpenGL ES 2.0
Does anyone have any idea what I'm missing :confused:

coderus 2012-12-28 04:25

Re: ApkEnv support module development
 
in harmattan we should install libgles2-dev for this

thp 2012-12-28 10:10

Re: ApkEnv support module development
 
You should be able to build apkenv in Scratchbox (for Harmattan) using:

Code:

dpkg-buildpackage -rfakeroot -b
If dependencies are missing, you should get a list of packages that you need to install. If the build still fails, then the packaging information is incomplete, and we need to add more dependencies. In addition to the default repositories added, on Maemo 5 I usually add the extras-devel repository, and on Harmattan you don't need to add additional repositories.

B-RUNO 2012-12-28 15:26

Re: ApkEnv support module development
 
Seems that libgles2-dev is only available Fremantle_x86 not Armel
Package Link
I believe that is the reason because I cannot compile with OpenGL ES 2.0 or Am I wrong?
:confused:

Sazpaimon 2012-12-28 16:02

Re: ApkEnv support module development
 
For armel the package is named libgles2-sgx-img-dev

thedead1440 2012-12-28 17:03

Re: ApkEnv support module development
 
Quote:

Originally Posted by thp (Post 1308432)
You should be able to build apkenv in Scratchbox (for Harmattan) using:

Code:

dpkg-buildpackage -rfakeroot -b

It built fine for me; thanks for this! It works well too; at least with the only game i've tried so far, fruit ninja :D

B-RUNO 2012-12-28 17:10

Re: ApkEnv support module development
 
Quote:

Originally Posted by Sazpaimon (Post 1308535)
For armel the package is named libgles2-sgx-img-dev

You're right Sazpaimon and without I realizing I had installed already and I still get the same error.
Quote:

apkenv.c: In function 'apk_basename':
apkenv.c:193: warning: return discards qualifiers from pointer target type
apkenv.c: In function 'main':
apkenv.c:358: error: 'SDL_GL_CONTEXT_MAJOR_VERSION' undeclared (first use in this function)
apkenv.c:358: error: (Each undeclared identifier is reported only once
apkenv.c:358: error: for each function it appears in.)
apkenv.c:360: error: 'SDL_OPENGLES' undeclared (first use in this function)
make: *** [apkenv.o] Error 1
So I guess I have to wait for someone with fremantle sdk to report if have the same problem or wait for thp.
Regards


All times are GMT. The time now is 15:51.

vBulletin® Version 3.8.8