0

I installed Gnome Builder from Discover. I am not sure if this is the latest version or not, but the version is 3.30.1. I clicked new project and chose C# GTK application. Without changing anything, I pressed the build button, and build failed.

The message was,

Already on 'master'

The Meson build system

Version: 0.46.0 Source dir: /run/build/gtk-sharp3

Build dir: /run/build/gtk-sharp3/_flatpak_build

Build type: native build

meson_options.txt:2:0: ERROR: Unknown type feature.

A full log can be found at /run/build/gtk-sharp3/_flatpak_build/meson-logs/meson-log.txt Error: module gtk-sharp3: Child process exited with code 1

I had searched Google, and it seemed to be that the message was because Meson's version was below 47. But the problem is, I am not sure where this "0.46.0" is coming from. I have examined all files in the project, and none of the files had that version string. I installed Meson manually, and its version was 0.48.1. Still, I got the same message. I uninstalled Meson, and still I got the same message.

It seems almost as if Gnome Builder ignores system-wide settings, and has its own copy of Meson 0.46.0 somewhere. How to change it?

4

1 回答 1

0

Builder 可能正在针对特定的 Flatpak 运行时构建您的应用程序,其中包括特定版本的 Meson,独立于您的主机系统中安装的内容。在 Build Settings 面板中,您可以选择不同的运行时或针对主机系统进行构建。

于 2018-11-22T16:06:19.857 回答