LINK : fatal error LNK1104: cannot open file 'PocoFoundationmt.lib'

Hello,

I have been following this link, so that I can wrap all the needed .dll’s together etc:

http://www.rhyous.com/2010/09/16/avoiding-the-msvcr100-dll-or-msvcr100d-dll/

Basically means setting Tools -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library, to Multi-threaded (/MT) rather than Multi-threaded DLL (/MD).

Every time I try and run the application though it gives me the following error: LINK : fatal error LNK1104: cannot open file 'PocoFoundationmt.lib’

Anybody seen this before?
Cheers,
Sam

That error is due to the code generation change you made. Since you changed the project to Multi-thread, all the libraries that OF links to also need to be compiled as Multi-threaded. The error is saying it is looking for the PocoFoundation library compiled as Multi-threaded (hence the “mt” postfix). The Poco libraries that come with OF were compiled as Multi-threaded DLL (and have an “md” postfix).