Author Topic: msvcprt.lib?  (Read 6509 times)

Promit

  • Guest
msvcprt.lib?
« on: February 07, 2005, 07:30:40 am »
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).

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
msvcprt.lib?
« Reply #1 on: February 07, 2005, 09:01:56 am »
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.
Be patient!
This bug will be fixed soon...