only vaguely related to the beta testing but have been struggling to compile O for a while now … since midway through the merging of the optimised code..
OSX 10.9.3 against WX 3.0.0, the same problem with both cmake in terminal & Xcode (5.1.1).
All the targets compile OK up until at 60 % there is a linker problem with OpenCPN….
Terminal output is very longwinded but the meat of it is as follows -
[ 61%] Building C object CMakeFiles/OpenCPN.dir/src/macutils.c.o
Linking CXX executable OpenCPN.app/Contents/MacOS/OpenCPN
Undefined symbols for architecture x86_64:
"std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find_last_of(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long) const", referenced from:
wxString::find_last_of(wxString const&, unsigned long) const in libwx_baseu-3.0.a(baselib_filename.o)
anon anon -
ending with -
"non-virtual thunk to wxGenericListCtrl::GetSizeAvailableForScrollTarget (wxSize const&)", referenced from:
vtable for OCPNListCtrl in OCPNListCtrl.cpp.o
vtable for OCPNTrackListCtrl in TrackPropDlg.cpp.o
vtable for OCPNOffsetListCtrl in libS57ENC.a(cm93.cpp.o)
"operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, wxScopedCharTypeBuffer<char> const&)", referenced from:
operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, Table&) in printtable.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [OpenCPN.app/Contents/MacOS/OpenCPN] Error 1
make: *** [CMakeFiles/OpenCPN.dir/all] Error 2
make: *** [all] Error 2
from gooogling i gather that - “It means you have declared virtual functions but you haven't defined any of them non-inline”
more esoteric info here - Undefined symbol vtable: what the F*** does that mean? - Educated Guesswork
The define in “CMakeLists” helped by saving editing 3 src files as Gerhard pointed out but had no effect on this one….
Any pointers much appreciated.
Btw never did get to the bottom of the OpenGL issues in 10.7.5, data ribbon to the screen
on macbook chafed through … it went blind..game over..knew i should have rigging