Compile fails - excerpt from build log: var/tmp/portage/sci-geosciences/opencpn-3.2.2/work/OpenCPN-opencpn-3.2.2/src/chcanv.cpp: In function âint InitScreenBrightness()â: /var/tmp/portage/sci-geosciences/opencpn-3.2.2/work/OpenCPN-opencpn-3.2.2/src/chcanv.cpp:15658:7: warning: suggest explicit braces to avoid ambiguous âelseâ [-Wparentheses] /var/tmp/portage/sci-geosciences/opencpn-3.2.2/work/OpenCPN-opencpn-3.2.2/src/chcanv.cpp: In function âvoid DimeControl(wxWindow*, wxColour, wxColour, wxColour, wxColour, wxColour, wxColour, wxColour)â: /var/tmp/portage/sci-geosciences/opencpn-3.2.2/work/OpenCPN-opencpn-3.2.2/src/chcanv.cpp:16036:39: error: âclass wxBitmapComboBoxâ has no member named âGetTextCtrlâ make[2]: *** [CMakeFiles/opencpn.dir/src/chcanv.cpp.o] Error 1 OpenCPN currently requires wxWidgets 2.8. I have checked, and the developer is aware of this. Solution: Compile against (require) wxGTK:2.8 I changed the RDEPEND line for wx in my ebuild to: x11-libs/wxGTK:2.8[X] and it now pulls in the correct wxGTK version. (Don't know if it's the correct solution, but it proved it works with 2.8) Cheers Paul
opencpn-3.0.2.ebuild:DEPEND="${DEPEND} opencpn-3.2.2.ebuild:DEPEND="${DEPEND} Fix that too while you fix the x11-libs/wxGTK SLOTs? :)
Many thanks Paul for reporting. Should be fixed now! .. and thanks to Jeroen for pointing me to another C&P bug.
Good stuff guys - thanks!