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 

Building osg for Android on windows


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
njx937
Newbie


Joined: 27 Nov 2014
Posts: 9

PostPosted: Wed Dec 10, 2014 12:57 pm    Post subject:
Building osg for Android on windows
Reply with quote

Hi all,
I am now trying to build osg for android on windows.
I met a error in osgPlugin/gif(9) "Cannot find target to add properties to: osgdb_"
Code:
INCLUDE_DIRECTORIES( ${GIFLIB_INCLUDE_DIR} )
SET(TARGET_SRC ReaderWriterGIF.cpp )
SET(TARGET_LIBRARIES_VARS GIFLIB_LIBRARY )
#### end var setup  ###
SETUP_PLUGIN(gif)
IF(MSVC)
    SET_TARGET_PROPERTIES("${TARGET_DEFAULT_PREFIX}${TARGET_NAME}" PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRT")
ENDIF()

and when I comment out the last three lines(if ~endif). I succeed in generation in cmake by command line(cmd). I succeeded in compiling as well.
For further information, I am using OSG3.2.1, windows7, visual studio 2013, android ndk r10 and 3rdparty lib from http://www.openscenegraph.org/index.php/documentation/platform-specifics/android/43-building-openscenegraph-for-android-3-0-2
I want to make sure that if these lines are necessary.
Thank you.
Best regards,
NIE JUNXIAO

...


Thank you!

Cheers,
Nie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] 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 Building on macOS 10.14 Ulrich Hertlein General 9 Sun Nov 11, 2018 12:45 pm View latest post
No new posts Unable to run example (QTCreator, CMa... Nirodha General [forum] 1 Wed Oct 31, 2018 11:04 pm View latest post
No new posts OSG 3.6.3 Windows VC++ Binaries Posted DeadParrot Announcement [ANN] 3 Mon Oct 29, 2018 8:48 pm View latest post
No new posts building the fbx plugin Tare Plugins [osgPlugins] 2 Wed Oct 10, 2018 3:04 pm View latest post
No new posts GL profiles issues on Windows Riccardo Corsi General 11 Tue Sep 04, 2018 8:46 pm 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