Author Topic: Debugger Cannot Be Stopped  (Read 5800 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: Debugger Cannot Be Stopped
« Reply #15 on: May 09, 2019, 07:10:58 pm »
http://forums.codeblocks.org/index.php/topic,23126.msg157727.html#msg157727

Compiler:
======
Mingw_w64 : 8.1.0  (https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download)

In the following configuration :
Version : 8.1.0
Architecture : x86_64
Threads : posix
Exception : seh
Build Revision : 0


WX:
===
The nightly is still using wx 3.1.1, in order to build it on windows a little patch is needed :
Code
===> https://github.com/wxWidgets/wxWidgets/commit/424f64f27d94f83ed946ebfcf9b9543c828f9f25
include/wx/msw/private.h
    static HANDLE InvalidHandle()
    {
        return static_cast<HANDLE>(INVALID_VALUE);
        return reinterpret_cast<HANDLE>(INVALID_VALUE);
    }
so rather easy to adjust.

The build instruction is :
Code
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++11"


PS : the same instruction (minus that patch) work also to build wx 3.1.2, and this one has a zillion less warnings during the build :-)