Am Sonntag 26 Juli 2009 schrieb Yuval Levy:
> Kornel Benko wrote:
> > Hi,
> > I got this error compiling trunk:
> > ...
> > /usr/src/hugin/hugin/src/hugin1/hugin/huginApp.cpp: In member function
> > ‘virtual bool huginApp::OnInit()’:
> > /usr/src/hugin/hugin/src/hugin1/hugin/huginApp.cpp:164: error:
> > ‘LINSTALL_DATA_DIR’ was not declared in this scope
> > ...
> >
> > With attached patch it compiles again.
> >
> >     Kornel
>
> this was already there - I fixed the location of the celeste.model so
> that it is not mixed with the GUI elements. Are you sure you updated the
> whole tree before building?

Hmm yes, I am always updating before compile.
(I was sending this e-mail _before_ your change, but it was delayed for 20 
hours)

> http://hugin.svn.sourceforge.net/viewvc/hugin/hugin/trunk/src/hugin_config.
>h.in.cmake?r1=4097&r2=4096&pathrev=4097

I still have a difference in my local tree.  Celeste has not found 
celeste.model, so I corrected the installation-place too.

> Yuv
>


-- 
Kornel Benko
[email protected]
Index: src/celeste/CMakeLists.txt
===================================================================
--- src/celeste/CMakeLists.txt	(revision 4101)
+++ src/celeste/CMakeLists.txt	(working copy)
@@ -94,6 +94,6 @@
 )
 
 INSTALL(TARGETS celeste_standalone DESTINATION ${BINDIR}) 
-INSTALL(FILES ${CELESTE_MODEL} DESTINATION ${HUGINDATADIR})
+INSTALL(FILES ${CELESTE_MODEL} DESTINATION ${INSTALL_DATA_DIR})
 
 add_subdirectory(training)

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

Reply via email to