Comments (8)
Did you run brew install ninja
? If that does not work, you can modify the Makefile and remove the -GNinja
section from the command. It will then use make instead of ninja.
from libpitaya.
Oops, now that I saw, setup-mac
should install ninja. Do you have brew installed? If it does not work just do what I mentioned in the comment above
from libpitaya.
yes, I installed ninja with run " brew install ninja ". now, remove the -GNinja, but still reporting this errorγ
from libpitaya.
ardendeiMac:libpitaya arden$ ninja
ninja: error: loading 'build.ninja': No such file or directory
ardendeiMac:libpitaya arden$
from libpitaya.
Ok, now the error is related to the toolchain. It says that there is not a file android.toolchain.cmake
in that path. This means you have to point the program to the NDK location you have. Suppose you downloaded and installed the NDK r17b at ~
. You would then run the following command to build for android:
make ANDROID_TOOLCHAIN_FILE=~/android-ndk-r17b/build/cmake/android.toolchain.cmake build-android
You can also run the target setup-android-mac
, it will download the ndk into the folder temp
at the current directory. If you do that, then you will have to change the ANDROID_TOOLCHAIN_FILE variable from the previous command to the newly downloaded ndk into the temp folder.
from libpitaya.
A complete setup to build for android could be someting like the following:
make setup-android-mac
make ANDROID_TOOLCHAIN_FILE=temp/android-ndk-r17b/build/cmake/android.toolchain.cmake build-android
from libpitaya.
Looking at the readme now this is an issue on the makefile, I will update it with the correct instructions for android.
from libpitaya.
make setup-android-mac
make ANDROID_TOOLCHAIN_FILE=temp/android-ndk-r17b/build/cmake/android.toolchain.cmake build-android
it's ok.
from libpitaya.
Related Issues (20)
- The ios examples you provided, some errors. HOT 1
- How does the ios client listen for messages broadcast from the server? HOT 1
- How does android client listen for messages broadcast from the server? HOT 5
- How to generate libpitaya.so files on each Android CPU platform? HOT 2
- How can I compile a windows-based DLL dynamic link library on macos? HOT 2
- Is there any way to slim down this library? When I used pod install in ios, the library was so large that the download was slow. HOT 4
- Event manager disposing on other threads
- Connector logs "Error reading next available message: invalid header" on player disconnection HOT 1
- How to set client congif from C# ?
- NSubstitute
- libpitaya lua
- __PitayaGetCFBundleVersion symbol not found in new version
- pc__trans_push issue HOT 1
- On iOS, the library arm64_armv7 no libssl.a file HOT 1
- Native libraries are not properly moved on iOS builds
- How do I start a server
- Can it be OK to call Connect() function directly, after disconnected without any reset work? HOT 2
- DllNotFoundException on linux
- An error occurred when I packaged an iOS project From Unity2019
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libpitaya.