Code::Blocks Forums
User forums => Help => Topic started by: macylapka on May 17, 2011, 03:35:30 pm
-
Hi,
Sorry for my english. I try build Code blocks on Win XP SP3, with TDM-GCC v4.5.2 and i get this error :
Compiling: sdk\cbauibook.cpp
D:\wxWidgets for CB\include/wx/event.h: In member function 'void cbAuiNotebook::MinimizeFreeSpace(wxAuiTabCtrl*)':
D:\wxWidgets for CB\include/wx/event.h:2997:18: error: 'virtual bool wxEvtHandler::ProcessEvent(wxEvent&)' is inaccessible
D:\CodeBlocks\src\sdk\cbauibook.cpp:549:36: error: within this context
If this error is on forum pls, excuse. If not please any suggestion.
Best regards.
-
which svn?
You may try to change your directory to no SPACE.
-
Which version of wxWidgets?
-
Hi,
To compile code blocks i use wxWidgets 2.9.2. I download lastes code blocks from svn, i can't found version number.
Regards
-
To compile code blocks i use wxWidgets 2.9.2.
This is not yet supported. You'll need wx v2.8.xx.
Note that wx v2.9.x is not an official stable version.
-
Hi,
Thanks a lot :) ! It works! Svn have rev = 0, it's ok ?
Regards
-
Hi,
Thanks a lot :) ! It works! Svn have rev = 0, it's ok ?
Regards
It's okay.
You need to install commandline subversion to fetch (and compile in) the svn-version.
-
Hi,
You need to install commandline subversion to fetch (and compile in) the svn-version.
From where download this commandline ? I saw some instruction when i tried run fresh build cb. I copy file to folder with cb 10.05. It woks :P . But i think must be another way.
Regards.
-
http://subversion.apache.org/packages.html (http://subversion.apache.org/packages.html)
By the way:
Using google with "download subversion" gives me more than 9 million answers.
-
For Windows, svn.exe must be in the system path or you can add it to the Compilers "Additional Paths".
Note: The Zip command has to be in the system path.
Edit: Adding either to the working folder that normally is set to the folder holding the Code::Blocks exe should also work.
Tim S.
-
Hi,
Thx all for help ! :)
Regards
Adrian
P.S.
Why forums exist if is google ?
-
P.S.
Why forums exist if is google ?
Because there are questions, that google can not answer.
In fact google (or other search engines) do not answer any questions, but they can find answers to similar questions on this and other forums.
By the way:
not searching the forum and/or a web searchengine violates our forum rules.
-
Hi,
Sorry for my english. I try build Code blocks on Win XP SP3, with TDM-GCC v4.5.2 and i get this error :
Compiling: sdk\cbauibook.cpp
D:\wxWidgets for CB\include/wx/event.h: In member function 'void cbAuiNotebook::MinimizeFreeSpace(wxAuiTabCtrl*)':
D:\wxWidgets for CB\include/wx/event.h:2997:18: error: 'virtual bool wxEvtHandler::ProcessEvent(wxEvent&)' is inaccessible
D:\CodeBlocks\src\sdk\cbauibook.cpp:549:36: error: within this context
If this error is on forum pls, excuse. If not please any suggestion.
Best regards.
Here has a solution. That's to say, replace
tabCtrl->ProcessEvent(event);
with
GetEventHandler()->ProcessEvent(event);