Comments (8)
Did you do what .travis.yml
does? In particular, did you install libBlocksRuntime?
from newnode.
Yes I did. Though when you have an build automation it check the pre-requisits and tells you about it.
Now I'm getting another error, related to clang compile.
Building injector...
In file included from injector.c:16:
In file included from ./libutp/utp.h:31:
./libutp/utp_types.h:117:15: fatal error: cannot combine with previous 'type-name' declaration specifier
typedef uint8 bool;
^
/usr/bin/../lib/clang/4.0.0/include/stdbool.h:31:14: note: expanded from macro 'bool'
#define bool _Bool
^
1 error generated.
I can successfuly make the libutp (with g++) this is specific to compiling injector.c
from newnode.
The problem was that I was using upstream libutp instead of clostra one. I'll add something to README about that.
Nonetheless, the issue of having a build system stands.
from newnode.
How'd you end up with the wrong libutp? Did you do git submodule init && git submodule update --recursive
or something like that?
from newnode.
it seems that we have to have a cmake for the android build.
"If your native sources donβt already have a CMake build script, you need to create one yourself and include the appropriate CMake commands." https://developer.android.com/studio/projects/add-native-code.html#create-cmake-script
from newnode.
https://github.com/clostra/dcdn/blob/09d38b56c842cf797533e6effa897c6bf80930e2/CMakeLists.txt
from newnode.
@vmon Can you confirm that this works on a fresh checkout or post the first error?
from newnode.
I also looked at android studio and by usual process for linking an android project to c/c++ library is to use cmake, another reason we need a cmake build.
from newnode.
Related Issues (20)
- jCenter deprecation HOT 3
- Swift Package Manager integration issues HOT 1
- ios crashes - newnode_init HOT 3
- Building and linking Android library HOT 13
- Feature request: Bugsnag opt-out
- Feature request: opt out from sending statistics to stats.newnode.com
- Feature request: opt out from searching near by devices and using Bluetooth on iOS HOT 3
- iOS. NewNode proxy does not receive connections after returning app from background HOT 8
- BatteryLevelReceiver ClassNotFoundException HOT 2
- Publish SHA256 checksums with releases HOT 1
- Couldn't get NearBy to work on Android HOT 3
- wget subprocess crashes on Ubuntu 22.04 HOT 3
- Fireside with NewNode 2.0.5 crashes on devices with Android API < 31 HOT 1
- bug in the client HOT 2
- Can't run project on iOS simulator on M1 macbook
- iOS asking for permission even when disabled
- iOS VPN: ViewController Architecture Problem HOT 2
- [Feature Request] Remove SMS registration in NewNode messenger HOT 2
- restart BTLE after backgrounding HOT 2
- [iOS] Registration doesn't work
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 newnode.