GithubHelp home page GithubHelp logo

Comments (8)

shalunov avatar shalunov commented on August 22, 2024

Did you do what .travis.yml does? In particular, did you install libBlocksRuntime?

from newnode.

vmon avatar vmon commented on August 22, 2024

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.

vmon avatar vmon commented on August 22, 2024

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.

shalunov avatar shalunov commented on August 22, 2024

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.

vmon avatar vmon commented on August 22, 2024

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.

shalunov avatar shalunov commented on August 22, 2024

https://github.com/clostra/dcdn/blob/09d38b56c842cf797533e6effa897c6bf80930e2/CMakeLists.txt

from newnode.

shalunov avatar shalunov commented on August 22, 2024

@vmon Can you confirm that this works on a fresh checkout or post the first error?

from newnode.

vmon avatar vmon commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.