Confusion with Localisation (GETTEXT_PACKAGE)

33 views
Skip to first unread message

JohnCC

unread,
Apr 6, 2023, 10:42:10 AM4/6/23
to The Meson Build System
Hi all... Getting my feet wet with the Meson build system. I successfully created the simple and Gtk examples.

I am now trying to get an old project over from maketools to Meson, and received a message about missing 'GETTEXT_PACKAGE'. I'm following the indications from the localisation page, but surely I'm doing something wrong.

  1. When I invoke `meson compile linsmith-pot` from the build directory, I get the error `Can't invoke target `linsmith-pot`: target not found`. 
  2. I did include `subdir('po')` in the root's meson.build file (is the place  important?) and I have created the `'po/meson.build'` and `linsmith.pot` files. (BTW, is that correct - linsmith.po as filename and linsmith-pot in the command?)
Any suggestions?

Reply all
Reply to author
Forward
0 new messages