You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch is very simple, I just put the wxWidgets related header files before the vl related header files, because the wxWidgets header files may already set the unicode preprocessor correctly.
see discussion here:
when building this library wxWidgets support under msys2, I got build error, here is a patch to fix the error
Issue MicBosi#210 · MicBosi/VisualizationLibrary — MicBosi#210
Hi, I'm building this library with such cmake option below, note that wxWidgets gui option is
ON
.I am using this library under msys2:
When I run the command
mingw32-make.exe
I got such build error:
You can see, it looks like the ANSI (non-Unicode) version of the Windows API is used.
To solve this issue, I have such patch:
The patch is very simple, I just put the wxWidgets related header files before the vl related header files, because the wxWidgets header files may already set the unicode preprocessor correctly.
BTW: the wx library version 3.2.2.1 is already installed by the
pacman
command under msys2, see here:Package: mingw-w64-x86_64-wxwidgets3.2-msw - MSYS2 Packages
The text was updated successfully, but these errors were encountered: