开发者

XCode importing C++ project problems: "referenced from"

开发者 https://www.devze.com 2023-03-09 04:24 出处:网络
I have some problems importing an existing C++ project into my XCode. I already resolved some issues on includes (the use of string.h from another library was a pain), and now I stumbled upon another

I have some problems importing an existing C++ project into my XCode. I already resolved some issues on includes (the use of string.h from another library was a pain), and now I stumbled upon another problem.

When I build the project, I have 35 errors, all of the same origin. For example:

"_EVP_DigestInit_ex", referenced from: getParameterBdd(char*, char*, char*, char*, int)in main.o

and

"wxStringBase::InitWith(wchar_t const*, unsigned long, unsigned long)", referenced from: wxStringBase::开发者_C百科wxStringBase(wchar_t const*)in main.o

It just goes on and on like this, for almost every function I can find in my own code. I must have forgotten something obvious, but I've found nothing on any forum that can help me.

Thanks in advance!


These are linker errors; you can tell that from the fact that .o files are being processed. That means compilation must have succeeded to produce these.

Did you specify all the right libraries? By the looks of it, you need to link with at least OpenSSL (-lssl -lcrypto -lz) and wxWidgets.

0

精彩评论

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

关注公众号