Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: fausten on January 11, 2014, 11:48:33 pm

Title: fail to compile the lasted update code blocks from svn
Post by: fausten on January 11, 2014, 11:48:33 pm
Environment:
xcode 5.0.2, osx 10.9.1
wxWidgets 3.0


1) ./bootstrap
2) ./configure
3) make, then get error:

"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -o .libs/codeblocks -L/usr/local/lib app.o appglobals.o backtracedlg.o breakpointsdlg.o compilersettingsdlg.o cpuregistersdlg.o crashhandler.o debugger_interface_creator.o debuggermenu.o debuggersettingscommonpanel.o debuggersettingsdlg.o debuggersettingspanel.o disassemblydlg.o dlgabout.o dlgaboutplugin.o editkeywordsdlg.o editorconfigurationdlg.o environmentsettingsdlg.o examinememorydlg.o find_replace.o infopane.o main.o notebookstyles.o prefix.o printdlg.o projectmanagerui.o projectdepsdlg.o projectoptionsdlg.o recentitemslist.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o switcherdlg.o threadsdlg.o virtualbuildtargetsdlg.o watchesdlg.o -bind_at_load ../sdk/.libs/libcodeblocks.dylib -lwx_osx_cocoau_aui-3.0 -lwx_osx_cocoau_propgrid-3.0 -lwx_osx_cocoau_richtext-3.0 -lwx_osx_cocoau_xrc-3.0 -lwx_osx_cocoau_webview-3.0 -lwx_osx_cocoau_html-3.0 -lwx_osx_cocoau_qa-3.0 -lwx_osx_cocoau_adv-3.0 -lwx_osx_cocoau_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lpthread -ldl -framework OpenGL -framework System -framework AudioToolbox -framework Cocoa -framework Carbon -framework IOKit -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a

Undefined symbols for architecture x86_64:
  "non-virtual thunk to wxHtmlWindow::GetHTMLWindow()", referenced from:
      vtable for MyHtmlWin in startherepage.o
  "non-virtual thunk to wxHtmlWindow::OnHTMLLinkClicked(wxHtmlLinkInfo const&)", referenced from:
      vtable for MyHtmlWin in startherepage.o
  "non-virtual thunk to wxHtmlWindow::SetHTMLStatusText(wxString const&)", referenced from:
      vtable for MyHtmlWin in startherepage.o
  "non-virtual thunk to wxHtmlWindow::SetHTMLWindowTitle(wxString const&)", referenced from:
      vtable for MyHtmlWin in startherepage.o
  "non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundImage(wxBitmap const&)", referenced from:
      vtable for MyHtmlWin in startherepage.o
Title: Re: fail to compile the lasted update code blocks from svn
Post by: ollydbg on January 21, 2014, 02:48:17 am
I suggest use wx 2.8.12, because currently not much people are maintaining the C::B Mac target.
Title: Re: fail to compile the lasted update code blocks from svn
Post by: stahta01 on January 21, 2014, 04:07:06 pm
Simple wxWidgets build causes; not likely the problem but easy to check.

wxUSE_HTML set to 1 in wx/setup.h

I am just a Windows wxWidgets builder; so, the above might not apply to OSX.

If set to zero, then wxWidgets likely needs re-built using "--enable-html"

Tim S.