LINUX.ORG.RU

История изменений

Исправление MKuznetsov, (текущая версия) :

Из оф.туториала, раздел libraries (https://wiki.gnome.org/Projects/Vala/Tutorial#Using_Libraries):

Use the next command to generate test.c, test.h and test.vapi files. These are the C versions of the library to be compiled, and the VAPI file representing the library's public interface.

$ valac -C -H test.h --library test test.vala --basedir ./

там кстати как-раз пример с вашим helloword :-)

Исходная версия MKuznetsov, :

Из оф.туториала, раздел libraries (https://wiki.gnome.org/Projects/Vala/Tutorial#Using_Libraries):

Use the next command to generate test.c, test.h and test.vapi files. These are the C versions of the library to be compiled, and the VAPI file representing the library's public interface.

$ valac -C -H test.h --library test test.vala --basedir ./

так кстати как-раз пример с вашим helloword :-)