socket.io-client-cpp icon indicating copy to clipboard operation
socket.io-client-cpp copied to clipboard

how can I build cmake with arm64 architecture?

Open jhyoo2 opened this issue 8 years ago • 1 comments

I saw the tutorial and I can make libsioclient_tls.a file .

and it works when I use iphone simulator in my mac.

but there is some problem when I compile project with my iphone.

After I searching I found it because of build architecture.

when I use file

cmake -DBOOST_INCLUDEDIR=/Users/David/Desktop/Developement/projects/asio/boost_1_63_0 -DBOOST_LIBRARYDIR=/Users/David/Desktop/Developement/projects/asio/boost_1_63_0/stage/lib -DBOOST_VER:STRING=1.63.0 -DTARGET=sioclient_tls -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include

there is only x86_64 architecture available.

I need arm64 or armv7 architecture. How can I make libsioclient_tls.a and libboost.a file with arm64 architecture..?

jhyoo2 avatar Feb 04 '17 09:02 jhyoo2

Hi, we removed the boost dependency and changed a bit the build system. Could you try again?

jmigual avatar Mar 10 '22 10:03 jmigual