valac --pkg option makes use of pkg-config names to link to the correct libraries.
babl-0.0.vapi -> babl.vapi
gegl-0.0.vapi -> gegl.vapi
valac -C gegl-paint.vala gegl-view.vala --pkg=gtk+-2.0 --vapidir=../vapi --pkg=gegl-0.1 --pkg=babl-0.1 --thread
Crap, I didn't triple-check this. Replace 0.1 with 0.0 and use path to gegl/bindings/vala as vapidir :
valac -C gegl-paint.vala gegl-view.vala --pkg=gtk+-2.0 --vapidir=<path_to>/gegl/bindings/vala --pkg=gegl-0.0 --pkg=babl-0.0 --thread
Damien
valac -C gegl-paint.vala gegl-view.vala --pkg=gtk+-2.0 --vapidir=<path_to>/gegl/bindings/vala --pkg=gegl-0.0 --pkg=babl-0.0 --thread
Damien
_______________________________________________ Gegl-developer mailing list Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer