-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Meson error : can't find module #4605
Comments
Here the hotdoc module is a meson module, not the python module. You need Meson >= 0.48. I see gst-doc is missing a check on the minimal meson version. |
FYI, made a fix in gst-docs: https://gitlab.freedesktop.org/gstreamer/gst-docs/merge_requests/14 |
Thanks, Xavier :) |
I am getting basically this error using meson installed from the Ubuntu package repository (which is version 0.49.0, so it passes the version >= 0.48 check). Is meson not correctly packaged for Ubuntu, or what is the problem? Thanks
|
I experience the same problem with meson installed from the Arch linux repository (version 0.51.1). |
@FlyingBBQ Do you have CMake installed? If yes, could you please post the entire error message. There are multiple instances where CMake is (optionally) required in meson. |
Yes, I do have CMake installed (version 3.15.1). I'm trying to build CppUTest as CMake subproject with the following in my
The error from
I tried adding CMake manually with |
Are you cross compiling? I am also using Arch and I cannot reproduce this. I am testing with this project (also meson 0.51.1): https://github.com/mensinda/mesonCMakeBuilder
Is your source code public? |
I tried the project you linked which builds without problems. In my project I'm cross compiling for ARM. I just pushed the commit where I try to build CppUTest with CMake. If you clone my repository and run You will need the |
I managed to reproduce the error with your project. I also managed to fix it by adding Feel free to open a new issue specifically asking for better cross support. I will look into how hard it is to implement properly. Maybe I manage it until the next release. |
But I would guess that you won't get around writing your own CMake cross files (in addition to meson cross files) if you want to use CMake subprojects. Generating them automatically from meson corss files would be a nightmare. You could already test these if you manually pass |
First of all, thank you for the quick responses and support! However, my goal is not to compile the CMake subproject with the cross-compiler. CppUTest is a test framework which I would like to run from the build machine, so it should use the native compiler. Is this possible with a CMake subproject? or would it make more sense to add CppUTest to the WrapDB? |
I don't think that it is generally supported to build an entire subproject for the build machine (even the normal subprojects function lacks the |
When building https://gitlab.freedesktop.org/gstreamer/gst-docs ,
I get the following error:
meson.build:3:0: ERROR: Module "hotdoc" does not exist
I installed hotdoc via
python3 -m pip install hotdoc
However, when I run python3, I can import
hotdoc
moduleThe text was updated successfully, but these errors were encountered: