User forums > Help
wxSmith does not build for MacOSX at rev 3663
byo:
--- Quote from: Auria on March 06, 2007, 02:41:01 am ---If code::Blocks would build on my mac i could probably help you, i know quite a bit about wxWidgets :? I hate those build systems :lol:
--- End quote ---
That would be nice :) There's only one class which need to be "ported", but this "porting" may be complicated since it uses some read-data-directly-from-screen stuff.I don't even know whether wxWidgets is able to do such reading on Mac. I've found out that wx is not able to do many things even when docs are saying it should :(
BYO
afb:
The old transparency hack (copy from screen to a window) that the splash screen used did work on wxMac, so you might try borrowing some code from that - I recall it was straight-forward
Auria:
--- Quote from: afb on March 06, 2007, 08:34:01 am ---Is there any particular build step of Installing_Code::Blocks_from_source_on_Mac_OS_X that is giving you grief ?
--- End quote ---
Actually i have already made a few additions to this document as i discovered new stuff and got it to work
I noticed that configure will fail if gtk is not installed even if building with wxMac (i passed the platform=macosx or whatever argument - couldn't any 'without-gtk' or 'disable-gtk' flag either) Was not a problem for me though because i had gtk installed in a seperate prefix but that should be fixed
A few revisions ago, it would build and execute, but nothing worked because it failed to load some dynamic libs at startup :
ERROR: /usr/local/bin/../share/codeblocks/plugins/libastyle.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libautosave.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libclasswizard.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libcodecompletion.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libcompiler.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libdebugger.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libdefaultmimehandler.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libscriptedwizard.so: not loaded (missing symbols?)
ERROR: /usr/local/bin/../share/codeblocks/plugins/libtodo.so: not loaded (missing symbols?)
With latest revision (3669), it now refuses to build with:
/usr/bin/ld: Undefined symbols:
wxDirSelector(wxString const&, wxString const&, long, wxPoint const&, wxWindow*)
(just did a clean build)
byo:
--- Quote from: afb on March 06, 2007, 04:17:09 pm ---The old transparency hack (copy from screen to a window) that the splash screen used did work on wxMac, so you might try borrowing some code from that - I recall it was straight-forward
--- End quote ---
So it looks optimistic :)
I've created small temporary patch which may give me some info on what's going on on Mac.
It adds some description text ("Timer refresh" / "OnPaint refresh" / "Fast refresh") when painting editor's data and also adds timer which force refresh each 5 seconds.
If someone wants to test it, here's info I would like to see :) :
* If ditor's area is blank, does it display any description text ?
* What happens when clicking on editor's area ? (F.ex. in win it refresh using OnPaint and then Fast refresh right after that)
* What is shown when changing any property inside property editor ?
* What text is shown when wxSmith show proper content?
* EDIT: What happens after 5 seconds of inactivity /EDIT?
That info would help me finding some suspicious points :)
So, good luck and have fun with this patch :D
BYO
[attachment deleted by admin]
byo:
Hmm, nodoby can help :( ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version