Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: idblew on June 17, 2014, 09:42:00 AM

Title: CodeSnippets Build Error
Post by: idblew on June 17, 2014, 09:42:00 AM
When building the later SVNs, I'm getting the below errors on Windows.


CodeBlocks\src\plugins\contrib\codesnippets\codesnippetsevent.cpp||In member function 'bool CodeSnippetsEvent::PostCodeSnippetsEvent(const CodeSnippetsEvent&)':
CodeBlocks\src\plugins\contrib\codesnippets\codesnippetsevent.cpp|87|error: 'class CodeSnippetsConfig' has no member named 'GetThreadSearchFrame'
CodeBlocks\src\plugins\contrib\codesnippets\codesnippetsevent.cpp||In member function 'bool CodeSnippetsEvent::ProcessCodeSnippetsEvent(const CodeSnippetsEvent&)':
CodeBlocks\src\plugins\contrib\codesnippets\codesnippetsevent.cpp|141|error: 'class CodeSnippetsConfig' has no member named 'GetThreadSearchFrame'


Any ideas?

This is using the CodeBlocks_wx30.workspace on Windows 7 (64-bit) with TDM GCC 4.8.1
Title: Re: CodeSnippets Build Error
Post by: oBFusCATed on June 17, 2014, 10:12:37 AM
Are you able to build wx28 version? Probably the wx30 project files have not been updated.
Title: Re: CodeSnippets Build Error
Post by: idblew on June 17, 2014, 12:02:36 PM
Confirmed working in wx28, so looks like a problem with the wx30 workspace.
Title: Re: CodeSnippets Build Error
Post by: stahta01 on June 17, 2014, 02:42:44 PM
Quote from: idblew on June 17, 2014, 12:02:36 PM
Confirmed working in wx28, so looks like a problem with the wx30 workspace.

Slightly tested patch for Windows Build; if you wish to test it.

Edit: Deleted patch code.
Title: Re: CodeSnippets Build Error
Post by: oBFusCATed on June 17, 2014, 08:49:18 PM
Is this patch made, just by looking at the changes made to the wx28 project files?
Title: Re: CodeSnippets Build Error
Post by: stahta01 on June 17, 2014, 11:56:26 PM
Quote from: oBFusCATed on June 17, 2014, 08:49:18 PM
Is this patch made, just by looking at the changes made to the wx28 project files?

Yes, that is the way I made it; but, I might of missed some changes.

Tim S.
Title: Re: CodeSnippets Build Error
Post by: oBFusCATed on June 18, 2014, 12:35:17 AM
idblew: Please test and report if it fixes it for you, too, then I'll push it.
Title: Re: CodeSnippets Build Error
Post by: ollydbg on June 18, 2014, 02:49:16 AM
It looks like Morten has fixed this issue in trunk, rev 9808.
Title: Re: CodeSnippets Build Error
Post by: MortenMacFly on June 18, 2014, 08:59:48 AM
Quote from: ollydbg on June 18, 2014, 02:49:16 AM
It looks like Morten has fixed this issue in trunk, rev 9808.
Ooops - I haven't seen this one. The issue popped out of my private builds. Sorry for intercepting... ::)
Title: Re: CodeSnippets Build Error
Post by: oBFusCATed on June 18, 2014, 10:13:44 AM
:)
Title: Re: CodeSnippets Build Error
Post by: idblew on June 19, 2014, 10:13:39 AM
Confirmed working again!

Thanks.