开发者

POCO Build Problem

开发者 https://www.devze.com 2022-12-27 23:45 出处:网络
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:

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: cann开发者_如何学JAVAot open file 'CppUnitd.lib'

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


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)


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

0

精彩评论

暂无评论...
验证码 换一张
取 消