Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: zyj001et on April 09, 2007, 04:06:53 pm

Title: tips for using C::B using VC++ 6.0
Post by: zyj001et on April 09, 2007, 04:06:53 pm
Sorry for my poor english.

1.This article will give you a good reference for adding VC++ 6.0 to C::B compiler.
http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_C_6_with_Code::Blocks_IDE

2.  In project->build options ,
 you should select "Multi-threaded DLL debug runtime library[/MDd]", or you will get an link error.

3. In project->build options ->linker setting, "/subsystem:console /incremental:yes" should be added. If this step is missed, linker will print “error LNK1561: entry point must be defined” message.


Good luck.
Title: Re: tips for using C::B using VC++ 6.0
Post by: Biplab on April 09, 2007, 04:48:57 pm
3. In project->build options ->linker setting, "/subsystem:console /incremental:yes" should be added. If this step is missed, linker will print “error LNK1561: entry point must be defined” message.

This setting will depend upon whether you are building a Console App or a Win32 GUI App.