New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using WxWidgts on Windows #13180
Comments
Dependencies without custom definitions in the meson source code automatically implement the pkg-config and cmake methods. Dependencies with custom definitions support whichever methods the python code says to implement. In this case, meson/mesonbuild/dependencies/ui.py Lines 147 to 184 in a0ff145
It's defined as an exclusive ConfigToolDependency. This could be changed but would require a proposal/PR and wouldn't apply before meson 1.5.0
The answer says that using the wx-config provided by mingw was fixed in meson 0.51.0. |
Hi there,
I have installed the latest version of Meson, CMake and WxWidgets on Windows 10 and tried to include the WxWidgets dependency on Windows. My Python version is 3.10. The compiler is the MSVC Compiler (2022). However, I get the following error message with the following code:
wx = dependency('wxwidgets'
)Runtime dependency wxwidgets found: NO (tried config-tool)
I tried to enforce this with cmake (method: cmake) but it was ignored. WxWidgets is installed in the default path and other libraries like libtorch or spdlog are found. After googeling I figured out that config-tool is Unix only. This StackOverflow answer says that this should have been fixed since version 0.51.
https://stackoverflow.com/a/54197888/12585571
Thank you very much.
Kind regards
The text was updated successfully, but these errors were encountered: