Well I guess your script really does require a newer CMake, now I get...
tommy@HPubu:~/hugin-et-al/libpano13$ cmake .
-- Found TIFF: /usr/include
-- Found JPEG: /usr/include
-- Found PNG: /usr/include
CMake Error: Error in cmake code at
FILE does not recognize sub-command STRINGS
Current CMake stack:
-- svnversion = /usr/bin/svnversion
-- Configuring done
The current CMakelists.txt also fails on my Ubuntu Linux system because I have a version 2.4.7 of CMake, which requires that "if(some expression)" be closed with "endif(some expression)", and you have used "endif()" in numerous places. I suppose recent CMake versions allow that.
My solution will be to insert the required expressions and commit, unless you feel that a more recent CMake version is really required to get the build to work -- in which case you should change line 26, "cmake_minimum_required(VERSION 2.4)".
On Fri, Sep 18, 2009 at 10:01 PM, Thomas Sharpless <email@example.com> wrote:Hey Kornel
The latest line you added to CMakelists.txt,
"install(TARGETS pano13 LIBRARY DESTINATION lib)"
breaks my Windows build, as the name "lib" is not resolved.
It would probably be best to make these install instructions conditional on Linux. On Windows there is no good way to install from a makefile; however it would be nice to put a simulated "install" directory tree inside the build tree created by CMake, as the Hugin scripts do.
Regards, Tom2009/9/18 Kornel Benko <Kornel.Benko@berlin.de>Am Freitag 18 September 2009 schrieb dmg:Because I am used to discuss patches before commiting.
> Hi Kornel,
> Why don't you commit the changes, to test your svn write access?
But OK, I have a patch, which is not breaking anything. It additionally handles the manual
Will try, but let me check first.
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
PanoTools-devel mailing list