Sign In Register

How can we help you today?

Start a new topic

Cocos2d-x sample project on iOS simulator build error


When I try to build sample project on iOS simulator, the following link error came out.

Please help.

BTW the iOS device is built successfully.

Thanks a lot!


Undefined symbols for architecture x86_64:

"_opendir$INODE64", referenced from:

_OPENSSL_DIR_read in libcrypto.a(o_dir.o)

(maybe you meant: _opendir$INODE64$UNIX2003)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 Comment

It looks like the libcrypto.a library isn't properly linked properly.

Can you make sure it is added to the 'Linked Library and Frameworks' in general, and that it is added to the 'Library Search Paths' in build settings?

- Sean


Login to post a comment