▒▓ ~/dev/Vala/effector meson build 1 ↵ ▓▒░
The Meson build system
Version: 0.51.2
Source dir: /home/gavr/dev/Vala/effector
Build dir: /home/gavr/dev/Vala/effector/build
Build type: native build
Project name: effector
Project version: undefined
C compiler for the host machine: ccache cc (gcc 9.2.1 "cc (SUSE Linux) 9.2.1 20190903 [gcc-9-branch revision 275330]")
Vala compiler for the host machine: valac (valac 0.46.5)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency glib-2.0 found: YES 2.62.3
Run-time dependency gtk+-3.0 found: YES 3.24.12
Run-time dependency gegl-0.4 found: YES 0.4.18
Run-time dependency gflow-0.2 found: YES 0.2
Run-time dependency gtkflow-0.2 found: YES 0.2
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Build targets in project: 6
Found ninja-1.9.0 at /usr/bin/ninja
░▒▓ ~/dev/Vala/effector sudo ninja -C build ✔ ▓▒░
ninja: Entering directory `build'
[3/13] Compiling Vala source ../src/thumbs.vala.
FAILED: thumbs@exe/src/thumbs.c
valac -C --debug --debug --pkg gegl-0.4 --color=always --directory thumbs@exe --basedir ../ ../src/thumbs.vala
gegl-0.4.vapi:56.71-56.74: error: The symbol `Babl' could not be found
public void set_color_from_pixel (Gegl.Rectangle rect, void* pixel, Babl.Object pixel_format);
^^^^
gegl-0.4.vapi:111.18-111.21: error: The symbol `Babl' could not be found
public unowned Babl.Object? get_format ();
^^^^
gegl-0.4.vapi:951.24-951.27: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
gegl-0.4.vapi:951.51-951.54: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
Compilation failed: 4 error(s), 0 warning(s)
[4/13] Compiling Vala source ../src/effector.vala.
FAILED: effector@sha/src/effector.c effector.h effector.vapi
valac -C --debug --debug --pkg gtkflow-0.2 --pkg gflow-0.2 --pkg gegl-0.4 --pkg gtk+-3.0 --pkg glib-2.0 --color=always --directory effector@sha --basedir ../ --library effector --header effector.h --vapi ../effector.vapi --gresources=/home/gavr/dev/Vala/effector/data/de.grindhold.effector.gresource.xml --target-glib=2.38 --vapidir=/home/gavr/dev/Vala/effector/vapi ../src/effector.vala
gegl-0.4.vapi:56.71-56.74: error: The symbol `Babl' could not be found
public void set_color_from_pixel (Gegl.Rectangle rect, void* pixel, Babl.Object pixel_format);
^^^^
gegl-0.4.vapi:111.18-111.21: error: The symbol `Babl' could not be found
public unowned Babl.Object? get_format ();
^^^^
gegl-0.4.vapi:951.24-951.27: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
gegl-0.4.vapi:951.51-951.54: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
Compilation failed: 4 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
```
▒▓ ~/dev/Vala/effector meson build 1 ↵ ▓▒░
The Meson build system
Version: 0.51.2
Source dir: /home/gavr/dev/Vala/effector
Build dir: /home/gavr/dev/Vala/effector/build
Build type: native build
Project name: effector
Project version: undefined
C compiler for the host machine: ccache cc (gcc 9.2.1 "cc (SUSE Linux) 9.2.1 20190903 [gcc-9-branch revision 275330]")
Vala compiler for the host machine: valac (valac 0.46.5)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency glib-2.0 found: YES 2.62.3
Run-time dependency gtk+-3.0 found: YES 3.24.12
Run-time dependency gegl-0.4 found: YES 0.4.18
Run-time dependency gflow-0.2 found: YES 0.2
Run-time dependency gtkflow-0.2 found: YES 0.2
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Build targets in project: 6
Found ninja-1.9.0 at /usr/bin/ninja
░▒▓ ~/dev/Vala/effector sudo ninja -C build ✔ ▓▒░
ninja: Entering directory `build'
[3/13] Compiling Vala source ../src/thumbs.vala.
FAILED: thumbs@exe/src/thumbs.c
valac -C --debug --debug --pkg gegl-0.4 --color=always --directory thumbs@exe --basedir ../ ../src/thumbs.vala
gegl-0.4.vapi:56.71-56.74: error: The symbol `Babl' could not be found
public void set_color_from_pixel (Gegl.Rectangle rect, void* pixel, Babl.Object pixel_format);
^^^^
gegl-0.4.vapi:111.18-111.21: error: The symbol `Babl' could not be found
public unowned Babl.Object? get_format ();
^^^^
gegl-0.4.vapi:951.24-951.27: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
gegl-0.4.vapi:951.51-951.54: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
Compilation failed: 4 error(s), 0 warning(s)
[4/13] Compiling Vala source ../src/effector.vala.
FAILED: effector@sha/src/effector.c effector.h effector.vapi
valac -C --debug --debug --pkg gtkflow-0.2 --pkg gflow-0.2 --pkg gegl-0.4 --pkg gtk+-3.0 --pkg glib-2.0 --color=always --directory effector@sha --basedir ../ --library effector --header effector.h --vapi ../effector.vapi --gresources=/home/gavr/dev/Vala/effector/data/de.grindhold.effector.gresource.xml --target-glib=2.38 --vapidir=/home/gavr/dev/Vala/effector/vapi ../src/effector.vala
gegl-0.4.vapi:56.71-56.74: error: The symbol `Babl' could not be found
public void set_color_from_pixel (Gegl.Rectangle rect, void* pixel, Babl.Object pixel_format);
^^^^
gegl-0.4.vapi:111.18-111.21: error: The symbol `Babl' could not be found
public unowned Babl.Object? get_format ();
^^^^
gegl-0.4.vapi:951.24-951.27: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
gegl-0.4.vapi:951.51-951.54: error: The symbol `Babl' could not be found
public static unowned Babl.Object? babl_variant (Babl.Object format, Gegl.BablVariant variant);
^^^^
Compilation failed: 4 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
```
wat. linking against gegl-0.4 went perfectly fine for me. no complaints about a Babl dependency. do you maybe miss stuff from libbabl? its a dependency of libgegl.
i am on debian buster here.
wat. linking against gegl-0.4 went perfectly fine for me. no complaints about a Babl dependency. do you maybe miss stuff from libbabl? its a dependency of libgegl.
i am on debian buster here.
Oh wait, may be its because of gegl-0.3.vapi there.
Nope, It and so used 0.4 vapi judging by errors.
Also, how to compile GFlow with valadoc generation? I have to rely on source browsing and autocompletion from language server. (I'm not very familiar with meson)
Oh wait, may be its because of gegl-0.3.vapi there.
Nope, It and so used 0.4 vapi judging by errors.
Also, how to compile GFlow with valadoc generation? I have to rely on source browsing and autocompletion from language server. (I'm not very familiar with meson)
interesting as my gegl-0.4.vapi does not contain a single reference to classes assigned to the namespace Babl. it also doesnt have babl-related stuff in gegl-0.4.deps.
compiling with docs should be enabled by default.
explicitly turned on would be:
$ meson -Denable_valadoc=true <buildfolder>
but it doesn't work for me right now. no idea why after quick research. will file this as a bug.
interesting as my `gegl-0.4.vapi` does not contain a single reference to classes assigned to the namespace `Babl`. it also doesnt have babl-related stuff in `gegl-0.4.deps`.
compiling with docs should be enabled by default.
explicitly turned on would be:
```
$ meson -Denable_valadoc=true <buildfolder>
```
but it doesn't work for me right now. no idea why after quick research. will file this as a bug.
But i can build it from Elementary, and even from Windows!
gavr@nout-elementary:~/Dev/effector/build$ vala --version Vala 0.46.5
MINGW64 ~ $ vala --version Vala 0.46.4
Sounds like magic, but now i cant build it from windows too. With the same error.
can you try to use gegl-0.3 instead of gegl-0.4? this is a bit hacky, but i remember that doing the trick for me, when i had the same problem.
There no more gegl-0.3 in the repos.
wat. linking against gegl-0.4 went perfectly fine for me. no complaints about a Babl dependency. do you maybe miss stuff from libbabl? its a dependency of libgegl. i am on debian buster here.
nope, libbabl installed, here paths if it means some
Oh wait, may be its because of gegl-0.3.vapi there.
Nope, It and so used 0.4 vapi judging by errors.
Also, how to compile GFlow with valadoc generation? I have to rely on source browsing and autocompletion from language server. (I'm not very familiar with meson)
interesting as my
gegl-0.4.vapi
does not contain a single reference to classes assigned to the namespaceBabl
. it also doesnt have babl-related stuff ingegl-0.4.deps
.compiling with docs should be enabled by default. explicitly turned on would be:
but it doesn't work for me right now. no idea why after quick research. will file this as a bug.