Am Mittwoch, 30. Oktober 2013 um 00:49:11, schrieb Yili Zhao <[email protected]>
> 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

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

Reply via email to