User forums > Using Code::Blocks
Visual C++ 2008 ?
Jenna:
--- Quote from: johne53 on October 25, 2009, 04:26:08 pm ---Firstly, VC++ 2008 isn't listed among the supported compilers - although that isn't too important because I'm still using 2005 which is listed.
[...]
P.S. mingwm10.dll is dated 3rd August 2007 which seems quite old. Is that correct?
--- End quote ---
I wonder why it is not listed, I just downloaded and installed the svn r5859 and have an entry Microsoft Visual C++ 2005/2008, if it's not there something went wrong.
Yes, it seems to be the correct version of mingwm10.dll.
As koso wrote, you can try to delete (or better temporarily rename) C::B's conf-folder and see what happens.
johne53:
Koso - thanks for the tip. That's left me with some important changes - some good and some bad. The bad news is that I no longer have any entry to select VC++6 as a compiler option (though hopefully I could add it back again?)
The good news is that the compiler entry for VC++2005 now says "Microsoft Visual C++ 2005/2008" and it no longer seems to be crashing if I select it as the project's compiler.
Strangely enough however, the only build options that work are Build (CTRL+F9) and Rebuild All (CTRL+F11). I can no longer simply compile an individual file using CTRL+SHIFT+F9 (that option just seems to get ignored).
So it's one step forward and two steps backward at the moment - but at least some kind of building is now possible with VC++2005 and 2008.
Jens, I can probably figure out how to restore my old option for VC++6 by copying the relevant section from my (backed up) config file - but can you help me to make CTRL+SHIFT+F9 work again? i use that quite a lot.
Jenna:
I don't know, why Ctrl+Shift+F9 does not work, it works for me if gcc is my default compiler, but if I make VC++2005/2008 to my default compiler, nothing happens (except for clearing th elog window), but I do not have any MS-compiler installed.
To copy settings from the backed up default.conf to the newly created one, you should use cb_share_config.exe, which resides in C::B's executable folder.
johne53:
--- Quote from: jens on October 26, 2009, 12:22:43 pm ---I don't know, why Ctrl+Shift+F9 does not work, it works for me if gcc is my default compiler, but if I make VC++2005/2008 to my default compiler, nothing happens (except for clearing th elog window)
--- End quote ---
Yes, that's what I'm getting too. However, the other build options work for me, so the compiler is obviously present.
I'm just going out for a couple of hours but I'll try cb_share_config.exe a little later. Thanks for letting me know.
johne53:
Hi Jens. I managed to do the relevant merging with cb_share_config.exe and it seems to have worked fine. However AFAICT Ctrl+Shift+F9 just doesn't work any more with the majority of compilers. The main compiler I use with C::B is Cygwin-gcc. This has worked for at least a couple of years but is now exhibiting the same problem (Ctrl+F9 works, Ctrl+F11 works but Ctrl+Shift+F9 has stopped working).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version