Tallefer / wx-config-win

Automatically exported from code.google.com/p/wx-config-win
1 stars 0 forks source link

AUI missing from libraries #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Compile an app using AUI against a non-monolithic build of wxWidgets,
specifying aui after --libs.

What is the expected output? What do you see instead?

AUI is not linked in (has been included in wxWidgets since 2.7.1).

What version of the product are you using? On what operating system?

wxWidgets-2.8.4/Win32. Latest wx-config SVN.

Please provide any additional information below.

Here's a quick patch. I probably need to add in a check to see if we're
using a version >= 2.7.1, but this fixes my immediate problem :

392c392
<         // magic keyword std: links with
xrc,qa,html,adv,core,base_xml,base_net,base

---
>         // magic keyword std: links with
xrc,qa,html,adv,aui,core,base_xml,base_net,base
398a399
>             addLib("aui");
644a646,650
>             else if (lib == "aui")
>             {
>                 if (cfg["MONOLITHIC"] == "0")
>                       po["__WXLIB_AUI_p"] = addLib(po["LIB_BASENAME_MSW"]
+ "_aui");
>             }
676,682d681
<             else if (lib == "aui")
<             {
<                 if (cfg["MONOLITHIC"] == "0")
<                     if (cfg["USE_GUI"] == "1")
<                         if (cfg["USE_AUI"] == "1")
<                             po["__WXLIB_AUI_p"] =
addLib(po["LIB_BASENAME_MSW"] + "_aui");
<             }
849c848
<         libs += po["__WXLIB_QA_p"] + po["__WXLIB_AUI_p"] +
po["__WXLIB_HTML_p"] + po["__WXLIB_ADV_p"];

---
>         libs += po["__WXLIB_QA_p"] + po["__WXLIB_AUI_p"] +
po["__WXLIB_HTML_p"] + po["__WXLIB_ADV_p"] + po["__WXLIB_AUI_p"];
1099c1098
<         po["libs"] += po["__WXLIB_QA_p"] + po["__WXLIB_AUI_p"] +
po["__WXLIB_HTML_p"] + po["__WXLIB_ADV_p"];

---
>         po["libs"] += po["__WXLIB_QA_p"] + po["__WXLIB_AUI_p"] +
po["__WXLIB_HTML_p"] + po["__WXLIB_ADV_p"] + po["__WXLIB_AUI_p"];

Best regards,
Dave.

Original issue reported on code.google.com by dgo...@gmail.com on 29 Oct 2007 at 1:27

GoogleCodeExporter commented 9 years ago
Ignore this one - I seem to have got in a complete mess with different versions 
of
the code here somewhere. I've just checked out the latest wx-config-win again 
and it
added the AUI library with no problems when I specified "wx-config --libs aui". 
Sorry
about that.

Original comment by dgo...@gmail.com on 29 Oct 2007 at 1:43