简体   繁体   English

如何在Eclipse中配置Crypto ++?

[英]How to configure Crypto++ in Eclipse?

I want to use Crypto++ in Eclipse. 我想在Eclipse中使用Crypto ++。 I've installed it correctly but I dunno why it cannot find the path. 我已经正确安装了它,但是我不知道为什么它找不到路径。

using namespace CryptoPP;

Symbol CryptoPP cannot be resolved

and if I use #include "aes.h", for example is an unresolved inclusion. 如果我使用#include“ aes.h”,例如是未解决的包含。

How can I solve this? 我该如何解决?

You have to set the include paths for your project. 您必须设置项目的包含路径。

Assuming you are using CDT go to "Project->Properties->C/C++ Build->Settings" and now in your configured compiler to "Includes" and add the path to your library. 假设您正在使用CDT,请转到“项目”->“属性”->“ C / C ++构建”->“设置”,然后在已配置的编译器中将其设置为“包含”,然后将路径添加到库中。 The same has to be done for your linker with "Libraries". 对于使用“库”的链接器,必须执行相同的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM