News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CodeSnippets Build Error

Started by idblew, June 17, 2014, 09:42:00 AM

Previous topic - Next topic

idblew

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

oBFusCATed

Are you able to build wx28 version? Probably the wx30 project files have not been updated.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

idblew

Confirmed working in wx28, so looks like a problem with the wx30 workspace.

stahta01

#3
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

Is this patch made, just by looking at the changes made to the wx28 project files?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

idblew: Please test and report if it fixes it for you, too, then I'll push it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ollydbg

It looks like Morten has fixed this issue in trunk, rev 9808.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

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... ::)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

idblew

Confirmed working again!

Thanks.