未定义对Eclipse中OpenSSl应用程序的功能的引用 [英] Undefined referece to Function for OpenSSl app in Eclipse

查看:44
本文介绍了未定义对Eclipse中OpenSSl应用程序的功能的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是eclipse IDE和OpenSSL的新手.它显示称为无法打开lib文件的错误,并且对(Function)的引用未定义.有人能给我建议为最近几天尝试的应用程序添加正确的路径吗?.

Hi am new to eclipse IDE and OpenSSL . It shows the error called cannot open lib files and Undefined referece to (Function). Can anybody give me suggestion for adding the correct path for the application am trying from last few days am stuck with it.......

该错误看起来像这样的构建错误

the error look like this Build Error

为项目研发**的配置调试版本

Build of configuration Debug for project R&D **

内部构建器用于构建** gcc -LD:\源代码\ openssl \ lib -oR& D.exe openssl \ applink.o main.omain.o:在函数 main'中:D:\ c& c ++程序\ R& D \ Debug/../main.c:53:未定义对 RAND_pseudo_bytes的引用collect2:ld返回1退出状态发生构建错误,构建已停止消耗时间:331毫秒.

Internal Builder is used for build ** gcc -LD:\source codes\openssl\lib -oR&D.exe openssl\applink.o main.o main.o: In function main': D:\c&c++programs\R&D\Debug/../main.c:53: undefined reference toRAND_pseudo_bytes' collect2: ld returned 1 exit status Build error occurred, build is stopped Time consumed: 331 ms.

另一件事是将MinGW用作Eclipse的编译器.C ++应用程序

one more thing am using the MinGW as my compiler for Eclipse.It is a C & C++ application

推荐答案

...是Ecl​​ipse IDE和OpenSSL的新功能...

... am new to eclipse IDE and OpenSSL...

您必须将OpenSSL添加到项目中.

You must add OpenSSL to the project.

首先,必须添加OpenSSL包含项:

First, OpenSSL includes must be added:

第二,必须添加OpenSSL库:

Second, the OpenSSL libraries must be added:

这篇关于未定义对Eclipse中OpenSSl应用程序的功能的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆