From: Victor B. <so...@te...> - 2014-10-01 09:56:19
|
defining HAVE_TYPE_TRAITS solves this issue but then whith clang++ Linking CXX shared library ../../lib/Debug/libwx.dylib 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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx and with c++ Morundi:wxluabuild Morundi$ make wxLuaModule [ 34%] Built target LuaLib [ 34%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/luamodule.cpp.o [ 36%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxgl_bind.cpp.o /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:40:48: warning: 'GetContext' is deprecated [-Wdeprecated-declarations] wxGLContext* returns = (wxGLContext*)self->GetContext(); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/glcanvas.h:136:32: note: 'GetContext' has been explicitly marked deprecated here wxDEPRECATED( wxGLContext* GetContext() const ); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/defs.h:615:43: note: expanded from macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:93:11: warning: 'SetCurrent' is deprecated [-Wdeprecated-declarations] self->SetCurrent(); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/glcanvas.h:138:24: note: 'SetCurrent' has been explicitly marked deprecated here wxDEPRECATED( void SetCurrent() ); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/defs.h:615:43: note: expanded from macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:180:31: warning: 'wxGLCanvas' is deprecated [-Wdeprecated-declarations] wxGLCanvas* returns = new wxGLCanvas(parent, sharedCanvas, id, *pos, *size, style, name, attribList, *palette); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/osx/glcanvas.h:120:5: note: 'wxGLCanvas' has been explicitly marked deprecated here wxGLCanvas(wxWindow *parent, ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/defs.h:615:43: note: expanded from macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:216:31: warning: 'wxGLCanvas' is deprecated [-Wdeprecated-declarations] wxGLCanvas* returns = new wxGLCanvas(parent, sharedContext, id, *pos, *size, style, name, attribList, *palette); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/osx/glcanvas.h:108:5: note: 'wxGLCanvas' has been explicitly marked deprecated here wxGLCanvas(wxWindow *parent, ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/defs.h:615:43: note: expanded from macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:250:31: warning: 'wxGLCanvas' is deprecated [-Wdeprecated-declarations] wxGLCanvas* returns = new wxGLCanvas(parent, id, *pos, *size, style, name, attribList, *palette); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/osx/glcanvas.h:97:5: note: 'wxGLCanvas' has been explicitly marked deprecated here wxGLCanvas(wxWindow *parent, ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/defs.h:615:43: note: expanded from macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ 5 warnings generated. [ 36%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.o [ 38%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxrc_bind.cpp.o [ 38%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxrichtext_bind.cpp.o [ 40%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_bind.cpp.o /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxhtml_bind.cpp:1470:26: warning: 'GetBeginPos' is deprecated [-Wdeprecated-declarations] int returns = (self->GetBeginPos()); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/html/htmltag.h:168:23: note: 'GetBeginPos' has been explicitly marked deprecated here inline int wxHtmlTag::GetBeginPos() const { return int(m_Begin - m_sourceStart); } ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxhtml_bind.cpp:1486:26: warning: 'GetEndPos1' is deprecated [-Wdeprecated-declarations] int returns = (self->GetEndPos1()); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/html/htmltag.h:169:23: note: 'GetEndPos1' has been explicitly marked deprecated here inline int wxHtmlTag::GetEndPos1() const { return int(m_End1 - m_sourceStart); } ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxhtml_bind.cpp:1502:26: warning: 'GetEndPos2' is deprecated [-Wdeprecated-declarations] int returns = (self->GetEndPos2()); ^ /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/html/htmltag.h:170:23: note: 'GetEndPos2' has been explicitly marked deprecated here inline int wxHtmlTag::GetEndPos2() const { return int(m_End2 - m_sourceStart); } ^ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxhtml_bind.cpp:5189:72: error: non-constant-expression cannot be narrowed from type 'long' to 'int' in initializer list [-Wc++11-narrowing] ...((long int)(wxHtmlWindowInterface*)(wxSimpleHtmlListBox*)&wxluatype_TNONE) - ((long int)(wxSimpleHtmlListBox*)&wxluatype_TNONE) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Morundi/Downloads/wxLua-2.8.12.3-src/modules/wxbind/src/wxhtml_bind.cpp:5189:72: note: override this message by inserting an explicit cast ...((long int)(wxHtmlWindowInterface*)(wxSimpleHtmlListBox*)&wxluatype_TNONE) - ((long int)(wxSimpleHtmlListBox*)&wxluatype_TNONE) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<int>( ) 3 warnings and 1 error generated. make[3]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_bind.cpp.o] 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 ----- Original Message ----- From: SO...@te... To: wxl...@li... Sent: Wednesday, October 01, 2014 11:21 AM Subject: Re: [wxlua-users] fail to build wxlua on mac osx 10.9 -std=c++11 -stdlib=libc++ did not help AAA /usr/bin/c++ is the compiler ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |