How i can compile both android\ios and pc? #18014
-
Hey! I am trying to compile my project for both android and pc and made the following structure:
Basically i divided the project into libraries for more convince, and now when I am trying to compile client_android I am getting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is generally possible, but you will have to be careful about features that only work on some platforms. The error you posted sounds like you need to enable the dynamic linking feature only from the You can take a look at how NiklasEi/bevy_game_template is organized. It supports mobile and desktop platforms with a shared library. |
Beta Was this translation helpful? Give feedback.
This is generally possible, but you will have to be careful about features that only work on some platforms. The error you posted sounds like you need to enable the dynamic linking feature only from the
client
project and not from theclient_android
/client_common
projects.You can take a look at how NiklasEi/bevy_game_template is organized. It supports mobile and desktop platforms with a shared library.