Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
Compiler issues on Mac OS X
(1/1)
mojca:
I would like to ask for a bit of help for creating proper patches for CB on Mac OS X.
* I had to add -lfontconfig to libexporter_la_LDFLAGS (probably libexporter_la_LIBADD would also work) in Makefile[.am] when compiling against wxGTK (but not when compiling against Carbon/Cocoa-based wxWidgets). What/where would be the proper way to check for & add that dependency?
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19116&group_id=5358
* There seems to be some wrong linking order which eventually tries to build CB against the installed library rather than the new one
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19136&group_id=5358
* Linker doesn't recognize --no-undefined
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19110&group_id=5358
* I had some problem with malloc (_rpl_malloc), see
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19114&group_id=5358
* I need help coming up with patches for a proper search for hunspell and possibly other libraries in configure.in
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19135&group_id=5358
* The following code doesn't work with Carbon/Cocoa-based installation, but I'm not sure about the proper solution:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19139&group_id=5358
--- Code: --- #if defined(__WXMSW__)
wxCursor copycursor(dnd_copy_cur_xpm);
wxCursor movecursor(dnd_move_cur_xpm);
wxCursor nonecursor(dnd_none_cur_xpm);
#else
wxIcon copycursor(dnd_copy_cur_xpm);
wxIcon movecursor(dnd_move_cur_xpm);
wxIcon nonecursor(dnd_none_cur_xpm);
#endif
//wxDragResult result;
wxDropSource dndSource(m_diagramwindow, copycursor, movecursor, nonecursor);
--- End code ---
Thank you.
mojca:
The first two issues have been solved. I added others to the new bug tracker on SF, tickets 8-13.
* https://sourceforge.net/p/codeblocks/tickets/8/ "wxIcon copycursor(...)" doesn't work with Carbon and Cocoa
* https://sourceforge.net/p/codeblocks/tickets/9/ clang's linker doesn't know the option --no-undefined
* https://sourceforge.net/p/codeblocks/tickets/10/ configure should support wx_mac/wx_osx and check for hunspell
* https://sourceforge.net/p/codeblocks/tickets/11/ fix malloc tests in configure
* https://sourceforge.net/p/codeblocks/tickets/12/ wrong filename for libcodeblocks in Makefile.in
* https://sourceforge.net/p/codeblocks/tickets/13/ failure to build on OS X 10.9; wxcrt.h error: call to 'wcsstr' is ambiguous
mojca:
Related thread about Mac issues on 10.5 is here: http://forums.codeblocks.org/index.php/topic,18727.0.html (12.11 and 13.12 on OSX 10.5.8 PPC/Intel)
ollydbg:
Hi, mojca, thanks for the report, though I'm not a Mac user.
It looks like we don't have ways to access to BerliOS's tickets system now.
(They are stored as xml files in C::B's svn rev9770 to rev9774)
mojca:
I didn't check the SVN yet, but some user posted a compressed snapshot of the website with most of the tickets included.
After I noticed that the tickets were gone I copied the relevant information to SourceForge, so at least in my case all the contents and questions are accessible through SF and linked above.
Navigation
[0] Message Index
Go to full version