Talk:Hugin Compiling OpenSuse
I was trying to compile Hugin 2011.4.0 from source and ran into the very same problem that bug 704418 brought up against 2010.4.0, namely first it would fail to compile icpfind/AutoCtrlPointCreator.cpp like so:
AutoCtrlPointCreator.cpp:595: error: no matching function for call to 'wxString::wc_str()' /usr/include/wx-2.8/wx/string.h:942: note: candidates are: const wxWCharBuffer wxString::wc_str(const wxMBConv&) const
And after changing wc_str to c_str, it would go a little further and fail in icpfind/icpfind.cpp:
icpfind/icpfind.cpp: In member function ‘virtual int iCPApp::OnRun()’: icpfind/icpfind.cpp:108: error: ambiguous overload for ‘operator<<’ in ‘std::operator<< [with _Traits = ...
I have figured out (at least approximately) what the problem is. Instead of using the distro wxGTK-devel and wxGTK packages, I had compiled my own from source. When I removed those and used the distro packages, the compile (with a fresh untar, not my earlier edited version) works. So apparently there is some non-default ./configure option needed to get the right overload. --Eli the Bearded (talk) 23:50, 21 May 2012 (CEST)