[ptx] compile problems on gentoo
Stefan Marx
stefan at linux-lunatix.org
Thu Jun 10 23:24:05 BST 2004
Hi,
I am currently trying to compile hugin on gentoo. I have the following
prerequisites:
wxgtk: 2.4.2 ( had to manipulate the hugin configure-script to use
-lwx_gtk2u_xrc-2.4 )
vigra: 1.2.0
fftw: 3.0.1 ( had to symlink fftw3.h to fftw.h)
boost: 1.31.0
panotools: I installed the files from the
panorama-tools_2.6bml12-3_i386.deb package from
http://bugbear.blackfish.org.uk/~bruno/panorama-tools/ into /usr/local and
changed the pathes in the wrapper scripts. They work just fine. The
include files went to /usr/local/include/pano12.
Then I tried the sourcecode for hugin from the snapshots (I took the
latest: hugin_2004_02_08-17_21.tgz), then from CVS and after that from the
src-rpm on bugbear.blackfish.org.uk for RedHat9. I end up always with the
following (or similar) error messages:
make[3]: Leaving directory `/usr/src/hugin-20040404/src/hugin/po'
---- Compiling ImageCache.cpp (C++)
g++ -I. -I../include -Wall -O2 -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I../ -c -o .obj/ImageCache.o ImageCache.cpp
ImageCache.cpp: In member function `void ImageCache::softFlush()':
ImageCache.cpp:79: error: conversion from `const char[23]' to `const
wxString'
is ambiguous
/usr/include/wx/string.h:306: error: candidates are:
wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error: wxString::wxString(int)
<near match>
...lots of these...
../include/common/utils.h:173: error:
utils::ProgressTask::ProgressTask(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, double, double)
ImageCache.cpp: In member function `const vigra::BImage&
ImageCache::getPyramidImage(const std::string&, int)':
ImageCache.cpp:268: error: no matching function for call to
`wxString::Format(
const char[40], const char*, int&)'
/usr/include/wx/string.h:738: error: candidates are: static wxString
wxString::Format(const wxChar*, ...)
make[2]: *** [.obj/ImageCache.o] Fehler 1
then, some lines later:
---- Compiling huginApp.cpp (C++)
g++ -I. -I../include -Wall -O2 -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I../ -c -o .obj/huginApp.o huginApp.cpp
huginApp.cpp: In member function `virtual bool huginApp::OnInit()':
huginApp.cpp:63: error: conversion from `const char[6]' to `const
wxString' is
ambiguous
/usr/include/wx/string.h:306: error: candidates are:
wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error: wxString::wxString(int)
<near match>
... lots of these ...
/usr/include/wx/string.h:306: error: candidates are:
wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error: wxString::wxString(int)
<near match>
make[2]: *** [.obj/huginApp.o] Fehler 1
make[2]: Leaving directory `/usr/src/hugin-20040404/src/hugin'
and so on.
I think, I have missed something. But what?
gcc: 3.3.3
glibc: 2.3.3.20040420
kernel: 2.6.5
Maybe someone can give me some hint where to dig?
Thank you,
Stefan
More information about the ptX
mailing list