[ptx] Problems with boost and OS X 10.3

Daniel M. German dmgerman at uvic.ca
Thu Apr 20 07:34:50 BST 2006



 pablo dangelo twisted the bytes to say:

 pablo> dmg <dmgerman at uvic.ca> wrote:
 >> Is there still a way to disable boost? I have tried boost 1.31 and
 >> 1.32 and the error remains (from versions are installed using fink). I
 >> tried to compile 1.33 but I get several compilation errors.

 pablo> I have used it for solving the linear equations during the estimation of the
 pablo> vignetting correction parameters. I have just used the boost code, because
 pablo> hugin requires some parts of boost already, but I think I can replace it with
 pablo> some other code that solves a system of equations using LU factorisation.

I still got an error (see bottom of the message). I decided to install
gcc 4.0 via fink. The problem is that neither boost 1.31 nor 1.32
compile with it (there is a pragma #error that says that it is an
unknown compiler).

I am compiling boost1.33 now with gcc 4.0. It that does not work I'll
move on and set up my still-in-the-box Intel mini and try again. it
will be interesting to see if I can compile it in the mini and run it
in the G5.


daniel

----------------------------------------------------------------------

if g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/foreign -I../../src/include -I.. -I/sw/lib/wx/include/mac-ansi-release-2.6 -I/sw/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -L/sw/lib  -I/usr/local/include -DHasPANO -pthread  -I/sw/include -I/Developer/Headers/FlatCarbon/ -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
g++: unrecognized option `-pthread'
In file included from ../../src/foreign/vigra/sized_int.hxx:42,
                 from ../../src/foreign/vigra/stdimage.hxx:42,
                 from ../../src/include/panoinc.h:53,
                 from VigCorrDialog.cpp:29:
../../src/foreign/vigra/metaprogramming.hxx:158: warning: use of `long double' 
   type; its size may change in a future release
../../src/foreign/vigra/metaprogramming.hxx:158: warning: (Long double usage is 
   reported only once for each file.
../../src/foreign/vigra/metaprogramming.hxx:158: warning: To disable this 
   warning, use -Wno-long-double.)
In file included from /sw/include/boost/numeric/ublas/vector.hpp:24,
                 from ../../src/include/vigra_ext/VigQuotientEstimator.h:9,
                 from VigCorrDialog.cpp:38:
/sw/include/boost/numeric/ublas/vector_expression.hpp:1924: error: due to a 
   defect in the G++ 3.2 ABI, G++ has assigned the same mangled name to two 
   different types
In file included from /sw/include/boost/numeric/ublas/matrix.hpp:23,
                 from /sw/include/boost/numeric/ublas/triangular.hpp:22,
                 from ../../src/include/vigra_ext/VigQuotientEstimator.h:12,
                 from VigCorrDialog.cpp:38:
/sw/include/boost/numeric/ublas/matrix_expression.hpp:5201: error: due to a 
   defect in the G++ 3.2 ABI, G++ has assigned the same mangled name to two 
   different types




--
Daniel M. German                  "The WWW might get the glory,
                                   but e-mail is the quiet
   Beppi Crosanol ->               workhorse of the digital age."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 


More information about the ptx mailing list