Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
I can help with C::B with cross platforms.
Paco.Blasco:
Trying your solution with the wx comming with Tiger....
Pecan:
--- Quote from: Paco.Blasco on August 03, 2006, 11:44:07 pm ---Trying your solution with the wx comming with Tiger....
--- End quote ---
IIRC, the wxMac included with Tiger is 2.5.2 . I don't believe CB will work with that.
Pecan:
--- Quote from: thomas on August 03, 2006, 04:53:42 pm ---
--- Quote ---wxMac supports a "form" of popup window that will work with CodeBlocks.
It's called "miniframe". You can pick it out of the following patch.
--- End quote ---
I was going to say "wow, you're genious", when I changed it to use wxMiniFrame regardless of the OS (as it should work fine for Windows and Linux, too).
However, wxMiniFrame draws behind the Windows taskbar, so it is only partially visible :(
Any ideas on how to solve this? Well, anything apart from moving it up by the taskbar's height... :)
--- End quote ---
It doesn't appear that I'm going to be able to make the wxMiniFrame work as a top level window in MSW. wxPopupWindow is using a trick to make the Desk Top its' parent. That's how it stays on top without stealing the focus.
Guess we'll have to use the patch as is. I'll keep exploring it though.
Paco.Blasco:
I've compiled wxWdigets 2.6.3 patch2.
Ok.
But I'm having that problem:
g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o .libs/libcodeblocks.0.dylib .libs/annoyingdialog.o .libs/autodetectcompilers.o .libs/base64.o .libs/blockallocated.o .libs/cbexception.o .libs/cbeditor.o .libs/cbeditorprintout.o .libs/cbplugin.o .libs/cbproject.o .libs/cbthreadpool.o .libs/cbworkspace.o .libs/compileoptionsbase.o .libs/compiler.o .libs/compilercommandgenerator.o .libs/compilerfactory.o .libs/compileroptions.o .libs/compiletargetbase.o .libs/configmanager.o .libs/configmanager-revision.o .libs/configurationpanel.o .libs/configuretoolsdlg.o .libs/confirmreplacedlg.o .libs/crc32.o .libs/devcpploader.o .libs/editarrayfiledlg.o .libs/editarrayorderdlg.o .libs/editarraystringdlg.o .libs/editkeywordsdlg.o .libs/editorbase.o .libs/editorcolourset.o .libs/editorconfigurationdlg.o .libs/editorlexerloader.o .libs/editormanager.o .libs/editor_hooks.o .libs/editpairdlg.o .libs/editpathdlg.o .libs/edittooldlg.o .libs/encodingdetector.o .libs/externaldepsdlg.o .libs/filefilters.o .libs/filegroupsandmasks.o .libs/filemanager.o .libs/finddlg.o .libs/globals.o .libs/importers_globals.o .libs/incrementalselectlistdlg.o .libs/infowindow.o .libs/macrosmanager.o .libs/managedthread.o .libs/manager.o .libs/menuitemsmanager.o .libs/messagelog.o .libs/messagemanager.o .libs/msvc7loader.o .libs/msvc7workspaceloader.o .libs/msvcloader.o .libs/msvcworkspacebase.o .libs/msvcworkspaceloader.o .libs/multiselectdlg.o .libs/newfromtemplatedlg.o .libs/personalitymanager.o .libs/pipedprocess.o .libs/pluginmanager.o .libs/pluginsconfigurationdlg.o .libs/printing_types.o .libs/projectbuildtarget.o .libs/projectdepsdlg.o .libs/projectfile.o .libs/projectfileoptionsdlg.o .libs/projectlayoutloader.o .libs/projectloader.o .libs/projectloader_hooks.o .libs/projectmanager.o .libs/projectoptionsdlg.o .libs/projectsfilemasksdlg.o .libs/projecttemplateloader.o .libs/replacedlg.o .libs/scriptingmanager.o .libs/sdk_events.o .libs/searchresultslog.o .libs/selecttargetdlg.o .libs/simplelistlog.o .libs/simpletextlog.o .libs/templatemanager.o .libs/toolsmanager.o .libs/uservarmanager.o .libs/workspaceloader.o .libs/xtra_classes.o .libs/xtra_res.o -all_load scripting/bindings/.libs/libsqbindings.a scripting/sqplus/.libs/libsqplus.a scripting/sqstdlib/.libs/libsqstdlib.a scripting/squirrel/.libs/libsquirrel.a tinyxml/.libs/libtinyxml.a wxscintilla/.libs/libwxscintilla.a wxFlatNotebook/.libs/libwxflatnotebook.a propgrid/.libs/libpropgrid.a -L/proiser/tools/lib -lwx_mac-2.6 -lpthread -ldl -install_name /proiser/tools/lib/libcodeblocks.0.dylib -compatibility_version 1 -current_version 1.1
ld: multiple definitions of symbol ___divdi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_divdi3_s.o) definition of ___divdi3
ld: multiple definitions of symbol ___moddi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_moddi3.o) private external definition of ___moddi3 in section (__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_moddi3_s.o) definition of ___moddi3
ld: multiple definitions of symbol ___udivdi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_udivdi3_s.o) definition of ___udivdi3
ld: multiple definitions of symbol ___umoddi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_umoddi3_s.o) definition of ___umoddi3
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libcodeblocks.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
It seems as if a shared lib and a static lib was introducing the same symbols. I must to investigate this.
Thx!
Pecan:
--- Quote from: Paco.Blasco on August 04, 2006, 02:06:16 am ---I've compiled wxWdigets 2.6.3 patch2.
Ok.
But I'm having that problem:
g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o .libs/libcodeblocks.0.dylib .libs/annoyingdialog.o .libs/autodetectcompilers.o .libs/base64.o .libs/blockallocated.o .libs/cbexception.o .libs/cbeditor.o
<...snip...>
make: *** [all] Error 2
It seems as if a shared lib and a static lib was introducing the same symbols. I must to investigate this.
Thx!
--- End quote ---
Check out "Installing Code::Blocks from source on Mac OS X" at http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Mac_OS_X
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version