(Sorry for my poor english)
Hi~ I am a new user of Code::Block (But already used for a few months :P)
Today after I updated to this nighty build, then I restart the Code::Block, I received the following error message:
Can't read value of 'HKCR\.png\Content Type' (error 2: the system cannot find the file specified)
Then I press OK to close the error window and everything is OK (no side effect?)
Does my computer has some files missing? Please help.
Your registry has a problem; below is my best guess on how to fix it. Use a text editor and create a file called png.reg and put the below code in it. Save the file. Click on the file to import it into registry this might fix your issue but might not.
This Code is AS-IS no warranty, use with caution.
REGEDIT4
[HKEY_CLASSES_ROOT\.png]
"Content Type"="image/png"
"PerceivedType"="image"
Hello,
I do not give a try to every nightly built, but I enjoy having a new version compiled from SVN once for a several days.. I admire people working on this wonderful software. However There are still some improvments to made. I'm not an expert in operating CB but, When I try to use feature : "find declaration" it fails in a case
when there is a struct defined similar to the one shown below:
typedef struct {
byte bunch;
byte ext_num[MAX_DIR_N];
byte int_num[MAX_DIR_NO_AB];
byte opts;
} __attribute__ ((packed)) NAME_OF_STRUCTURE;
I got result that declaration wasn't found. The problem could be with analyze last line.
C::B grabs the mouse! I cannot use the mouse in any application, entering text via keyboard is still possible. The mouse pointer looks like a "plus inupper left corner".
Last action was:
(Resources tab is active)
Project->Built options -> Change compiler default for all projects -> Confirm
Click on 'Project view in Manager' (formerly was the resources tab).
SVN: 3558
OS: SuSE 10.0, KDE, wx2.6.1
I tried to make a snapshot (blame me), but get in the snapshot tool:
Grabbing the mouse failed with "AlreadyGrabbed"
Killing C::B releases the mouse.
----
I just reproduced the bug.
I now cound not even use the keyboard and ALT+TAB to switch to a console and had to kill C::B from remote...
Greetings,
I'm a new user to the Code::Blocks IDE. I'm using Windows XP and minGW and the latest Codeblocks nightly build. I've set the global variables in Codeblocks as cb = c:\codeblocks\src and wx = c:\wxwidgets-2.6.3. I have installed wxWidgets-2.6.3 and added the latest 2.6.3 patch. The SVN version of the code I'm using is 3558.
When I load CodeBlocks.cbp and try to build it (using minGW as the compiler), it begins compiling and completes all targets up until src and then fails. It fails because the linker does not find resources.res. In fact, it appears that the resource compiler (windres) never gets called, and thus resource.res never gets built.
And BTW, there are NO spaces in the names of my directories.
To get around this problem, I manually called windres by typing
C:\codeblocks\src>windres -i "C:\codeblocks\src\src\resources\resources.rc" -J rc -o .objs\2.6\src\resources\resources.res -O coff -IC:\wxWidgets-2.6.3\include -IC:\mingw\include
and then compile again inside Codeblocks. This time the linker finds resources.res and links succefully, but I do get the warning:
Info: resolving SquirrelVM::_VM by linking to __imp___ZN10SquirrelVM3_VME (auto-import)
Is this warning normal ??
I am able to build the plugins without problems and when I run update.bat everything goes well. The newly generated Codeblocks seems to work fine. However, this temporary "fix" (assuming that's what it is) is clearly not an acceptable long term solution.
I don't know if the problem is something I'm doing wrong, or an incorrect project file (CodeBlocks.cbp), or a bug in the Codebocks code.
I hope you can fix this issue or point out what I'm missing. Thank you in advance.
What version of GCC are you using?
3.3.x or 3.4.x?
Please verify that the file "c:\wxwidgets-2.6.3\lib\gcc_dll\mswu\wx\msw\rcdefs.h" exists?
Tim S
Right click on src\resources\resources.rc in the "Projects" viewer.
On the advanced tab try changing compiler Variable to CPP instead and see if that works.
Also, remove the check mark by link file under general tab.
Note: I had the problem for me on testing C::B link against wxWidgets 2.8.1.1 with WX_PRECOMP turned off (By that I mean WX_PRECOMP was not defined.) Note, if you are using GCC 3.3.x you will be doing something like having WX_PRECOMP turned off.
<Unit filename="src\resources\resources.rc">
<Option compilerVar="WINDRES" />
<Option target="src" />
</Unit>