Author Topic: CodeBlocks build faild (Windows, SVN)  (Read 9927 times)

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
CodeBlocks build faild (Windows, SVN)
« 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 :

Quote
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.
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: CodeBlocks build faild (Windows, SVN)
« Reply #1 on: May 18, 2011, 04:50:33 am »
which svn?
You may try to change your directory to no SPACE.
Regards,
xunxun

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: CodeBlocks build faild (Windows, SVN)
« Reply #2 on: May 18, 2011, 03:59:29 pm »
Which version of wxWidgets?
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: CodeBlocks build faild (Windows, SVN)
« Reply #3 on: May 19, 2011, 07:26:02 am »
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
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CodeBlocks build faild (Windows, SVN)
« Reply #4 on: May 19, 2011, 08:42:32 am »
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: CodeBlocks build faild (Windows, SVN)
« Reply #5 on: May 19, 2011, 12:22:49 pm »
Hi,

Thanks a lot :) ! It works! Svn have rev = 0, it's ok ?

Regards
« Last Edit: May 19, 2011, 12:28:11 pm by macylapka »
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks build faild (Windows, SVN)
« Reply #6 on: May 19, 2011, 12:30:29 pm »
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.

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: CodeBlocks build faild (Windows, SVN)
« Reply #7 on: May 19, 2011, 03:20:56 pm »
Hi,

Quote
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.
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks build faild (Windows, SVN)
« Reply #8 on: May 19, 2011, 07:18:23 pm »
http://subversion.apache.org/packages.html

By the way:
Using google with "download subversion" gives me more than 9 million answers.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: CodeBlocks build faild (Windows, SVN)
« Reply #9 on: May 19, 2011, 08:03:15 pm »
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.
« Last Edit: May 19, 2011, 09:37:16 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: CodeBlocks build faild (Windows, SVN)
« Reply #10 on: May 19, 2011, 11:21:02 pm »
Hi,

Thx all for help ! :)

Regards
Adrian

P.S.
Why forums exist if is google ?
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks build faild (Windows, SVN)
« Reply #11 on: May 20, 2011, 08:47:24 am »
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.

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: CodeBlocks build faild (Windows, SVN)
« Reply #12 on: August 15, 2011, 08:05:39 am »
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 :

Quote
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);