I get these error messages when running Code::blocks after upgrading to this nighty build
Scanning for plugins in C:\Program Files\CodeBlocks/share/codeblocks/plugins...
ERROR: Plugin resource not found: cbprofiler.zip
ERROR: Plugin resource not found: compilergcc.zip
ERROR: Plugin resource not found: debuggergdb.zip
ERROR: Plugin resource not found: pluginwizard.zip
I can compile/build projects without any problem though..
typedef struct Flex
{
char *text;
struct Flex *next;
} Flexion;
Flexion f
f.
If I have a C project, and have a struct, let's say: [...]...it works if you implement it this way:
struct Flex
{
char *text;
struct Flex *next;
};
typedef struct Flex Flex;
If I have a C project, and have a struct, let's say:Yes, but only if you have saved the file containing the code for your structure.Codetypedef struct Flex
{
char *text;
struct Flex *next;
} Flexion;
If I use that structure somewhere
Like:CodeIs the code-completion feature supposed to list me the members of that structure when I type the dot after 'f' ?Flexion f
f.
Yes, but only if you have saved the file containing the code for your structure.Sure that is. Otherwise you'd have to re-parse the whole file every time you type/delete a character. This is *very* time consuming.
On my system (WinXP,svn build 3253) the default is to start code completion after I type 4 letters....or CTRL + Space. That's what I do if it's less than 4 characters and I want to see the members anyway.
Ubuntu 6.10 (Edgy) build here (http://www.savefile.com/projects/1037211).
Get 6.06 (Dapper) build from link in first post by killerbot.
Edit: Pulled the 6.10 file from the site. Several errors when opening CB of not finding a zip file that contains images and the start page, etc. I would assume the 6.06 build is doing the same thing. Errors logged below:
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/edit_16x16.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/contents_16x16.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file-missing.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file-modified.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file-readonly.png': file does not exist.
[...]
When I try to open plugins menu:
06:48:33 AM: Cannot load resources from file '/usr/local/share/codeblocks/resources.zip#zip:main_menu.xrc'.
06:48:33 AM: XRC resource 'dlgConfigurePlugins' (class 'wxDialog') not found!
I asked to killerbot if it was possible to make the "autoclose" options for these symbols ( [ { " ' I don't know if he had time to implement this option, I would like to know if it is easy to do this via the SDK plugin?
maybe I'll try
Ubuntu 6.10 (Edgy) build here (http://www.savefile.com/projects/1037211).
Get 6.06 (Dapper) build from link in first post by killerbot.
Edit: Pulled the 6.10 file from the site. Several errors when opening CB of not finding a zip file that contains images and the start page, etc. I would assume the 6.06 build is doing the same thing. Errors logged below:
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/edit_16x16.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/contents_16x16.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file-missing.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file-modified.png': file does not exist.
06:45:54 AM: Can't load image from file '/usr/local/share/codeblocks/images/file-readonly.png': file does not exist.
[...]
When I try to open plugins menu:
06:48:33 AM: Cannot load resources from file '/usr/local/share/codeblocks/resources.zip#zip:main_menu.xrc'.
06:48:33 AM: XRC resource 'dlgConfigurePlugins' (class 'wxDialog') not found!
I get the same error on Edgy. Tried to set the correct path with "--prefix" and "CODEBLOCKS_DATA_DIR", but that also doesn't work.
I'm found a workaround to this problem.
cd src/src
make clean
cd ../..
make clean-bin
./configure --prefix=/what/ever
make
sudo make install
codeblocks --prefix=/usr
I thought the purpose of code-completion was to save typing (though if I already have the object name in, sometimes it helps to do that if I don't want to wade through libraries)On my system (WinXP,svn build 3253) the default is to start code completion after I type 4 letters....or CTRL + Space. That's what I do if it's less than 4 characters and I want to see the members anyway.
QuoteI'm found a workaround to this problem.
Every time you decide to change the installation path, you must rebuild codeblocks with the appropriate --prefix option in configure.
The above errors come from this. You built codeblocks once without the --prefix option, which defaults to /usr/local, and then you built again with --prefix=/usr. The trouble is that you didn't rebuild (aka clean and build).
If you don't want to rebuild everything, there is a shorter way to do this:Codecd src/src
make clean
cd ../..
make clean-bin
./configure --prefix=/what/ever
make
sudo make install
Finally, if none of the above suits you, just start codeblocks with the --prefix option:Codecodeblocks --prefix=/usr
I believe I found the problem in the rules file under the debian folder. It was calling for prefix=/usr and not /usr/local. I made the change and rebuilt the deb for edgy.
If I have a C project, and have a struct, let's say: [...]...it works if you implement it this way:Codestruct Flex
{
char *text;
struct Flex *next;
};
typedef struct Flex Flex;
With regards, Morten.
That's not a problem. Debs are built for /usr...
r3259 contains the fix.
r3259 contains the fix.Tested on FC6/i386 - it works again.
r3259 contains the fix.