jbeder / yaml-cpp

A YAML parser and emitter in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to build yaml-cpp for aarch64?

njuhang opened this issue · comments

I use cmake .. and make, then libyaml-cpp.a is incompatibel with aarch64linux

Can you give more details? Is there a reason it's incompatible?

Because if I use cmake ..&& make, it will be built for x64 platform. Now I need to cross compile it for android aarch64 platform.

What happens if you use cmake's cross compilation tools?

But I don't know how to do cross compilation now.

Have you tried looking it up?

Sorry, could you please let me know what options I can set for aarch64 cross compilation?

Your question isn't yaml-cpp specific. Just ask in general on the internet and I'm sure you'll get an answer.