OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

problem in visual studio 2019

Open abc19850508 opened this issue 3 years ago • 2 comments

Today I compiled OpenSceneGraph with visual studio 2019. And then built a simple project to test. I met a problem as showed in the following pictures. How should I solve this problem? does any one ever met this problem?thanks for your help 7 9

abc19850508 avatar Jul 05 '20 15:07 abc19850508

Hi abc19850508 Would you mind to communicate with something that looks like a human name? Thanks. Your problem seems like the kind of errors that comes with using the release build of osg while running the debug version of your project. In visual studio you cannot mix C++ code compiled with the release runtime library (/MD option) with code compiled with the debug runtime library (/MDd option) without getting weird and untraceable crashes. Laurens.

LaurensVoerman avatar Jul 05 '20 16:07 LaurensVoerman

Hi abc19850508 Would you mind to communicate with something that looks like a human name? Thanks. Your problem seems like the kind of errors that comes with using the release build of osg while running the debug version of your project. In visual studio you cannot mix C++ code compiled with the release runtime library (/MD option) with code compiled with the debug runtime library (/MDd option) without getting weird and untraceable crashes. Laurens.

thank you! I solved the problem with your advice(and i also changed my name)

abc19850508 avatar Nov 05 '20 06:11 abc19850508