MantisBT - VCMI
View Issue Details
0002312VCMIOtherpublic2015-10-24 14:322022-04-12 09:17
Kantor 
SXX 
normalminoralways
closedfixed 
 
0.98f 
0002312: Can't build VCMI via CMake\MinGW
Compilation stops at this line: CConsoleHandler.cpp:141.
Full log is here:
CMakeFiles\vcmi.dir/objects.a(CConsoleHandler.cpp.obj): In function `Z20onUnhandledExceptionP19_EXCEPTION_POINTERS@4':
D:/VCMI/VCMI/source/lib/CConsoleHandler.cpp:141: undefined reference to `MiniDumpWriteDump@28'
collect2.exe: error: ld returned 1 exit status
lib\CMakeFiles\vcmi.dir\build.make:2663: recipe for target 'lib/VCMI_lib.dll' failed
mingw32-make[2]: *** [lib/VCMI_lib.dll] Error 1
CMakeFiles\Makefile2:139: recipe for target 'lib/CMakeFiles/vcmi.dir/all' failed
mingw32-make[1]: *** [lib/CMakeFiles/vcmi.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Current develop branch.
No tags attached.
Issue History
2015-10-24 14:32KantorNew Issue
2015-10-24 16:16AVSNote Added: 0005976
2015-10-24 16:16AVSNote Deleted: 0005976
2015-10-24 18:38AVSNote Added: 0005986
2015-12-21 19:55SXXNote Added: 0006199
2015-12-21 19:57SXXNote Edited: 0006199bug_revision_view_page.php?bugnote_id=6199#r3069
2015-12-21 21:17SXXNote Added: 0006204
2015-12-21 21:17SXXStatusnew => resolved
2015-12-21 21:17SXXFixed in Version => 0.98f
2015-12-21 21:17SXXResolutionopen => fixed
2015-12-21 21:17SXXAssigned To => SXX
2015-12-21 21:18SXXNote Edited: 0006204bug_revision_view_page.php?bugnote_id=6204#r3073
2022-04-12 09:17PovelitelStatusresolved => closed

Notes
(0005986)
AVS   
2015-10-24 18:38   
Missing linkage to dbghelp.a
(0006199)
SXX   
2015-12-21 19:55   
(edited on: 2015-12-21 19:57)
Yeah I personally just removed crash dump creator code completely:
http://forum.vcmi.eu/viewtopic.php?t=1122 [^]

(0006204)
SXX   
2015-12-21 21:17   
(edited on: 2015-12-21 21:18)
Ok added dbghelp to linkage in CMake:
https://github.com/vcmi/vcmi/commit/4124aacac85e5fd7e66a71030da4f2721029e6b2 [^]