Feyyaz
Feyyaz

Reputation: 3216

POCO Build Problem

I'm trying to try the POCO library. I downloaded the zip file, and opened the vs solution file named "Net_vs90.sln" on VS 2008. When I try to build the solution, I get this ugly error:

bla bla bla....

1>Linking...

1>LINK : fatal error LNK1104: cannot open file 'PocoFoundationd.lib'

bla bla bla....

Linking...

2>LINK : fatal error LNK1104: cannot open file 'CppUnitd.lib'

I'm surprised, because I haven't done any changes to the code or configurations. What could be the reason?

Upvotes: 1

Views: 6795

Answers (2)

Feyyaz
Feyyaz

Reputation: 3216

Thanks for reminding Romain. The problem was, I hadn't looked at the wiki very well. In one of the wiki pages (below), it says the bat file, in the project, should first be run from visual studio command prompt. Now, the problem is solved :).

http://pocoproject.org/wiki/index.php/FirstStepsWindows

Upvotes: 0

Tom Cabanski
Tom Cabanski

Reputation: 8018

Looks like you are missing some dependencies from other open source projects. For example, cppunitd.lib is CppUnit. This may not be included in the files you downloaded (it is often assumed that you should get the latest dependencies yourself)

Upvotes: 1

Related Questions