glenn
glenn

Reputation: 318

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

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::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!

Upvotes: 0

Views: 328

Answers (1)

Fred Foo
Fred Foo

Reputation: 363567

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.

Upvotes: 1

Related Questions