[ptx] error compiling hugin on x86_64 (fedora fc4)

pablo.dangelo at informatik.uni-ulm.de pablo.dangelo at informatik.uni-ulm.de
Fri Feb 10 11:56:49 GMT 2006


Bruno Postle <bruno at postle.net> wrote:

> Though I now have a problem compiling hugin CVS on a 32bit machine:

I suspect that this error is caused by different boost versions. I have only
compiled my code on boost 1.33. It seems that older boost versions might need
slightly different #include statements for the numeric/ublas module...

Can you add

#include <boost/numeric/ublas/vector_proxy.hpp>
#include <boost/numeric/ublas/operation.hpp>

in front of #include <boost/numeric/ublas/lu.hpp> in VigCorrDialog?

I hope this will solve the issue.

>   if g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/foreign
> -I../../src/include -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.6
> -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -DXTHREADS
> -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
> -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -DHasPANO  -g -O2 -MT VigCorrDialog.o -MD -MP -MF
> ".deps/VigCorrDialog.Tpo" -c -o VigCorrDialog.o VigCorrDialog.cpp; \
> then mv -f ".deps/VigCorrDialog.Tpo" ".deps/VigCorrDialog.Po"; else rm -f
> ".deps/VigCorrDialog.Tpo"; exit 1; fi
>   /usr/include/boost/numeric/ublas/lu.hpp: In function ‘typename
> M::size_type boost::numeric::ublas::axpy_lu_factorize(M&, PM&)’:
>   /usr/include/boost/numeric/ublas/lu.hpp:181: error: ‘axpy_prod’ was not
> declared in this scope
>   /usr/include/boost/numeric/ublas/lu.hpp:181: error: expected
> primary-expression before ‘>’ token

ciao
  Pablo

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the ptx mailing list