It is really complex.
I'm using these selections:
1)Eclipse IDE for C/C++ Developers (includes Incubating components),Version: 2025-03 (4.35.0),Build id: 20250306-0812
2)MSYS2 (msys2-x86_64-20250221)
3)install MinGW as suggestion:
local/gcc-libs 13.3.0-1
Runtime libraries shipped by GCC
local/mingw-w64-ucrt-x86_64-gcc 14.2.0-3 (mingw-w64-ucrt-x86_64-toolchain)
GNU Compiler Collection (C,C++,OpenMP) for MinGW-w64
local/mingw-w64-ucrt-x86_64-gcc-libs 14.2.0-3
GNU Compiler Collection (libraries) for MinGW-w64
local/mingw-w64-x86_64-gcc 14.2.0-3 (mingw-w64-x86_64-toolchain)
GNU Compiler Collection (C,C++,OpenMP) for MinGW-w64
local/mingw-w64-x86_64-gcc-libs 14.2.0-3
GNU Compiler Collection (libraries) for MinGW-w64
(I don't know if I need to select ucrt or x86_64 version)
4)install wxWidgets in MSYS2:
local/mingw-w64-ucrt-x86_64-wxwidgets3.2-common 3.2.7-1
Static libraries and headers for wxWidgets 3.2 (mingw-w64)
local/mingw-w64-ucrt-x86_64-wxwidgets3.2-common-libs 3.2.7-1
wxBase shared libraries for wxwidgets 3.2 (mingw-w64)
local/mingw-w64-ucrt-x86_64-wxwidgets3.2-msw 3.2.7-1
A C++ library that lets developers create applications for Windows, Linux and UNIX (mingw-w64)
local/mingw-w64-ucrt-x86_64-wxwidgets3.2-msw-libs 3.2.7-1
wxMSW shared libraries for wxwidgets 3.2 (mingw-w64)
I can create "hello world" application and run it with Eclipse(C++ Managed Build).
But, when I turn to wxWidgets, blocked at the first line:
#include <wx/wx.h>
'wx/wx.h' file not found [pp_file_not_found]
The directory definition is right,and the file exists.
But I did not configure the wxWidgets(in Eclipse) indeed after installed in MSYS2,for I don't know what to do.
The other lines like "wx/...." will trigger the same error if I replaced "#include <wx/wx.h>" with absolute path.
I have searched web ,I saw there are many configuration need to finish in Eclipse if installing wxWidgets directly, should I do the same work after installed them in MSYS2?
Thanks for help.