wxXmlResource::Get()->Unload(actual);
pecan@herman:~/devel/trunk/src$ wx-config --libs
-pthread -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
pecan@herman:~/devel/trunk/src$ wx-config --cflags
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
Recently (the last number of svn updates) I've been getting a compile error in sc_dialog.cpp line 76CodewxXmlResource::Get()->Unload(actual);
Recently (the last number of svn updates) I've been getting a compile error in sc_dialog.cpp line 76CodewxXmlResource::Get()->Unload(actual);
If it is a 64 bit version of the OS then it is a known problem.
See
http://forums.codeblocks.org/index.php?topic=4930.msg38515#msg38515
Tim S
Recently (the last number of svn updates) I've been getting a compile error in sc_dialog.cpp line 76CodewxXmlResource::Get()->Unload(actual);
It says there is no such member as Unload.
My wx-config results are:Codepecan@herman:~/devel/trunk/src$ wx-config --libs
-pthread -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
pecan@herman:~/devel/trunk/src$ wx-config --cflags
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
Any suggestions?
RE: recent svn compilations on Ubuntu Breezy
Where does the -include sdk.h on the compiler command come from.
When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
I cannot find "-include sdk.h" in the .cbp file. Where can I turn it off?
thanks
RE: recent svn compilations on Ubuntu Breezy
Where does the -include sdk.h on the compiler command come from.
When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
I cannot find "-include sdk.h" in the .cbp file. Where can I turn it off?
thanks
Look at "Scripted wizard" Compiler "Other options".
Tim S
<Compiler>
<Add option='-include "sdk.h"' />
<Add directory="sdk" />
<Add directory="sdk/scripting/include" />
<Add directory="sdk/scripting/sqplus" />
</Compiler>
Recently (the last number of svn updates) I've been getting a compile error in sc_dialog.cpp line 76CodewxXmlResource::Get()->Unload(actual);
It says there is no such member as Unload.
My wx-config results are:Codepecan@herman:~/devel/trunk/src$ wx-config --libs
-pthread -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
pecan@herman:~/devel/trunk/src$ wx-config --cflags
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
Any suggestions?
From the 2.6_branch include/wx/xrcxmlres.h
#if wxABI_VERSION > 20601
// Unload resource from the given XML file (wildcards not allowed)
bool Unload(const wxString& filename);
#endif // wxABI_VERSION
Verify that you are running 2.6.2 version or higher and no code is SETTING wxABI_VERSION by defining it yourself to
wxABI_VERSION=20602
or
wxABI_VERSION=20603
Tim S
When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
This is clearly an indication that you are #including the PCH inside a header file. Never do that. The PCH must only be included inside source files (*.c, *.cpp, etc)...
When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
This is clearly an indication that you are #including the PCH inside a header file. Never do that. The PCH must only be included inside source files (*.c, *.cpp, etc)...
I haven't included anything. I'm just compiling CodeBlocks-Unix.cbp on Ubuntu 5.10 Breezy. I've never modified the .cbp or the file. It came with the svn update process.
This does not happen when compiling CB with andLinux Ubuntu Edgy.
I'll try to recreate the situation, but it may be too late. In the attempt to get Breezy to apply wx2.6.3 I hosed the system.
mandravFrom svn log
* Added preprocessor guard around call to wxXmlResource::Unload() in sc_dialog.cpp.