Am Donnerstag, 19. März 2015 um 11:42:55, schrieb T. Modes <[email protected]>
> 
> Am Donnerstag, 19. März 2015 19:19:25 UTC+1 schrieb kornel:
> >
> > > Otherwise have a look at the variable INSTALL_LOCALE_DIR. 
> > > It is used by the code like 
> > >    locale.AddCatalogLookupPathPrefix(wxT(INSTALL_LOCALE_DIR)); 
> > > but not correctly set in CMake. 
> > > The variable is defined in hugin_config.h.in.cmake 
> > >     #define INSTALL_LOCALE_DIR "${INSTALL_LOCALE_DIR}" 
> > > 
> > > Maybe playing with this variable can help. 
> >
> > Unfortunately this seems not the problem, Hugin _correctly_ places 
> > 'hugin.mo'.

As expected, no problems with wx2.8.

> > It is only, that wx3.0 does search in 
> >         1.) /usr/share/locale 
> >         2.) /usr/local/share/hugin, but this is wrong. 
> >                 It should be /usr/local/share/locale. 
> > 
> Have you checked this variable? 
> What value is set to INSTALL_LOCALE_DIR in hugin_config.h?

It was empty. And you are right. If set, it searches there from start on now.

So, why don't we set this variable automatically?
Like:
        set(INSTALL_LOCALE_DIR ${CMAKE_INSTALL_PREFIX}/${LOCALEDIR})
before calling
        configure_file(src/hugin_config.h.in.cmake 
${CMAKE_BINARY_DIR}/src/hugin_config.h)


> Thomas

        Kornel
> 

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/3489454.IeCIb24O4h%40amd64.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to