1. Should I add "-DCMAKE_INSTALL_PREFIX=/usr/local" to Cmake? (Because 
libpano13 and enblend all have this option in the Wiki)

2. What the app will be built when "-DBUILD_KEYPOINTS=ON" is enable?

在 2013年10月30日星期三UTC+8下午4时12分01秒,kornel写道:
>
>  Am Mittwoch, 30. Oktober 2013 um 00:49:11, schrieb Yili Zhao <
> pan...@gmail.com <javascript:>>
>
> > Hi,
>
> > after source updated by:
>
> > hg pull
>
> > hg update
>
> > 
>
> > Do I need to re-configure the build environment by:
>
> > cd hugin.build
>
> > cmake ../hugin.hg -DENABLE_LAPACK=YES -DCPACK_BINARY_DEB:BOOL=ON 
>
> > -DCPACK_BINARY_NSIS:BOOL=OFF \
>
> > -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF 
>
> > -DCPACK_BINARY_TBZ2:BOOL=OFF \
>
> > -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF 
>
> > -DCMAKE_BUILD_TYPE=RelWithDebInfo \
>
> > -DBUILD_HSI:BOOL=ON -DSWIG_EXECUTABLE=/usr/bin/swig2.0
>
> > 
>
> > Or, just skip above step and use:
>
> > make package
>
> > sudo dpkg -i hugin-*-Linux.deb
>
>  
>
> Attention: there may be other left-over .deb files from previous versions
>
>  
>
> > sudo ldconfig
>
>  
>
> My habit is to always use full cmake command (per script), it does not 
> harm.
>
> #cmake /usr/src/hugin/hugin_hg -DENABLE_LAPACK=YES \
>
> -DCPACK_BINARY_RPM:BOOL=OFF \
>
> -DCPACK_BINARY_DEB:BOOL=ON \
>
> -DCPACK_BINARY_NSIS:BOOL=OFF \
>
> -DCPACK_BINARY_STGZ:BOOL=OFF \
>
> -DCPACK_BINARY_TGZ:BOOL=OFF \
>
> -DCPACK_BINARY_TBZ2:BOOL=OFF \
>
> -DCPACK_BINARY_TZ:BOOL=OFF \
>
> -DCPACK_SOURCE_TBZ2:BOOL=OFF \
>
> -DCPACK_SOURCE_TGZ:BOOL=ON \
>
> -DCPACK_SOURCE_TZ:BOOL=OFF \
>
> -DCPACK_SOURCE_ZIP:BOOL=OFF \
>
> -DBUILD_HSI:BOOL=ON \
>
> -DBUILD_KEYPOINTS=ON \
>
> -DREBUILD_TRANSLATIONS=ON \
>
> -DCMAKE_BUILD_TYPE=Release \
>
> -DCPACK_PACKAGE_DESCRIPTION_SUMMARY='hugin built by Kornel Benko'
>
>  
>
> Setting for swig2 should be automatic, here it is:
>
> #grep swig CMakeCache.txt
>
> SWIG_DIR:PATH=/usr/share/swig2.0
>
> SWIG_EXECUTABLE:FILEPATH=/usr/bin/swig2.0
>
>
> FIND_PACKAGE_MESSAGE_DETAILS_SWIG:INTERNAL=[/usr/bin/swig2.0][/usr/share/swig2.0][v2.0.4(2.0)]
>
>  
>
> If something bigger in your system changes, always remove CMakeCache.txt 
> before calling cmake.
>
> In most case the call to 'make package' should be sufficient though.
>
>  
>
> > Thanks!
>
> > 
>
>  
>
> 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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/ba13c25e-ffad-419b-a5e7-df1aa8b0f8b9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to