0

I just installed the following library https://github.com/scottdensmore/callisto/tree/cpp via NuGet and via the Extensions and Updates Manaer in C++.

But how can I link the library to my Project.

using Callisto.Controls; gives me Callisto is not defined

Thx for the help in advance

Edit: I tried #pragma comment( lib, "Callisto" ) and #pragma comment( lib, "callisto" ) but its not working. I also don't know the exact name bc its installed as an extensions directly via visual studio and/or via NuGet

4

2 回答 2

0

要与 lib 文件链接,请在源文件中放置如下一行:

#pragma comment( lib, "name_of_lib_file" )

MSDN 参考

于 2013-05-25T22:29:24.630 回答
0

在您的项目工作区中,尝试转到工作区管理器(类似这样),您将在下面看到如下projects文件夹:Source, Resources, Headers. 现在,右键单击Resources文件夹,然后添加类似的Add dependency内容(我已经忘记了,因为我切换到 Code::Blocks)然后找到.lib你的库文件。

于 2013-05-26T08:34:45.343 回答