Reply
Thread Tools
Posts: 98 | Thanked: 142 times | Joined on Mar 2011
#71
If I were you I would remove extras-devel from your repository.
 
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#72
Originally Posted by Sazpaimon View Post
If I were you I would remove extras-devel from your repository.
Done, but i still have those unmet dependencies problems
 
Posts: 98 | Thanked: 142 times | Joined on Mar 2011
#73
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's Avatar
Posts: 124 | Thanked: 125 times | Joined on Sep 2010
#74
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
__________________
Proud owner of a Nokia N900
If you like my post hit the Thanks button!
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#75
in harmattan we should install libgles2-dev for this
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#76
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.
 

The Following 2 Users Say Thank You to thp For This Useful Post:
B-RUNO's Avatar
Posts: 124 | Thanked: 125 times | Joined on Sep 2010
#77
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?
__________________
Proud owner of a Nokia N900
If you like my post hit the Thanks button!
 
Posts: 98 | Thanked: 142 times | Joined on Mar 2011
#78
For armel the package is named libgles2-sgx-img-dev
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#79
Originally Posted by thp View Post
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
 
B-RUNO's Avatar
Posts: 124 | Thanked: 125 times | Joined on Sep 2010
#80
Originally Posted by Sazpaimon View Post
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.
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
__________________
Proud owner of a Nokia N900
If you like my post hit the Thanks button!
 
Reply

Tags
apkenv


 
Forum Jump


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