mas-bandwidth / yojimbo

A network library for client/server games written in C++
BSD 3-Clause "New" or "Revised" License
2.45k stars 238 forks source link

Document for compile library for android #151

Closed nongvantinh closed 2 years ago

nongvantinh commented 3 years ago

Is there a way to compile yojimbo for android devices?

gafferongames commented 3 years ago

I've never tried it.

nongvantinh commented 3 years ago

I tried to compile it, what I have seen so far is after I removed the precompiled library and replace with source code from mbedtls, sodium, the project doesn't compile. I tried to disable these libraries and some functions from netcode require mbedtls encode string function, and yojimbo require sodium to initialize. What do you think if I remove these encryption libraries?

gafferongames commented 3 years ago

Yojimbo will not work without libsodium.