I have tried to get this plugin running in Fedora Core 4. The steps I followed were:
- Install latest rpm (CB_20060407_rev2321_fc4.rpm) It fails with the following error:
06:03:18 PM: XRC resource 'pnlCB' (class 'wxPanel') not found!
06:03:18 PM: Cannot find container for unknown control 'txtSearch'.
- Then I installed codeblocks-1.0_0.svn.2212-0.fc4.i386.rpm Seems to work OK.
- Downloaded and unzipped QtWorkbench-0.3.1alpha.zip to ~/devel/testCodeBlocks
- Checked out matching SVN to ~/devel/testCodeBlocks/cb:
svn checkout --revision 2212 svn://svn.berlios.de/codeblocks/trunk cb
When I load the QtWB project it asks me to fill the value of cb. According to
http://wiki.codeblocks.org/index.php?title=Recommended_global_variablesI set cb to ~/devel/testCodeBlocks/cb/src
Now I hit the build button and get a bunch of errors. This gets solved by adding
/usr/include/wx-2.6
~/devel/testCodeBlocks/cb/src
to the " Project | Build options | Directories | Compiler " tab.
I get some
cc1plus: note: obsolete option -I- used, please use -iquote instead
messages, but it seems to build correctly. As root I install it
cp -r devel/testCodeBlocks/QtWorkbench/out/share /usr/
Then I restart CB and I get the following error
05:49:34 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:34 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:34 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:34 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:34 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:34 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:34 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:34 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:35 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:35 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:35 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:35 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:35 PM: XRC resource 'qtworkbench_menu' (class 'wxMenu') not found!
05:49:35 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:35 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:35 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:35 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
05:49:35 PM: XML parsing error: 'not well-formed (invalid token)' at line 23
05:49:35 PM: Cannot load resources from file '/usr/share/codeblocks/QtWorkbench.
zip#zip:qtworkbench_menu.xrc'.
I passed the xrc files through dos2unix, rebuilt and reinstalled with the same results.
Thoughts, anyone?
Cheers,
Luis