• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

vs2015 and CodeBlock error Compile

I was able to compile and now when I run a customer error pops up and the logs have something like this

Code:
== application crashed
app name: OTClient
app version: 0.6.3
build compiler: msvc12
build date: Feb 23 2017
build type: RelWithDebInfo
build revision: 0 (devel)
crash date: Feb 23 2017 00:14:13
exception: Access violation (0xc0000005)
exception address: 0x0025fe00
  backtrace:
    0: C:\AW Klient\otclient.exe(std::basic_istream<char,std::char_traits<char> >::read+0x40) [0x000000000025FE00]
    1: C:\AW Klient\otclient.exe(load_apng+0x114) [0x0000000000458504]
    2: C:\AW Klient\otclient.exe(Image::loadPNG+0x7d) [0x000000000045E96D]
    3: C:\AW Klient\otclient.exe(Image::load+0x11a) [0x000000000045EF7A]
    4: C:\AW Klient\otclient.exe(WIN32Window::setIcon+0x65) [0x0000000000486D75]
    5: C:\AW Klient\otclient.exe(<lambda_74c012c65a09d11f84c737e944234b84>::operator()+0x10f) [0x00000000001E33BF]
    6: C:\AW Klient\otclient.exe(std::_Func_impl<<lambda_74c012c65a09d11f84c737e944234b84>,std::allocator<int>,int,LuaInterface *>::_Do_call+0x10) [0x0000000000236BB0]
    7: C:\AW Klient\otclient.exe(LuaInterface::luaCppFunctionCallback+0x8c) [0x000000000046B9DC]
    8: C:\AW Klient\otclient.exe(lj_BC_FUNCC+0x32) [0x000000000019A03A]
    9: C:\AW Klient\otclient.exe(lua_pcall+0x56) [0x000000000035F306]
    10: C:\AW Klient\otclient.exe(LuaInterface::safeCall+0x129) [0x000000000046D7F9]
    11: C:\AW Klient\otclient.exe(Module::load+0x3f8) [0x0000000000453B88]
    12: C:\AW Klient\otclient.exe(ModuleManager::ensureModuleLoaded+0x51) [0x0000000000454371]
    13: C:\AW Klient\otclient.exe(<lambda_74c012c65a09d11f84c737e944234b84>::operator()+0x10f) [0x00000000001E33BF]
    14: C:\AW Klient\otclient.exe(std::_Func_impl<<lambda_74c012c65a09d11f84c737e944234b84>,std::allocator<int>,int,LuaInterface *>::_Do_call+0x10) [0x0000000000236BB0]
    15: C:\AW Klient\otclient.exe(LuaInterface::luaCppFunctionCallback+0x8c) [0x000000000046B9DC]
    16: C:\AW Klient\otclient.exe(lj_BC_FUNCC+0x32) [0x000000000019A03A]
    17: C:\AW Klient\otclient.exe(lua_pcall+0x56) [0x000000000035F306]
    18: C:\AW Klient\otclient.exe(LuaInterface::safeCall+0x129) [0x000000000046D7F9]
    19: C:\AW Klient\otclient.exe(LuaInterface::runScript+0x1c) [0x000000000046C58C]
    20: C:\AW Klient\otclient.exe(LuaInterface::safeRunScript+0x41) [0x000000000046C5E1]
    21: C:\AW Klient\otclient.exe(main+0x225) [0x00000000004AC3D5]
    22: C:\AW Klient\otclient.exe(__scrt_common_main_seh+0xf9) [0x00000000003DCA66]
    23: C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x24) [0x00000000743462C4]
    24: C:\WINDOWS\SYSTEM32\ntdll.dll(RtlSubscribeWnfStateChangeNotification+0x439) [0x0000000077110FD9]
    25: C:\WINDOWS\SYSTEM32\ntdll.dll(RtlSubscribeWnfStateChangeNotification+0x404) [0x0000000077110FA4]

if someone is able to help me?
 
problem solved I had to swap files. dll
Do you have time to write some tutorial for Windows and share all required files?
I could not compile with CodeBlocks and with VS201X. Elf had to send me his CodeBlocks libraries to compile newest OTClient on windows.
 
Do you have time to write some tutorial for Windows and share all required files?
I could not compile with CodeBlocks and with VS201X. Elf had to send me his CodeBlocks libraries to compile newest OTClient on windows.

@conde2 He gave you a guide just as you have done it in vs2015 need to change debug to release and then compiles without errors
 
Back
Top