User forums > Nightly builds

The 20 November 2016 build (10922) is out.

<< < (8/10) > >>

Xaviou:
Hi

--- Quote from: oBFusCATed on December 26, 2016, 04:43:11 pm ---About the build target combo: Can you check if the auidemo in the wx works correctly on mac. I hope they have added combos in the toolbars in the demo.
--- End quote ---
They did, and it works : see attached screenshot.

Another thing that doesn't work on Mac : the scripted wizard for wxWidgets project add a "post build" command containing :
File wizard.script line 917

--- Code: ---/Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r -o $(TARGET_OUTPUT_FILE)
--- End code ---

The "/Developer/Tools/" directory doesn't exists.
I tried removing the full path :

--- Code: ---Rez -d __DARWIN__ -t APPL Carbon.r -o $(TARGET_OUTPUT_FILE)
--- End code ---
It worked but the resulting executable can't be runned.
I've searched a little on internet, and it seems that this command remove the "terminal" console for GUI applications (perhaps it has other features that I don't know).
The only thing that I know is that it can be replaced by "SetFile" (as it can be found in wxWidgets minimal sample makefile).
So the correct command to add is :

--- Code: ---SetFile -t APPL $(TARGET_OUTPUT_FILE)
--- End code ---

Perhaps someone can confirm this.

Regards
Xav'

oBFusCATed:

--- Quote from: Xaviou on December 26, 2016, 07:46:10 pm ---They did, and it works : see attached screenshot.

--- End quote ---

Just for confirmation - you're using the same wx libs for cb and auidemo right?


--- Quote from: Xaviou on December 26, 2016, 07:46:10 pm ---So the correct command to add is :

--- Code: ---SetFile -t APPL $(TARGET_OUTPUT_FILE)
--- End code ---

--- End quote ---

Patches welcome.

oBFusCATed:

--- Quote from: Xaviou on December 26, 2016, 07:46:10 pm ---They did, and it works : see attached screenshot.

--- End quote ---

Can you try this patch (it is a shot in the dark):

--- Code: ---diff --git a/src/plugins/compilergcc/compilergcc.cpp b/src/plugins/compilergcc/compilergcc.cpp
index a88716dc8..4354d7279 100644
--- a/src/plugins/compilergcc/compilergcc.cpp
+++ b/src/plugins/compilergcc/compilergcc.cpp
@@ -615,9 +615,9 @@ bool CompilerGCC::BuildToolBar(wxToolBar* toolBar)
     wxString my_16x16 = Manager::isToolBar16x16(toolBar) ? _T("_16x16") : _T("");
     Manager::Get()->AddonToolBar(toolBar,_T("compiler_toolbar")+my_16x16);
     m_pToolTarget = XRCCTRL(*toolBar, "idToolTarget", wxChoice);
+    DoRecreateTargetMenu(); // make sure the tool target combo is up-to-date
     toolBar->Realize();
     toolBar->SetInitialSize();
-    DoRecreateTargetMenu(); // make sure the tool target combo is up-to-date
     return true;
 }


--- End code ---

Xaviou:
Hi

--- Quote from: oBFusCATed on December 26, 2016, 08:07:01 pm ---
--- Quote from: Xaviou on December 26, 2016, 07:46:10 pm ---They did, and it works : see attached screenshot.

--- End quote ---

Just for confirmation - you're using the same wx libs for cb and auidemo right?

--- End quote ---
No : I'm actually using Code::Blocks built by frankofrank with the wx libs included and for auidemo, it is a freshly updated git repo.  :-[


--- Quote from: oBFusCATed on December 26, 2016, 08:07:01 pm ---
--- Quote from: Xaviou on December 26, 2016, 07:46:10 pm ---So the correct command to add is :

--- Code: ---SetFile -t APPL $(TARGET_OUTPUT_FILE)
--- End code ---

--- End quote ---

Patches welcome.

--- End quote ---


--- Quote from: oBFusCATed on December 27, 2016, 11:45:18 am ---Can you try this patch (it is a shot in the dark):
......

--- End quote ---
Well... the last time I've tried to build CB on Mac wasn't successfull (it was some months ago).

I think it's time for me to re-try this until it succeed  :P

Regards
Xav'

Xaviou:

--- Quote from: me on December 27, 2016, 12:18:21 pm ---I think it's time for me to re-try this until it succeed  :P

--- End quote ---
And of course : it fails...  >:(  => http://forums.codeblocks.org/index.php/topic,21625.0.html

Regards
Xav'

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version