sadface, it compiles but it crashes out as soon as it tries to invoke AlienMission.h
something wrong in the declarations?
stacktrace seems to indicate a problem here:
void setRegion(const std::string ®ion) { _region = region; }
Stacktrace:
KernelBase.dll!75d2c41f()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
KernelBase.dll!75d2c41f()
msvcr100d.dll!_nh_malloc_dbg_impl(unsigned int nSize=1343209810, int nhFlag=-529697949, int nBlockUse=1, const char * szFileName=0x00000003, int nLine=1635056, int * errno_tmp=0x00000000) Line 239 + 0x19 bytes C++
0018f2fc()
msvcr100d.dll!_CallSettingFrame(unsigned long funclet=1636968, unsigned long pRN=256, unsigned long dwInCode=1635224) Line 73 Asm
msvcr100d.dll!_CallCatchBlock2(EHRegistrationNode * pRN=0x0018fa68, const _s_FuncInfo * pFuncInfo=0x0086a524, void * handlerAddress=0x0042a187, int CatchDepth=0, unsigned long NLGCode=256) Line 508 + 0x11 bytes C++
msvcr100d.dll!CallCatchBlock(EHExceptionRecord * pExcept=0x0018f61c, EHRegistrationNode * pRN=0x0018fa68, _CONTEXT * pContext=0x0018f66c, const _s_FuncInfo * pFuncInfo=0x0086a524, void * handlerAddress=0x0042a187, int CatchDepth=0, unsigned long NLGCode=256) Line 1458 + 0x19 bytes C++
msvcr100d.dll!CatchIt(EHExceptionRecord * pExcept=0x0018f61c, EHRegistrationNode * pRN=0x0018fa68, _CONTEXT * pContext=0x0018f66c, void * pDC=0x0018f5f0, const _s_FuncInfo * pFuncInfo=0x0086a524, const _s_HandlerType * pCatch=0x0086a4e4, const _s_CatchableType * pConv=0x5014cdc0, const _s_TryBlockMapEntry * pEntry=0x0086a55c, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000, unsigned char IsRethrow=0) Line 1269 + 0x25 bytes C++
msvcr100d.dll!FindHandler(EHExceptionRecord * pExcept=0x0018f61c, EHRegistrationNode * pRN=0x0018fa68, _CONTEXT * pContext=0x0018f66c, void * pDC=0x0018f5f0, const _s_FuncInfo * pFuncInfo=0x0086a524, unsigned char recursive=0, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000) Line 766 + 0x32 bytes C++
msvcr100d.dll!__InternalCxxFrameHandler(EHExceptionRecord * pExcept=0x0018f61c, EHRegistrationNode * pRN=0x0018fa68, _CONTEXT * pContext=0x0018f66c, void * pDC=0x0018f5f0, const _s_FuncInfo * pFuncInfo=0x0086a524, int CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000, unsigned char recursive=0) Line 516 + 0x26 bytes C++
msvcr100d.dll!__CxxFrameHandler3(EHExceptionRecord * pExcept=0x0018fa68, EHRegistrationNode * pRN=0x0018f66c, void * pContext=0x0018f5f0, void * pDC=0x0018fa68) Line 361 + 0x1f bytes C++
ntdll.dll!76f0b459()
ntdll.dll!76f0b42b()
ntdll.dll!76f0b3ce()
ntdll.dll!76ec0133()
KernelBase.dll!75d2c41f()
msvcr100d.dll!_unlock(int locknum=8) Line 375 C
msvcr100d.dll!_unlockexit() Line 785 + 0x7 bytes C
msvcr100d.dll!_CxxThrowException(void * pExceptionObject=0x0018f9f4, const _s__ThrowInfo * pThrowInfo=0x5014cd78) Line 157 C++
msvcr100d.dll!operator new(unsigned int size=4277075696) Line 64 C++
OpenXcom.exe!std::_Allocate<char>(unsigned int _Count=4277075696, char * __formal=0x00000000) Line 36 + 0xf bytes C++
OpenXcom.exe!std::allocator<char>::allocate(unsigned int _Count=4277075696) Line 187 + 0xb bytes C++
OpenXcom.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=4277075694, unsigned int _Oldlen=0) Line 1933 + 0x12 bytes C++
OpenXcom.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=4277075694, bool _Trim=false) Line 1963 + 0x13 bytes C++
OpenXcom.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right=<Bad Ptr>, unsigned int _Roff=0, unsigned int _Count=4294967295) Line 902 + 0xe bytes C++
OpenXcom.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right=<Bad Ptr>) Line 889 C++
OpenXcom.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right=<Bad Ptr>) Line 765 C++
> OpenXcom.exe!OpenXcom::AlienMission::setRegion(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & region=<Bad Ptr>) Line 64 + 0x1d bytes C++
OpenXcom.exe!OpenXcom::GeoscapeState::determineAlienMissions(bool atGameStart=true) Line 1736 C++
OpenXcom.exe!OpenXcom::GeoscapeState::think() Line 410 C++
OpenXcom.exe!OpenXcom::Game::run() Line 233 + 0x28 bytes C++
OpenXcom.exe!SDL_main(int argc=3, char * * args=0x003d8410) Line 69 C++
OpenXcom.exe!_main() + 0x133 bytes C
OpenXcom.exe!__tmainCRTStartup() Line 555 + 0x19 bytes C
OpenXcom.exe!mainCRTStartup() Line 371 C
kernel32.dll!74a833aa()
ntdll.dll!76ee9ef2()
ntdll.dll!76ee9ec5()
OpenXcom.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,OpenXcom::RuleInventory *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,OpenXcom::RuleInventory *> >,0> >::_Erase(std::_Tree_nod<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,OpenXcom::RuleInventory *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,OpenXcom::RuleInventory *> >,0> >::_Node * _Rootnode=0x04c483fc) Line 1621 + 0xa bytes C++
458bffd7()