Code: Select all
wxbase311u_gcc_custom.dll
wxmsw311u_core_gcc_custom.dll
wxmsw311u_gl_gcc_custom.dll
With all the dlls in the .exe directory, it runs but with problems. I'm getting a lot of assertions about mouse capture and it eventually hangs because it displays a dialog box underneath other windws which makes it inaccessible.
I do have both static and dynamic wx:
Code: Select all
./mingw64/lib/wx/include/msw-unicode-3.1/wx
./mingw64/lib/wx/include/msw-unicode-static-3.1/wx
Code: Select all
g++ -std=c++1y -std=c++17 -I../../ -I"/msys64/include/wx-3.1" -I"/msys64/lib/wx/include/msw-unicode-static-3.1" -O0 -g3 -Wall -c -fmessage-length=0 `wx-config --cxxflags` -MMD -MP -MF"context_menu.d" -MT"context_menu.o" -o "context_menu.o" "../context_menu.cpp"
Code: Select all
$ wx-config --cxxflags
-I/mingw64/lib/wx/include/msw-unicode-static-3.1 -I/mingw64/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXMSW__
$ wx-config --libs
-L/mingw64/lib -Wl,--subsystem,windows -mwindows /mingw64/lib/libwx_mswu_xrc-3.1.a /mingw64/lib/libwx_mswu_qa-3.1.a /mingw64/lib/libwx_baseu_net-3.1.a /mingw64/lib/libwx_mswu_html-3.1.a /mingw64/lib/libwx_mswu_adv-3.1.a /mingw64/lib/libwx_mswu_core-3.1.a /mingw64/lib/libwx_baseu_xml-3.1.a /mingw64/lib/libwx_baseu-3.1.a -llzma -lwxtiff-3.1 -lwxjpeg-3.1 -lwxpng-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lexpat -lz -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc
I was expecting a port from windows 10/msys to windows 7/msys to be trivial but it's complicated by the fact that Eclipse loses a lot of important settings (e.g. the toolchain settings and command line pattern) when moving from one system to another so it's entirely possible I have one of them wrong. Also there appears to be a difference in the way Eclipse handles paths in windows 7 and windows 10 e.g. the include files have to be specified as /msys64/lib/... rather than /usr/lib/...
System:
- Windows 7 professional
wxWidgets 3.1.1
Eclipse Version: 2018-09 (4.9.0) Build id: 20180917-1800
gcc 8.2