Giter Club home page Giter Club logo

golibtox's Issues

Change to group messaging API in latest toxcore

github.com/organ/golibtox

.gvm/pkgsets/go1.3/global/src/github.com/organ/golibtox/golibtox.go:797: not enough arguments in call to _Cfunc_tox_join_groupchat
.gvm/pkgsets/go1.3/global/src/github.com/organ/golibtox/golibtox.go:816: cannot use C.uint32_t(len(message)) (type C.uint32_t) as type C.uint16_t in argument to _Cfunc_tox_group_message_send
.gvm/pkgsets/go1.3/global/src/github.com/organ/golibtox/golibtox.go:835: cannot use C.uint32_t(len(action)) (type C.uint32_t) as type C.uint16_t in argument to _Cfunc_tox_group_action_send

Error when using golibtox

When I try to compile dual.go example program, I get an error:

38: error: 'Tox_Options' undeclared (first use in this function)

Unable to build this binary

Sorry for beginners question. But how do i build it?

[vodolaz095@steel vodolaz095]$ cat /etc/issue
Fedora release 20 (Heisenbug)
Kernel \r on an \m (\l)

[vodolaz095@steel vodolaz095]$ go version
go version go1.2.2 linux/amd64

[vodolaz095@steel vodolaz095]$ go get github.com/organ/golibtox
# github.com/organ/golibtox
/home/projects/vodolaz095/go/src/github.com/organ/golibtox/const.go:4:21: fatal error: tox/tox.h: No such file or directory
 #include <tox/tox.h>
                     ^
compilation terminated.

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.