Can't debug sphere from git
I have cloned sphere source git and builded with success using visual studio 2015 but when I try to debug I get the exception:
Unhandled exception at 0x7779DDC2 in SphereSvr.exe: Microsoft C++ exception: CGrayAssert at memory location 0x001FF75C.
The exception is thrown because in class CWindow the method IsWindow is returning false
BOOL IsWindow() const
{
if ( this == NULL )
return( false );
if ( m_hWnd == NULL ) <---- IT IS NULL
return( false );
return( ::IsWindow( m_hWnd ));
}
Downloaded visual studio 2017 like it is in the readme (selecting the requirements during the installation) but it made no diference.
I am trying to build targetting x86, Windows sdk version: 10.0.17134.0
If I ignore this exception and continue, the console open and load all scripts but then start to give these errors until it get to this line _DEBUG_ERROR("map/set iterator not dereferencable"); and the crash.
02:20:ERROR:sector #5169 [1088,2944,0,0]
02:20:ERROR:sector #6193 [2112,3520,0,0]
02:20:ERROR:sector #49 [3136,0,0,1]
02:20:ERROR:sector #1073 [4160,576,0,1]
02:20:ERROR:sector #2097 [5184,1152,0,1]
02:20:ERROR:sector #3121 [6208,1728,0,1]
02:20:ERROR:sector #4145 [64,2368,0,1]
02:20:ERROR:sector #5169 [1088,2944,0,1]
02:20:ERROR:sector #6193 [2112,3520,0,1]
02:20:ERROR:sector #49 [832,64,0,2]
02:20:ERROR:sector #49 [576,64,0,3]
02:20:ERROR:sector #1073 [2112,1664,0,3]
02:20:ERROR:sector #49 [320,128,0,4]
(This post was last modified: 08-07-2018 04:31 PM by fabiohvp.)
|