News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

fail to compile the lasted update code blocks from svn

Started by fausten, January 11, 2014, 11:48:33 PM

Previous topic - Next topic

fausten

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

ollydbg

I suggest use wx 2.8.12, because currently not much people are maintaining the C::B Mac target.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

stahta01

#2
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]