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 

OSG static v 3.6.3 CMake 3.12.4 + Visual studio 2017


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


Joined: 25 Nov 2018
Posts: 2

PostPosted: Fri Feb 01, 2019 8:19 am    Post subject:
OSG static v 3.6.3 CMake 3.12.4 + Visual studio 2017
Reply with quote

Hi.

I try to build a static library assembly, everything is assembled without errors, but when I run the simplest example, the program immediately closes, returning 0. The following is displayed in the console:

Warning: GraphicsContext::WindowingSystemInterfaces::getWindowingSystemInterface() failed, no interfaces available.
AcrossAllScreens::configure() : Error, no WindowSystemInterface available, cannot create windows.
Viewer::realize() - failed to set up any windows

What I replaced regarding dynamic builds:
removed the checkboxes with DYNAMIC_OPENSCENEGRAPH and DYNAMIC_OPENTHREADS, and also changed in CMAKE_CXX_FLAGS... and CMAKE_C_FLAGS... MD->MT.

In a dynamic build, everything works as it should.

Thank you!

Cheers,
Anton

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







------------------
Post generated by Mail2Forum
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 CMake can't find libraries Rodrigo General [forum] 3 Wed Jan 02, 2019 12:25 am View latest post
No new posts OSG static v 3.6.3 CMake 3.12.4 + Vis... Serathin Build system [build] 0 Sun Nov 25, 2018 8:52 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 Enable Qt5Widgets_DIR into cmake (GUI) Andrea74 General 2 Wed Sep 05, 2018 7:40 am View latest post
No new posts how can i static link to OSG soar General [forum] 2 Sun Jun 10, 2018 9:16 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