On August 4, 2010 03:05:49 am Frank Jäger wrote:
> Hallo,
> I built up hugin 2010.0.0 and the assistent tools from Source on Ubuntu
> 10/04 64bit some days ago. I followed the instructions on
> http://wiki.panotools.org/Hugin_Compiling_ubuntu and I discovered 2 errors.

there is actually only one error, and it is not in the instructions.


> 1. Error:
> 
> cmake failed because of missing file "rev.txt" in the hg-repository.
> I copied this file from an unpacked hugin-2010.0.0.tar.gz.
> It's only a 4-Byte text-file with number "5045" in it.

fiddling around with files without understanding them will yield unpredictable 
consequences, such as a build that may seem to be successful but is not.
 
 
> 2. Error:
> 
> You have to run "make" in "hugin.hg" but not in "hugin.hg-build".
> cmake puts his files there. Source- and build-files are mixed, what is
> not indented.

error 1 is a consequence of error 2:  make should be run where documented and 
not where fiddled.

and error 2 is probably because you did not do `cmake ../hugin.hg` from within 
"hugin.hg-build".  Maybe a missed cd.

Bottom line: before trying to change the instructions to fit the situation you 
got into, consider how you got into your situation.  It is more likely that 
you made a mistake getting there, than that the instructions are wrong.  
Especially if you don't understand what you are doing (the rev.txt file is 
*generated* by cmake if properly run against a repository checkout).

Yuv

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

Reply via email to