Git Product home page Git Product logo

go-toxcore-c's Introduction

TokTok - Toxing on Android

GSoC Project - New Tox Android Client

Up to 2016/11/10: This is a demo application showing new modern design and all the basic UI interactions. No connection, messages, audio/video calls are presented here yet.

Installation

1. Install the latest gradle-android-scala-plugin from git:

Unix:

$ git clone --depth=1 https://github.com/saturday06/gradle-android-scala-plugin
$ cd gradle-android-scala-plugin
$ ./gradlew install

Windows:

  1. Use TortoiseGIT or any other git client to clone https://github.com/saturday06/gradle-android-scala-plugin with specifying depth = 1.

  2. Use commandline to install the plugin:

cd /path-to-gradle-android-scala-plugin
gradlew.bat install

2. Pull the toktok project from git:

Unix:

$ git clone https://github.com/TokTok/toktok.git

To build .apk from commandline (files may appear in /toktok/build/outputs/apk):

$ cd toktok
$ ./gradlew build

Windows:

Use TortoiseGIT or any other git client to clone https://github.com/TokTok/toktok.git.

To build .apk from commandline (files may appear in /toktok/build/outputs/apk):

cd /path-to-toktok
gradlew.bat build

To run from Android Studio consider some requirements:

  • Android studio 2.1.2 - 2.2.2
  • Scala, SBT and Android Scala plugins installed
  • Android device with 23 API and higher (Android 6)

go-toxcore-c's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar envsh avatar iphydf avatar kitech avatar nxshock avatar riking avatar sprogl avatar xhebox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-toxcore-c's Issues

app don't compile for windows arch

When i try to compile with command GOOS=windows GOARCH=amd64 go build -o bin/test.exe test.go

I have this error :

# github.com/TokTok/go-toxcore-c
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/hooks.go:11:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/hooks.go:15:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/hooks.go:19:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/hooks.go:23:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/utils.go:46:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/utils.go:69:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/utils.go:79:7: undefined: CONNECTION_NONE
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/utils.go:81:7: undefined: CONNECTION_TCP
../../../../go/pkg/mod/github.com/!tok!tok/[email protected]/utils.go:83:7: undefined: CONNECTION_UDP

When i compile on linux / run it it work perfectly can you help me ?

go get failing

Seems when the go get command is done, it issues
pkg-config --cflags toxcore

but the proper command to get back the lib should be:

[loweel@vulvatron]#  pkg-config --cflags libtoxcore
-I/usr/local/include

when using the wrong command, the result is

[loweel@vulvatron]#  pkg-config --cflags toxcore
Package toxcore was not found in the pkg-config search path.
Perhaps you should add the directory containing `toxcore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'toxcore' found

which results in the command go get to fail like this:

[loweel@vulvatron]#  go get github.com/TokTok/go-toxcore-c
# pkg-config --cflags toxcore
Package toxcore was not found in the pkg-config search path.
Perhaps you should add the directory containing `toxcore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'toxcore' found
pkg-config: exit status 1

how to build it?

libopus-dev is already the newest version (1.3.1-0.1build2).
libsodium-dev is already the newest version (1.0.18-1build2).
libvpx-dev is already the newest version (1.11.0-2ubuntu2).
libtoxcore-dev is already the newest version (0.2.13-1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@devtest:~/tes# go run .
# github.com/TokTok/go-toxcore-c
../../go/pkg/mod/github.com/!tok!tok/[email protected]/toxav.go:319:48: could not determine kind of name for C.toxav_audio_data_cb

the guy who fixed it by itself dont respond and did the usual forum move
"i fixed it myself and bye" thanks for nothing

Originally posted by @liadala in #52 (comment)

cant build do to error

hi there, i tried hard to solve this by myself but failed, i trully dont know what is this:

../../go/pkg/mod/github.com/!tok!tok/[email protected]/toxav.go:319:48: could not determine kind of name for C.toxav_audio_data_cb

does anybody now how to solve that?

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.