Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbols for architecture arm64 #9

Closed
ygx2011 opened this issue Feb 9, 2017 · 4 comments
Closed

Undefined symbols for architecture arm64 #9

ygx2011 opened this issue Feb 9, 2017 · 4 comments

Comments

@ygx2011
Copy link

ygx2011 commented Feb 9, 2017

Hello,

I got a problem like this,

Undefined symbols for architecture arm64:
"typeinfo for boost::archive::detail::basic_pointer_oserializer", referenced from:

and I used serialization libraries with LLVM 8.0 - c++, any solutions for this?

Thank you.

@faithfracture
Copy link
Owner

Can you post the parameters you are using when running the script?

The serialization library is not built with this script by default. You need to be sure to override the default libraries by passing serialization option to the --boost-libs (along with whatever other libraries you need built), or by manually editing the BOOST_LIBS variable at the top of the script.

@ygx2011
Copy link
Author

ygx2011 commented Feb 10, 2017

Thank you, I found that yesterday, and I added serialization option to the script, it worked.

@faithfracture
Copy link
Owner

Awesome!

@velthune
Copy link

velthune commented Jul 17, 2019

I had same problem with boost thread library, I run the script in this way and all works great:

./boost.sh -ios --boost-version 1.70.0 --boost-libs thread

@faithfracture you should improve README file a little bit, btw great job man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants