User forums > Using Code::Blocks

Build error in SVN Rev. 1447 ( wxSmith )

<< < (2/2)

mandrav:

--- Quote from: daniel2000 on December 05, 2005, 06:41:22 pm ---I changed the #define lines, but the errors are the same :(

--- End quote ---

wxSmith uses its own precompiled headers. The current build system does not keep them up-to-date automatically (it is my fault and I will fix it soon).
So, delete plugins/contrib/wxSmith/wxsheaders.h.gch and run make. Hopefully it will work.

TheTuxKeeper:
think these errors came because I linked (symbolic link) the old cvs build directory to the new svn directory ( codeblocks-svn/build -> ../codeblocks-cvs/build) and make and the "../../"s went into the cvs directory  :shock:

Now it compiles and I think it'll work. If not I'll post :D

Thanks for the help

Daniel

cyberkoa:

--- Quote from: daniel2000 on December 05, 2005, 06:41:22 pm ---I changed the #define lines, but the errors are the same :(

--- Code: ---#define XML_DIALOG_STR   _T("dialog")
#define XML_FRAME_STR    _T("frame")
#define XML_PANEL_STR    _T("panel")
#define XML_FNAME_STR    _T("wxs_file")
#define XML_CNAME_STR    _T("class")
#define XML_SFILE_STR    _T("src_file")
#define XML_HFILE_STR    _T("header_file")
#define XML_XRCFILE_STR  _T("xrc_file")
#define XML_EDITMODE_STR _T("edit_mode")
#define XML_CONFIG_STR   _T("configuration")
#define XML_APPFILE_STR  _T("app_src_file")
#define XML_MAINRES_STR  _T("main_resource")
#define XML_INITALL_STR  _T("init_all_handlers")
#define XML_AUTOLOAD_STR _T("load_resource")
--- End code ---

--- End quote ---

sorry , I think I hv made mistake , the TinyXML is not using wxString, please remove the _T() macro in the #define statement and recompile , else there may have run-time logical bug

Navigation

[0] Message Index

[*] Previous page

Go to full version