User forums > Help

msvcprt.lib?

(1/1)

Promit:
I'm working on porting a VC6 project to Code::Blocks/VC7.1, and it's asking me for the lib msvcprt.lib. Now, this exists on VC6, but as far as I can tell, the Toolkit doesn't have or use it. So my question is, why is the toolkit compiler and Code::Blocks looking for this lib, and how do I get it to stop? The lib isn't referenced in the cbp project file (I opened it in notepad and did a find).

mandrav:
According to this, msvcprt.lib is implicitely linked to the project if the linker switch /MD is specified.
Remove this switch from the project's linker (or compiler) options. This should remove the dependency...

HTH,
Yiannis.

Navigation

[0] Message Index

Go to full version