Closed tenko closed 6 months ago
Hi @tenko! thank you very much for the feedback and use NAppGUI.
At the moment, MinGW is not "officially" supported by the project. However, looking at your comments, I don't think will be very expensive to add this support. I'll keep it in mind for future reviews of the build system.
Great.
For information MSYS2 gcc version is up to date: gcc version 11.2.0 (Rev5, Built by MSYS2 project)
Hi @tenko, I am interested on testing NAppGUI on MinGW. Can you provide those project files?
After running cmake -S ./src -B ./build
I am getting the following which is not mentioned in your post.
-- Ninja
CMake Error at C:/msys64/home/Note13/_myGitHub/_synclist_public_/nappgui_src/prj/CMakeCompilers.cmak
e:113 (message):
Unknown compiler
Call Stack (most recent call first):
C:/msys64/home/Note13/_myGitHub/_synclist_public_/nappgui_src/prj/CMakeNAppGUI.cmake:35 (include)
CMakeLists.txt:9 (include)
The support for MinGW has been added in NAppGUI 1.4.2. Doc: https://nappgui.com/en/guide/win_mac_linux.html#h4 Commit: https://github.com/frang75/nappgui_src/commit/5f638074231f028a5eb8a07c2f0d232edad408c6 Thanks for the patience.
I was able to build the DLL with Rochus Keller's project files with MinGW on 64bit Windows 10 version with some changes:
The DLL built fine and worked with the ported Oberon+ examples. The edits here are minor and it look feasible to to support MinGW in the future.