OpenSceneGraph
OpenSceneGraph copied to clipboard
problem in visual studio 2019
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
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.
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)