From: Victor B. <so...@te...> - 2014-10-02 16:42:00
|
>What compiler is this one? GCC? in last Xcode gcc is only a symlink to clang >This means that wxWidgets doesn't have the body of this function linked in. >Strange, what does running 'nm -a wx-XXX.dylib | grep >GetHTMLBackgroundColour' on the wxWidgets >libs say? I'm picking this >function since it's non-templated, but you can try it on any of them. I could find the reference in the dylib: Morundi:lib Morundi$ nm -a /Users/Morundi/Downloads/wxWidgets-3.0.1/build-cocoa/lib/libwx_osx_cocoau_html-3.0.dylib | grep GetHTMLBackgroundColour 000000000004bbd0 T __ZNK12wxHtmlWindow23GetHTMLBackgroundColourEv 000000000006f130 T __ZNK13wxHtmlListBox23GetHTMLBackgroundColourEv 000000000004bbf0 T __ZThn888_NK12wxHtmlWindow23GetHTMLBackgroundColourEv 000000000006f150 T __ZThn896_NK13wxHtmlListBox23GetHTMLBackgroundColourEv also have tried with BUILD_VERBOSELY=TRUE and it seem linking to the correct libraries: -lwx_osx_cocoau_html-3.0 -------------------------------- Morundi:wxluabuildclang Morundi$ make wxLuaModule /Applications/CMake.app/Contents/bin/cmake -H/Users/Morundi/Downloads/wxLua-2.8.12.3-src -B/Users/Morundi/Downloads/wxluabuildclang --check-build-system CMakeFiles/Makefile.cmake 0 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 wxLuaModule /Applications/CMake.app/Contents/bin/cmake -H/Users/Morundi/Downloads/wxLua-2.8.12.3-src -B/Users/Morundi/Downloads/wxluabuildclang --check-build-system CMakeFiles/Makefile.cmake 0 /Applications/CMake.app/Contents/bin/cmake -E cmake_progress_start /Users/Morundi/Downloads/wxluabuildclang/CMakeFiles 44 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 modules/luamodule/CMakeFiles/wxLuaModule.dir/all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f modules/lua-5.1/CMakeFiles/LuaLib.dir/build.make modules/lua-5.1/CMakeFiles/LuaLib.dir/depend cd /Users/Morundi/Downloads/wxluabuildclang && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Users/Morundi/Downloads/wxLua-2.8.12.3-src /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/lua-5.1 /Users/Morundi/Downloads/wxluabuildclang /Users/Morundi/Downloads/wxluabuildclang/modules/lua-5.1 /Users/Morundi/Downloads/wxluabuildclang/modules/lua-5.1/CMakeFiles/LuaLib.dir/DependInfo.cmake --color= /Applications/Xcode.app/Contents/Developer/usr/bin/make -f modules/lua-5.1/CMakeFiles/LuaLib.dir/build.make modules/lua-5.1/CMakeFiles/LuaLib.dir/build make[3]: Nothing to be done for `modules/lua-5.1/CMakeFiles/LuaLib.dir/build'. /Applications/CMake.app/Contents/bin/cmake -E cmake_progress_report /Users/Morundi/Downloads/wxluabuildclang/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [ 34%] Built target LuaLib /Applications/Xcode.app/Contents/Developer/usr/bin/make -f modules/luamodule/CMakeFiles/wxLuaModule.dir/build.make modules/luamodule/CMakeFiles/wxLuaModule.dir/depend cd /Users/Morundi/Downloads/wxluabuildclang && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Users/Morundi/Downloads/wxLua-2.8.12.3-src /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/luamodule /Users/Morundi/Downloads/wxluabuildclang /Users/Morundi/Downloads/wxluabuildclang/modules/luamodule /Users/Morundi/Downloads/wxluabuildclang/modules/luamodule/CMakeFiles/wxLuaModule.dir/DependInfo.cmake --color= /Applications/Xcode.app/Contents/Developer/usr/bin/make -f modules/luamodule/CMakeFiles/wxLuaModule.dir/build.make modules/luamodule/CMakeFiles/wxLuaModule.dir/build Linking CXX shared library ../../lib/Debug/libwx.dylib cd /Users/Morundi/Downloads/wxluabuildclang/modules/luamodule && /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/wxLuaModule.dir/link.txt --verbose=1 /usr/bin/clang++ -DHAVE_TYPE_TRAITS -I/Users/Morundi/Downloads/wxWidgets-3.0.1/include -g -dynamiclib -Wl,-headerpad_max_install_names -o ../../lib/Debug/libwx.dylib -install_name /Users/Morundi/Downloads/wxluabuildclang/lib/Debug/libwx.dylib CMakeFiles/wxLuaModule.dir/luamodule.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxgl_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxrc_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxrichtext_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_wxlhtml.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxmedia_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxaui_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_wxladv.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_appframe.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_clipdrag.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_controls.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_core.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_defsutils.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_dialogs.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_event.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_geometry.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_help.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_image.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_mdi.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_menutool.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_picker.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_print.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_sizer.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_windows.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_wxlcore.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxml_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxnet_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_base.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_config.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_data.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_datetime.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_file.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/dummy.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxldserv.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxldtarg.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxlsock.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxluadebugger_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debug/dummy.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debug/wxldebug.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/debug/wxlstack.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/dummy.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/lbitlib.c.o CMakeFiles/wxLuaModule.dir/__/wxlua/wxlbind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/wxlcallb.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/wxlconsole.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/wxlobject.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/wxlstate.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/wxlua_bind.cpp.o -L/Users/Morundi/Downloads/wxWidgets-3.0.1/build-clang/lib ../../lib/Debug/libwxlua_lua51-wx30osx_cocoaud-2.8.12.3.dylib -L/Users/Morundi/Downloads/wxWidgets-3.0.1/build-clang/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau_stc-3.0 -lwx_osx_cocoau_gl-3.0 -lwx_osx_cocoau_xrc-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_osx_cocoau_media-3.0 -lwx_osx_cocoau_richtext-3.0 -lwx_osx_cocoau_aui-3.0 -lwx_osx_cocoau_html-3.0 -lwx_osx_cocoau_adv-3.0 -lwx_osx_cocoau_core-3.0 -lwx_baseu-3.0 -lm -lreadline -Wl,-rpath,/Users/Morundi/Downloads/wxWidgets-3.0.1/build-clang/lib Undefined symbols for architecture x86_64: "non-virtual thunk to wxHtmlListBox::RefreshAll()", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::RefreshRow(unsigned long)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::RefreshRows(unsigned long, unsigned long)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxVListBox::OnGetRowHeight(unsigned long) const", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::DoSetValue(wxString const&, int)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::SetEditable(bool)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::DoSetMargins(wxPoint const&)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::SetSelection(long, long)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::SetInsertionPoint(long)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Cut()", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Copy()", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Redo()", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Undo()", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Paste()", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Remove(long, long)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::Replace(long, long, wxString const&)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::SetHint(wxString const&)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::WriteText(wxString const&)", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::DoGetValue() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::IsEditable() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::DoGetMargins() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::GetSelection(long*, long*) const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::GetLastPosition() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::GetInsertionPoint() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::CanRedo() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::CanUndo() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxComboCtrlBase::GetHint() const", referenced from: vtable for wxWindowWithItems<wxComboCtrl, wxItemContainer> in wxadv_bind.cpp.o "non-virtual thunk to wxGenericListCtrl::GetSizeAvailableForScrollTarget(wxSize const&)", referenced from: vtable for wxLuaStackListCtrl in wxlstack.cpp.o "non-virtual thunk to wxHtmlWindow::GetHTMLWindow()", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::OnHTMLLinkClicked(wxHtmlLinkInfo const&)", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::SetHTMLStatusText(wxString const&)", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::SetHTMLWindowTitle(wxString const&)", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundImage(wxBitmap const&)", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundColour(wxColour const&)", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlWindow::GetHTMLBackgroundColour() const", referenced from: vtable for wxLuaHtmlWindow in wxhtml_wxlhtml.cpp.o "non-virtual thunk to wxHtmlListBox::GetHTMLWindow()", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::OnHTMLLinkClicked(wxHtmlLinkInfo const&)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::SetHTMLStatusText(wxString const&)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::SetHTMLWindowTitle(wxString const&)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::SetHTMLBackgroundImage(wxBitmap const&)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::SetHTMLBackgroundColour(wxColour const&)", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.cpp.o "non-virtual thunk to wxHtmlListBox::GetHTMLBackgroundColour() const", referenced from: vtable for wxWindowWithItems<wxHtmlListBox, wxItemContainer> in wxhtml_bind.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[3]: *** [lib/Debug/libwx.dylib] Error 1 make[2]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/rule] Error 2 make: *** [wxLuaModule] Error 2 |