[ptx] Hugin OSX Build problem when compiling boost header
Axel Wernicke
axel.wernicke at gmx.de
Sun Jun 6 16:14:25 BST 2004
Motivated by the success of Ippei I gave hugin another try on OS X.
Unfortunately I run still into the same problem as I did in March at my
first attempt...
... I followed closely the build prozess as described by Bruno in his
mail from Feb. 26. Everything goes pretty smothely until I try to
compile hugin itself. The it seems, that one of the boost headers
cannot be compiled. What I get is:
Descending directory Panorama to do "make lib"
---- Compiling PanoToolsInterface.cpp (C++)
g++ -I. -I../include -Wall -g -DDEBUG -I../ -I/usr/local/include
-I/sw/include -c -o .obj/PanoToolsInterface.o PanoToolsInterface.cpp
In file included from /usr/local/include/boost/type_traits.hpp:29,
from
/usr/local/include/boost/detail/numeric_traits.hpp:71,
from
/usr/local/include/boost/iterator/counting_iterator.hpp:10,
from
/usr/local/include/boost/pending/integer_range.hpp:15,
from
/usr/local/include/boost/graph/detail/adjacency_list.hpp:34,
from
/usr/local/include/boost/graph/adjacency_list.hpp:294,
from ../include/PT/ImageGraph.h:29,
from ../include/PT/PTOptimise.h:33,
from PanoToolsInterface.cpp:34:
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:112:61:
macro "check" passed 2 arguments, but takes just 1
In file included from /usr/local/include/boost/type_traits.hpp:29,
from
/usr/local/include/boost/detail/numeric_traits.hpp:71,
from
/usr/local/include/boost/iterator/counting_iterator.hpp:10,
from
/usr/local/include/boost/pending/integer_range.hpp:15,
from
/usr/local/include/boost/graph/detail/adjacency_list.hpp:34,
from
/usr/local/include/boost/graph/adjacency_list.hpp:294,
from ../include/PT/ImageGraph.h:29,
from ../include/PT/PTOptimise.h:33,
from PanoToolsInterface.cpp:34:
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:112:
error: template
declaration of `yes_type boost::detail::bd_helper<B, D>::check'
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:113:63:
macro "check" passed 2 arguments, but takes just 1
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:113:
error: declaration
of `boost::type_traits::no_type boost::detail::bd_helper<B,
D>::check'
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:112:
error: conflicts
with previous declaration `template<class B, class D> template<class
T>
yes_type boost::detail::bd_helper<B, D>::check'
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:126:82:
macro "check" passed 2 arguments, but takes just 1
make[2]: *** [.obj/PanoToolsInterface.o] Error 1
Anyone any ideas ??
Axel!
More information about the ptX
mailing list