vala-lang / valdo

Create new Vala projects from templates
GNU Lesser General Public License v2.1
49 stars 13 forks source link

Compilation fails #2

Closed pervoj closed 3 years ago

pervoj commented 3 years ago

Compilation fails when using:

meson _build
cd _build
sudo ninja install

Error messages: screenshot – errors

Prince781 commented 3 years ago

Good catch. You need Vala 0.52 or higher (I think) since the source uses the with keyword.

pervoj commented 3 years ago

And where can I get version 0.52 for Fedora 34?

Prince781 commented 3 years ago

@pervoj do a git pull now. Valdo should be able to build with your version of Vala (0.48)

pervoj commented 3 years ago

Thank you!

But I compilation failed again. I solved it: in src/value.vala replace 32nd line with:

var substring = value_pattern[end_pos:value_pattern.length];
Prince781 commented 3 years ago

Okay, I think this is resolved now.