Comment 8 for bug 679715

Revision history for this message
tmodes (tmodes) wrote :

Hi Yuv,

Point 1: You are using INSTALL_LOCALE_DIR. This is a fixed absolute path, which does not work on Windows. A solution can be found now in lines 288ff in src/celeste/Main.cpp. It moved some lines since the last comment. So looking at the code, I see that this does also not work with the bundled Mac version.

Point 2: e.g. in ImagesCaches.cpp you call twice

bindtextdomain( "hugin", INSTALL_LOCALE_DIR );
textdomain( "hugin" );

This code is linux only and should be moved into an own function providing the platform specific part, see point 1

Concerning wxWidgets. wxWidgets provides own routines for translations. So you need to check if wxWidgets own translation work together with the new introduced gettext lib translation in part of Hugin libaries or if there are cross over effects.

I have no idea for an other lib.

Concerning the links: They don't help further. Link 1 would introduce a dll -> dll hell. All other libraries in Hugin on Windows are static. Also the mentioned way does not provide the necessary files for linking the dll with Hugin.
Link 2 is using a compiliation model which is incompatible with Hugin.