I just compiled my tool with ming64.
with standard mingw32, there is no problem.
But when I use mingw64 it's problem for me.
It build main ICON but not make menus "themed"
I used wxWidgets 2.9.0 with
"../configure --enable-static --enable-unicode --disable-shared --enable-monolithic --host=x86_64-w64-mingw32 --build=i686-linux"
Also resulting exe is not executing. Thats windres generated problem. I think its generate for 32 bit architecture.
Default wx-config --rescomp returns
"x86_64-w64-mingw32-windres --include-dir /wxWidgets-2.9.0/include --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
and makes exe corrupt.
I recompile object file with using
"x86_64-w64-mingw32-windres --include-dir /wxWidgets-2.9.0/include" only and after using "--define __WIN64__" and "--define __GNUWIN64__" flags but doesn't help.
Resulting screenshot of exe is attached. It's could be half ming64 and half wxWidgest bug. But I think needed to solved.
Fixed via using "--define WX_CPU_AMD64"
Glad we could help! :) :) :)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.