xcode - OpenSceneGraph DisplaySettings Thread Exc_bad_access -


i'm new openscenegraph , c++, , trying run basic program on xcode. project built successfully, crashes in second line

osg::ref_ptr<osg::displaysettings> displaysettings = new osg::displaysettings(); displaysettings->setdisplaytype(osg::displaysettings::monitor)

the exc_bad access error in library, in class osg_export displaysettings setdefaults.

i'm not sure if library wasn't installed correctly, or if xcode has problem, or problem in program code?

there many questions exc_bad_access answers specific, i'm sorry if duplicate.

thanks

the problem in library installation. reinstalled homebrew make sure built correctly , program works now.


Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -