From f1f87e1c6e2087d3c26231b3cd3978accbfa5bf3 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 5 May 2020 14:18:25 +0200 Subject: [PATCH] Mention a workaround for relative paths with Meson I'm not quite sure why this behavior is different with the same version of Meson under different distros. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index fd56ce25..a39b3332 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,26 @@ meson setup --buildtype=release --cross-file cross-wine.conf build ninja -C build ``` +If you're getting an error similar to this: + +```shell +meson.build:45:0: ERROR: could not get file:../subprojects/bitsery-patch.tar.xz is the internet available? +``` + +Then you could try to start the build from the build directory. This seems to be +caused by Meson resolving relative paths differently on different distributions. + +```shell +# Remove any already downloaded and Meson subprojects, since this will otherwise +# cause a conflict +git clean -Xf subprojects/ + +mkdir -p build +cd build +meson setup --buildtype=release --cross-file ../cross-wine.conf +ninja +``` + ### 32-bit bitbridge It is also possible to compile a host application for yabridge that's compatible