Git Product home page Git Product logo

Comments (4)

Omid-r avatar Omid-r commented on August 25, 2024

Hi guys
I get this error too when run example.go
please guide ..

from go-tox.

codedust avatar codedust commented on August 25, 2024

Thanks for reporting the issue. I could not reproduce the issue with toxcore version 0.1.9. Which version of toxcore did you use?

from go-tox.

mahla-chr avatar mahla-chr commented on August 25, 2024

Thank you so much for your reply.
I think the version of my toxcore is 0.1.9 too. Actually I've installed it in the last couple of weeks!
Do you have any idea about solving the problem? I tried in different computers but the errors were the same.

from go-tox.

codedust avatar codedust commented on August 25, 2024

Hi @Mahla-ch,

here's what I just found out: When having a closer look at your debug log, this part shows that your go instance is not using the latest version of c-toxcore:

In file included from /usr/lib/go-1.8/src/github.com/codedust/go-tox/callbacks.go:4:0:
/usr/local/include/tox/tox.h:779:6: note: declared here
void tox_callback_self_connection_status(Tox *tox, tox_self_connection_status_cb *callback, void *user_data);

When you compare this line to the latest version of c-toxcore, you'll notice that the two lines differ.
https://github.com/TokTok/c-toxcore/blob/master/toxcore/tox.h#L979

Could you try to uninstall all versions of toxcore on your system and (after verifying that go-tox has trouble including tox.h) install the latest version of c-toxcore again?

from go-tox.

Related Issues (11)

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.