Guido Kohlmeyer wrote:
> On win32 the celecte.model file is searched on the path
> INSTALL_XRC_DIR/data, but the macro INSTALL_XRC_DIR is replaced by
> "${CMAKE_INSTALL_PREFIX}/share/hugin/xrc" during compiling. Hence the
> path is fixed, which contradicts the approach to copy the application
> during setup to a directory chosen by the user.
> OK, how to solve? I need a variable that holds the current path of hugin
> application to build a the path to the celeste.model.
> Any suggestions?
MainFrame::Get()->GetXRCPath()
should be fixed in SVN3702, though I did not test if it breaks Linux. If
it does, apology.
Yuv
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---