Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
C::B and MS 2005 free compiler?
killerbot:
you can add new ones -> you do that by for example selecting another one and press the copy button and tailor all the settings like you want them.
Oh, everything in the same settings panel as described above.
GeertVc:
--- Quote ---I can compile using VC++2005 now, I took the following steps:
1) Create a new compiler in Code::Blocks named 'Microsoft Visual C++ Toolkit 2005' by copying and renaming my 'Microsoft Visual C++ Toolkit 2003' compiler.
2) Click the 'Programs' tab, changed the 'Compiler installation directory' to: 'C:\Program Files\Microsoft Visual Studio 8\VC'.
3) Click the 'Directories' tab, in the compiler tab change 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\include' to 'C:\Program Files\Microsoft Visual Studio 8\VC\include', and in the linker tab change 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib' to 'C:\Program Files\Microsoft Visual Studio 8\VC\lib'.
4) Copy all the DLL's from 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE' to 'C:\Program Files\Microsoft Visual Studio 8\VC\bin' (this step might not be neccessary, but it was the only way I could make it work).
--- End quote ---
I've followed this description + some video tutorial I found on GameTutorials.com (doesn't seem to be free anymore nowadays...).
I've set the Visual C++ Toolkit 2005 as the default one and restarted CodeBlocks.
I created a new project and tried to build it (simple famous HelloWorld program in C++). I was surprised to see an error message, saying the compiler couldn't find the Gnu GCC compiler. Of course not, it's not installed.
But why is CodeBlocks asking for this, while I've set the VC++ 2005 compiler as default?
Then, I right-clicked on the project and selected the "Build options" item on the popup menu. I was again surprised to see indeed the Gnu GCC compiler selected, in stead of the C++ 2005 compiler.
When I changed to the VC++ 2005 compiler, I saw that all the settings I did in the "Compiler Options" section were gone!
* If I select Visual Studio C++ 2005 as the default compiler, why is a new project still trying to use the GNU GCC compiler?
* If I then manually select Visual Studio C++ 2005, why are the settings I previously gave, gone?
I'm using CodeBlocks 1.0, rc2.
Best rgds,
--Geert
cpprooky:
I'm using C::B (last night build) with Visual C++ 2005 Express compiler ! This compiler is listed in the Compiler list of C::B ! It's even auto-detected by C::B ! I just can't find the debugger that goes with it !!
kagerato:
--- Quote from: cpprooky on August 11, 2006, 09:08:29 am ---I'm using C::B (last night build) with Visual C++ 2005 Express compiler ! This compiler is listed in the Compiler list of C::B ! It's even auto-detected by C::B ! I just can't find the debugger that goes with it !!
--- End quote ---
I believe that debugger integration with Microsoft's compiler is not yet implemented (although planned for the long run). The format of the debugging information produced is different; therefore gdb is effectively useless.
There are standalone debuggers (like the ancient WinDbg.exe) you might try. There's actually a rather good standalone debugger for .NET called DbgCLR.exe, but that won't help you with C++ programs.
sethjackson:
I believe the Microsoft debugger is called CDB......
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version