https://wiki.panotools.org/api.php?action=feedcontributions&user=Eli+the+Bearded&feedformat=atomPanoTools.org Wiki - User contributions [en]2024-03-28T19:33:25ZUser contributionsMediaWiki 1.35.3https://wiki.panotools.org/index.php?title=Talk:Hugin_Compiling_OpenSuse&diff=13948Talk:Hugin Compiling OpenSuse2012-05-21T21:50:53Z<p>Eli the Bearded: about compile time bug 704418 and workaround</p>
<hr />
<div>I was trying to compile Hugin 2011.4.0 from source and ran into the very same problem that [https://bugs.launchpad.net/hugin/+bug/704418 bug 704418] brought up against 2010.4.0, namely first it would fail to compile icpfind/AutoCtrlPointCreator.cpp like so:<br />
<br />
AutoCtrlPointCreator.cpp:595: error: no matching function for call to 'wxString::wc_str()'<br />
/usr/include/wx-2.8/wx/string.h:942: note: candidates are: const wxWCharBuffer wxString::wc_str(const wxMBConv&) const<br />
<br />
And after changing wc_str to c_str, it would go a little further and fail in icpfind/icpfind.cpp:<br />
<br />
icpfind/icpfind.cpp: In member function ‘virtual int iCPApp::OnRun()’:<br />
icpfind/icpfind.cpp:108: error: ambiguous overload for ‘operator<<’ in ‘std::operator<< [with _Traits = ...<br />
<br />
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.<br />
--[[User:Eli the Bearded|Eli the Bearded]] ([[User talk:Eli the Bearded|talk]]) 23:50, 21 May 2012 (CEST)</div>Eli the Bearded