Visual Studio 2013 Compilation Issue
Posted: Thu Oct 30, 2014 3:35 pm
Hi everyone,
I have copied the source for simplebot to a new folder, upgraded it to a Visual Studio 2013 project and compiled. No errors, no warnings. But when selected in the main game, it throws a a general error:
"This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."
I ran a debug session and captured this error being thrown:
First-chance exception at 0x76802F71 in defcon.exe: Microsoft C++ exception: std::length_error at memory location 0x0018F8DC.
Here is the relevant stack:
KernelBase.dll!76802f71() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
[External Code]
> MarxDefconBot.dll!AI_init(Funct * _functions, std::vector<std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >,std::allocator<std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > > _commandLineOptions) Line 42 C++
defcon.exe!004a96aa() Unknown
[External Code]
defcon.exe!004efcb7() Unknown
defcon.exe!004a837a() Unknown
defcon.exe!004a837a() Unknown
Has anyone seen this before, or have a potential solution?
I have copied the source for simplebot to a new folder, upgraded it to a Visual Studio 2013 project and compiled. No errors, no warnings. But when selected in the main game, it throws a a general error:
"This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."
I ran a debug session and captured this error being thrown:
First-chance exception at 0x76802F71 in defcon.exe: Microsoft C++ exception: std::length_error at memory location 0x0018F8DC.
Here is the relevant stack:
KernelBase.dll!76802f71() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
[External Code]
> MarxDefconBot.dll!AI_init(Funct * _functions, std::vector<std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >,std::allocator<std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > > _commandLineOptions) Line 42 C++
defcon.exe!004a96aa() Unknown
[External Code]
defcon.exe!004efcb7() Unknown
defcon.exe!004a837a() Unknown
defcon.exe!004a837a() Unknown
Has anyone seen this before, or have a potential solution?