User forums > Help

wxSmith does not build for MacOSX at rev 3663

<< < (4/7) > >>

Pecan:

--- Quote from: Biplab on March 21, 2007, 06:25:20 pm ---I think ::wxDirSelector() is defined in wxbase. But why C::B is throwing this error? It is not used by Code::Blocks. A quick search among project files yields no result. :)

--- End quote ---

The plugins use it, and he's linking them against a static wxWidgets.
Won't ever work. Both CB and the plugins use the dynamic libs.

Biplab:

--- Quote from: Pecan on March 21, 2007, 06:38:20 pm ---The plugins use it, and he's linking them against a static wxWidgets.
Won't ever work. Both CB and the plugins use the dynamic libs.

--- End quote ---

Hmm.. Found two plugins are using it. 1. Devpak plugin and 2. Lib finder plugin

But, IMHO they should be called in a better way. No parent frame has been specified which may produce [Bug #10666] blocked application in some cases. :)

Auria:

--- Quote from: Pecan on March 21, 2007, 06:38:20 pm ---
--- Quote from: Biplab on March 21, 2007, 06:25:20 pm ---I think ::wxDirSelector() is defined in wxbase. But why C::B is throwing this error? It is not used by Code::Blocks. A quick search among project files yields no result. :)

--- End quote ---

The plugins use it, and he's linking them against a static wxWidgets.
Won't ever work. Both CB and the plugins use the dynamic libs.


--- End quote ---

Ok so i was right... will try that (i had been reluctant to do it since building wx takes awfully long on my slow computer but now i have no choice anyway ;) )

The Mac OS X build instructions seemed to imply somewhere that static build would be okay too. I will clarify them if my dynamic build works

EDIT: I built dynamic.
Making all in lib_finder
...
/usr/bin/ld: Undefined symbols:
wxDirSelector(wxString const&, wxString const&, long, wxPoint const&, wxWindow*)

 :?

EDIT2:
i was using --with-wxconfig= to make it point to my dynamic wx build... by looking at lib finder's makefile it seems like custom wx-config files are not always considered... *sigh* i completely uninstalled static, am trying a clean build hopefully that can work

EDIT3:

/usr/bin/ld: Undefined symbols:
wxRect2DInt::operator=(wxRect2DInt const&)
wxStringBase::npos
wxStringBase::InitWith(char const*, unsigned long, unsigned long)
wxThread::TestDestroy()
wxThread::~wxThread()
typeinfo for wxThread
_wxEmptyString
wxGetLocale()
wxFontBase::~wxFontBase()
wxSpinCtrl::SetValue(int)
wxEvtHandler::ProcessEvent(wxEvent&)
wxEvtHandler::DoSetClientData(void*)
...
...

 :?
i think im giving up

afb:
I couldn't reproduce the build problems, rev 3737 built OK using wxWidgets 2.6.3p2 (unicode/dynamic)
This was using the procedure outlined in the Wiki, with the Makefiles patched to include the wx libs...

http://www.algonet.se/~afb/wx/codeblocks-rev3656_pluginslib.patch (this workaround will go away soon,
once the configure/Makefiles are educated about differences between different wxWidgets platforms...)

afb:

--- Quote from: Auria on March 21, 2007, 11:50:24 pm ---The Mac OS X build instructions seemed to imply somewhere that static build would be okay too. I will clarify them if my dynamic build works

--- End quote ---

I have both of them installed, but am usually using the dynamic libraries...
Normally just relink the "wx-config" symlink to point at the one I want to use.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version