Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

New plugin committed

<< < (2/5) > >>

Michael:

--- Quote from: killerbot on April 18, 2006, 04:03:01 pm ---add the following includes :
#include <wx/dir.h>

--- End quote ---

Thanks :). I will give it a try.


--- Quote from: killerbot on April 18, 2006, 04:03:01 pm ---the other one : from wx header :
#if wxABI_VERSION > 20601
    // Unload resource from the given XML file (wildcards not allowed)
    bool Unload(const wxString& filename);
#endif // wxABI_VERSION


are you using old wx ??

--- End quote ---

I use the the deafult Ubuntu package. Should not be that old, or?

Best wishes,
Michael

Michael:

--- Quote from: killerbot on April 18, 2006, 04:03:01 pm ---add the following includes :
#include <wx/dir.h>

--- End quote ---

I still get the ´Unload´ error.

Best wishes,
Michael

killerbot:
Unload : the needed header is included (#include <wx/xrc/xmlres.h>
) but the Unload does only exist if the ABI is above a certain version, seems your ABI is below ??

Michael:

--- Quote from: killerbot on April 18, 2006, 04:51:59 pm ---Unload : the needed header is included (#include <wx/xrc/xmlres.h>
) but the Unload does only exist if the ABI is above a certain version, seems your ABI is below ??

--- End quote ---

I have these here (Ubuntu default):


--- Quote ---libwxgtk2.6-0 (2.6.1.1.1ubuntu2) [universe]
wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
libwxgtk2.6-dbg (2.6.1.1.1ubuntu2) [universe]
wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
libwxgtk2.6-dev (2.6.1.1.1ubuntu2) [universe]
wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)

--- End quote ---

May be they are too old for the ABI...

Best wishes,
Michael

MortenMacFly:
Looks awesome. When I'm back home I'll try to create my own wizard.
Anyway, so far I found one bug (?): When I try to run the wizard for a D console application I get an error message box saying:

---------------------------
Scripting error
---------------------------
Error compiling script.
Error code: -1 (ERROR)

Details:
[WizardModule] wizard.script (66, 1) : Error   : A function with the same name and parameters already exist
[WizardModule] wizard.script (67, 1) : Error   : A function with the same name and parameters already exist
[WizardModule] wizard.script (68, 1) : Error   : A function with the same name and parameters already exist
[WizardModule] wizard.script (30, 1) : Info    : Compiling bool SetupProject(Project@)
[WizardModule] wizard.script (37, 5) : Error   : Multiple matching signatures to 'WarningsOn(CompileOptionsBase@&, wxString&)'
[WizardModule] wizard.script (46, 9) : Error   : Multiple matching signatures to 'DebugSymbolsOn(CompileOptionsBase@&, wxString&)'
[WizardModule] wizard.script (56, 9) : Error   : Multiple matching signatures to 'OptimizationsOn(CompileOptionsBase@&, wxString&)'

...all the other work fine.
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version