开发者

How to use external cpp projects in a cpp project in Visual Studio 2008

i m trying to make small test driven example by using cppunit. So i have 2开发者_如何学C project which are test and normal library project. Whatever i do, i cannot be successfull. i got alltime LNK Error. Any help will be apreciated.


Your test program needs to have a dependency on the library, so that it links against it.

In addition to this, you need to add the cppunit libraries as additional libraries, in the "properties -> linker -> input" section of the test program.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜