Hi, trying to compile hugin, I get this: ... /usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno- deprecated. /usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp: In constructor ‘LensCalFrame::LensCalFrame(wxWindow*)’: /usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:152: error: ‘class wxConfigBase’ has no member named ‘ReadBool’ /usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:154: error: ‘class wxConfigBase’ has no member named ‘ReadBool’ /usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:156: error: ‘class wxConfigBase’ has no member named ‘ReadBool’ /usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:158: error: ‘class wxConfigBase’ has no member named ‘ReadBool’ /usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp: In destructor ‘virtual LensCalFrame::~LensCalFrame()’: ...
On my system there is similar function, but with prefix "do".
...
// do read/write the values of different types
virtual bool DoReadString(const wxString& key, wxString *pStr) const = 0;
virtual bool DoReadLong(const wxString& key, long *pl) const = 0;
virtual bool DoReadInt(const wxString& key, int *pi) const;
virtual bool DoReadDouble(const wxString& key, double* val) const;
virtual bool DoReadBool(const wxString& key, bool* val) const;
virtual bool DoWriteString(const wxString& key, const wxString& value) = 0;
...
And this here are the remaining problems
...
/usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:209: error:
call of overloaded ‘Write(const wchar_t [30], unsigned int&)’ is ambiguous
/usr/include/wx-2.8/wx/confbase.h:189: note: candidates are: bool
wxConfigBase::Write(const wxString&, const wxString&)
/usr/include/wx-2.8/wx/confbase.h:192: note: bool
wxConfigBase::Write(const wxString&, long int)
/usr/include/wx-2.8/wx/confbase.h:195: note: bool
wxConfigBase::Write(const wxString&, int)
/usr/include/wx-2.8/wx/confbase.h:198: note: bool
wxConfigBase::Write(const wxString&, double)
/usr/include/wx-2.8/wx/confbase.h:201: note: bool
wxConfigBase::Write(const wxString&, bool)
/usr/include/wx-2.8/wx/confbase.h:206: note: bool
wxConfigBase::Write(const wxString&, const wxChar*) <near match>
/usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp: In member
function ‘void LensCalFrame::OnFindLines(wxCommandEvent&)’:
/usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:576: error:
conversion from ‘const wxCharBuffer’ to non-scalar type ‘std::string’ requested
/usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalFrame.cpp:582: error:
no matching function for call to ‘ImageLineList::SetLines(HuginLines::Lines)’
/usr/src/hugin/hugin_hg/src/hugin1/calibrate_lens/LensCalTypes.h:56: note:
candidates are: void ImageLineList::SetLines(HuginLines::Lines&)
make[2]: ***
[src/hugin1/calibrate_lens/CMakeFiles/calibrate_lens_gui.dir/LensCalFrame.cpp.o]
Fehler 1
...
Kornel
signature.asc
Description: This is a digitally signed message part.
