Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
patch to build C::B against wx 3.0 with PCH enabled
BlueHazzard:
is this now standard in wx3.0 projects? Because i try to compile my sqrat port with wx3.0, but i get wired:
--- Code: ---sc_consts.cpp|55|error: 'PLUGIN_SDK_VERSION_MAJOR' was not declared in this scope
--- End code ---
and there is no special difference between the normal and this project file...
stahta01:
--- Quote from: BlueHazzard on February 17, 2014, 04:44:04 pm ---is this now standard in wx3.0 projects? Because i try to compile my sqrat port with wx3.0, but i get wired:
--- Code: ---sc_consts.cpp|55|error: 'PLUGIN_SDK_VERSION_MAJOR' was not declared in this scope
--- End code ---
and there is no special difference between the normal and this project file...
--- End quote ---
Patch that should fix it.
--- Code: ---Index: src/sdk/scripting/bindings/sc_consts.cpp
===================================================================
--- src/sdk/scripting/bindings/sc_consts.cpp (revision 9659)
+++ src/sdk/scripting/bindings/sc_consts.cpp (working copy)
@@ -10,6 +10,8 @@
#include <sdk_precomp.h>
#ifndef CB_PRECOMP
#include <wx/string.h>
+
+ #include <cbplugin.h>
#include <globals.h>
#include <settings.h>
#endif
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version