Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
Need help building for Mac OS X
Xaviou:
Hi to all.
I've just seen the "bundle.sh" file created by Dave Murphy, and validated by oBFusCATed : big thanks to them for this
I've tested (rev 11171, wx-3.0.3), and the bundle has been created successfully, with all the wxWidgets dynamic libs files includes.
Moved the bundle in the Applications list, and ran it.
It has less files than the last one provided by frankofrank, and is very smaller : mine is 33MB and frankofrank's one is 70,5MB (it was rev 10922, wx-3.1.1)
The major problem I had with this first test is that the "New project" wizard is empty (but as I could see, the needed files are present in the app folder).
If one wants to inspect the result, I've made a zip of it and uploaded to google drive.
Regards
Xav'
oBFusCATed:
What happens if you do make install and use the installed copy? Does it find the templates?
Probably there is some path in the config manager which needs to be adjusted, similar to the plugin path.
The size difference could be related to universal vs single-arch builds. Can you confirm this? Is the old build universal (32 + 64 bit)?
Xaviou:
Hi
--- Quote from: oBFusCATed on September 17, 2017, 10:19:43 pm ---What happens if you do make install and use the installed copy? Does it find the templates?
--- End quote ---
It doesn't find any plugins :( Tested with both a "user wide" make install and a "sudo" make install
--- Quote ---Scanning for lexers in /usr/local/bin/../share/codeblocks/lexers/...
Found 57 lexers
Loading lexer_A68k
Loading lexer_ada
......
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in /Users/xavier/Library/Application Support/codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/local/bin/../share/codeblocks/plugins
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
--- End quote ---
--- Quote from: oBFusCATed on September 17, 2017, 10:19:43 pm ---The size difference could be related to universal vs single-arch builds. Can you confirm this? Is the old build universal (32 + 64 bit)?
--- End quote ---
Can't confirm (no infos about this) : the start page has just the following information :
svn build rev 10922 (2016-11-17 11:48:57) gcc 4.2.1 Mac OS X/unicode - 64 bit
and mine have :
svn build rev 11171 (2017-09-13 23:12:23) gcc 4.2.1 Mac OS X/unicode - 64 bit
But it can just be a "debug/release" difference : my wx libs were build with "--disable-debug --disable-debug_flag" and some 3rd party libs are not in the bundle as it seems I'm using systems ones (libtiff, libjpeg for example).
Perhaps frankofrank can provide more informations.
Another difference is that the bundle made from the script doesn't have the "Contents/MacOS/wxContribItems" subfolder
Here is the startup log obtained using the bundle made with your script:
--- Quote ---Scanning for lexers in /Applications/CodeBlocks.app/Contents/Resources/share/codeblocks/lexers/...
Found 57 lexers
Loading lexer_A68k
Loading lexer_ada
............
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in /Users/xavier/Library/Application Support/codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /Applications/CodeBlocks.app/Contents/Resources/share/codeblocks/plugins
Loaded 13 plugins
Loading:
Abbreviations
AStylePlugin
Autosave
ClassWizard
CodeCompletion
Compiler
Debugger
FilesExtensionHandler
OccurrencesHighlighting
OpenFilesList
ProjectsImporter
ScriptedWizard
ToDoList
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
--- End quote ---
Regards
Xav'
stahta01:
Did you run the update script before running the bundle script?
If not, I suggest trying that to see if the missing files are then in the bundle.
The above is a wild guess; just as likely to be wrong as right.
Tim S.
oBFusCATed:
The update script has nothing to do with the bundle script used at the moment. This new one is for autotools builds.
I've found why the templates are missing and I'll commit a patch soon.
I'll need to find a way to add conditional code to copy the contrib plugins, because they are missing from the bundle.
edit: In fact the template fix is already in master.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version