[ptx] error compiling hugin with boost-1.32

Bruno Postle bruno at postle.net
Wed Feb 22 21:54:49 GMT 2006


On Mon 13-Feb-2006 at 22:03 +0000, Bruno Postle wrote:
>
> I still have to rearrange two includes in this file otherwise I get 
> the same error, they need to be in this order:
>
>  #include <boost/numeric/ublas/operation.hpp>
>  #include <boost/numeric/ublas/vector.hpp>

Arggh, had these the wrong way around, this is the patch needed to 
get hugin CVS to compile on fc4:

Index: src/include/vigra_ext/VigQuotientEstimator.h
===================================================================
RCS file: /cvsroot/hugin/hugin/src/include/vigra_ext/VigQuotientEstimator.h,v
retrieving revision 1.2
diff -u -r1.2 VigQuotientEstimator.h
--- src/include/vigra_ext/VigQuotientEstimator.h        11 Feb 2006 08:57:32 -0000      1.2
+++ src/include/vigra_ext/VigQuotientEstimator.h        22 Feb 2006 21:49:43 -0000
@@ -6,8 +6,8 @@
 #include "RansacParameterEstimator.h"

 #include <iostream>
-#include <boost/numeric/ublas/operation.hpp>
 #include <boost/numeric/ublas/vector.hpp>
+#include <boost/numeric/ublas/operation.hpp>
 #include <boost/numeric/ublas/vector_proxy.hpp>
 #include <boost/numeric/ublas/triangular.hpp>
 #include <boost/numeric/ublas/matrix.hpp>



More information about the ptx mailing list