Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: puneet_m on August 07, 2007, 11:32:05 pm

Title: Build CodeBlock using VC++
Post by: puneet_m on August 07, 2007, 11:32:05 pm
Is it possible to build codeblock using VC++.

Thanks,
Puneet
Title: Re: Build CodeBlock using VC++
Post by: Biplab on August 08, 2007, 05:17:35 am
No, not yet.

I had tried to compile C::B with MSVC8. But C::B SDK fails to compile with MSVC8. ;)
Title: Re: Build CodeBlock using VC++
Post by: MortenMacFly on August 08, 2007, 08:48:56 am
I wonder what happens if you try to compile MS VS with MinGW... ;-)
But honestly: C::B was designed to compile with GCC/MinGW and that's just it.
With regards, Morten.
Title: Re: Build CodeBlock using VC++
Post by: theultramage on August 11, 2007, 08:10:01 pm
I just tried C::B with the vs8 compiler profile, and the default console c++ "hello world" project compiled/linked fine.
Debugging looked like it was glitched, but after some tests, it was just that you need to set at least one breakpoint to actually be able to step the application (unlike VS)
Code
Microsoft (R) Windows Debugger  Version 6.6.0007.5
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: ./poring.exe
Symbol search path is: D:/Projects/poring/
Executable search path is:
ModLoad: 00400000 00409000   poring.exe
ModLoad: 7c900000 7c9b0000   ntdll.dll
ModLoad: 7c800000 7c8f5000   C:\WINDOWS\system32\kernel32.dll
ModLoad: 10480000 1057e000   C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\MSVCP80D.dll
ModLoad: 10200000 10321000   C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\MSVCR80D.dll
ModLoad: 77c10000 77c68000   C:\WINDOWS\system32\msvcrt.dll
(13cc.13d0): Break instruction exception - code 80000003 (first chance)
eax=00251eb4 ebx=7ffd8000 ecx=00000004 edx=00000010 esi=00251f48 edi=00251eb4
eip=7c901230 esp=0012fb20 ebp=0012fc94 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll -
ntdll!DbgBreakPoint:
7c901230 cc              int     3
plus it shows this everytime I start debug.