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 OSG 3.6.4 in Win64 TDM GNU. Zachary1234 Build system [build] 24 Sat Jul 27, 2019 3:02 am View latest post
No new posts Android: Survive Context Loss without... Martin Siggel General 9 Mon Jul 22, 2019 12:17 pm View latest post
No new posts Building with MinGW on Windows 10 Skaldi Build system [build] 4 Sat May 18, 2019 3:47 pm View latest post
No new posts Building with Visual Studio 2019 icf80 Build system [build] 0 Fri May 10, 2019 11:20 am View latest post
No new posts Building with Visual Studio 2019 icf80 Build system [build] 2 Fri May 10, 2019 11:19 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