OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Android can't build osgdb_png


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
lyn
Newbie


Joined: 02 Apr 2018
Posts: 10

PostPosted: Fri Jun 29, 2018 2:35 am    Post subject:
Android can't build osgdb_png
Reply with quote

Hi,

I'm building Android libs on Windows, other 3rdparty libs like osgdb_jpeg can all be build, except osgdb_png , is there something special and i missed?


Thank you!

Cheers,
lin
Back to top
View user's profile Send private message
lyn
Newbie


Joined: 02 Apr 2018
Posts: 10

PostPosted: Mon Jul 02, 2018 9:59 am    Post subject:
Reply with quote

Hi,

upup


Thank you!

Cheers,
lin
Back to top
View user's profile Send private message
lyn
Newbie


Joined: 02 Apr 2018
Posts: 10

PostPosted: Wed Jul 04, 2018 2:44 am    Post subject:
Reply with quote

Hi,

Anybody help!?


Thank you!

Cheers,
lin
Back to top
View user's profile Send private message
bbjorn
Appreciator


Joined: 12 Oct 2010
Posts: 221
Location: Linköping, Sweden

PostPosted: Wed Jul 04, 2018 10:22 am    Post subject:
Reply with quote

Hi,

I have no experience of this myself. But have you checked out Michael Kapelko's Android tutorials?

https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.8.SampleUnderAndroid

Regards,
Björn
Back to top
View user's profile Send private message Visit poster's website
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 300

PostPosted: Wed Jul 04, 2018 12:12 pm    Post subject:
Android can't build osgdb_png
Reply with quote

Hi.

I've detailed building PNG under Android a few months ago in this
example: https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/02.TextureImage#android

Basically, you need libpng-android and a few CMake tweaks.

PS: Björn thanks for sharing :)


On 4 July 2018 at 13:22, Björn Blissing <> wrote:
Quote:
Hi,

I have no experience of this myself. But have you checked out Michael Kapelko's Android tutorials?

https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.8.SampleUnderAndroid

Regards,
Björn

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74254#74254








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
lyn
Newbie


Joined: 02 Apr 2018
Posts: 10

PostPosted: Thu Jul 05, 2018 7:30 am    Post subject:
Reply with quote

Hi,

Thank you for your Reply ! I have sloved the issue.


Thank you!

Cheers,
lin
Back to top
View user's profile Send private message
SMesserschmidt (Sebastian Messerschmidt)
Forum Moderator


Joined: 10 Sep 2013
Posts: 826

PostPosted: Thu Jul 05, 2018 7:35 am    Post subject:
Android can't build osgdb_png
Reply with quote

Hi lin,

It would be useful for others encountering a similar problem to know
what your problem was and how you solved it.

Cheers
Sebastian

Am 05.07.2018 um 09:30 schrieb lin hui:
Quote:
Hi,

Thank you for your Reply ! I have sloved the issue.


Thank you!

Cheers,
lin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74261#74261









------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Colin
Newbie


Joined: 19 Nov 2013
Posts: 9

PostPosted: Tue Mar 26, 2019 9:56 pm    Post subject:
Reply with quote

I recently encountered a similar (maybe the same) issue building for Android ES1 (exceptions disabled).

I took a look at the CMake files and found that the PNG plug-in would not build unless cpp exceptions were enabled, so I took a look at the source code to see if it really required exceptions. Turned out it did not (someone added pre proc guards to handle that case) so I removed the exception requirement from CMake and the plugin finally built for me. I submitted a PR:

https://github.com/openscenegraph/OpenSceneGraph/pull/736
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Particular Build Problems with OSG. Zachary1234 Build system [build] 5 Wed Mar 27, 2019 7:12 am View latest post
No new posts Help about obtaining a particular OSG... Zachary1234 General 4 Sat Mar 02, 2019 11:33 am View latest post
No new posts use vs2013 to build osg3.6.3, some er... FreeSouth General 0 Sat Dec 08, 2018 3:26 pm View latest post
No new posts Emscripten build and dlopen jnmaloney General 2 Tue Sep 25, 2018 6:30 am View latest post
No new posts How I build OpenSceneGraph manually f... kornerr General 0 Tue Aug 14, 2018 11:51 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP