Code::Blocks Forums

User forums => Help => Topic started by: TheTuxKeeper on April 16, 2006, 08:49:11 pm

Title: [SOLVED] XRC resource 'pnlCB' (class 'wxPanel') not found!
Post by: TheTuxKeeper on April 16, 2006, 08:49:11 pm
After the compiler detection dialog, during the start of codeblocks, I get an error message. Here is the log.txt:
Code
09:07:45 AM: XRC resource 'pnlCB' (class 'wxPanel') not found!
09:07:45 AM: Cannot find container for unknown control 'txtSearch'.
With that the debug dialog appears.

I think it's a fault of mine, because I tried older builds with the same result (also on both FC4 and FC5). :(

I built it on fedora core 4 with the wxGTK 2.6.2 package out of the freshrpms. I also attached the debug log.

Thank you for helping

Daniel

[attachment deleted by admin]
Title: Re: XRC resource 'pnlCB' (class 'wxPanel') not found!
Post by: thomas on April 16, 2006, 09:01:35 pm
Try and delete the code completion directory, then run a svn update and rebuild.
Title: Re: [SOLVED] XRC resource 'pnlCB' (class 'wxPanel') not found!
Post by: TheTuxKeeper on April 17, 2006, 12:20:13 am
Thank you, now codeblocks runs :-D

But one question: How can I prevent such errors without always having to build everything ? Usually make should rebuild the dependent files, or is this error something special (perhaps because xrc files are data and no source files) ?

EDIT: Or the question in another way: How can I see that there will be problems ? I think if the .xrc file changed and no source file in the same directory, this should be an indicator. But how to see it more exactly, which source file needs which .xrc ?