OGRECave / ogitor

Ogitor SceneBuilder, the WYSIWYG scene editing environment for OGRE
MIT License
95 stars 31 forks source link

std::length_error in qtOgitor #32

Open ronaldpan opened 4 years ago

ronaldpan commented 4 years ago

struct OgreContext : public OgreBites::ApplicationContextQt { OgreContext() : OgreBites::ApplicationContextQt("Ogitor") {} // here Microsoft C++ exception: std::length_error

QT5.14.12+VS2017+Windows 10 + OGRE 20200423

paroj commented 4 years ago

verify that both ogre and ogitor are built with the same exception flags e.g. /EHsc

ronaldpan commented 4 years ago

I checked all the flag /EHsc. They are Yes in both ogre and ogitor. The error still occur in Debug and Release.

ronaldpan commented 4 years ago

I changed to empty string. I still got the Error : std::length_error at memory location OgreContext() : OgreBites::ApplicationContextQt() {}