You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CC toxbot.o
./src/toxbot.c: In function ‘load_tox’:
./src/toxbot.c:317:13: error: too many arguments to function ‘tox_new’
m = tox_new(options, NULL, 0, &err);
^
In file included from ./src/toxbot.c:36:0:
/usr/local/include/tox/tox.h:615:6: note: declared here
Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
^
./src/toxbot.c:343:26: warning: passing argument 2 of ‘tox_new’ from incompatible pointer type
m = tox_new(options, (uint8_t *) data, data_len, &err);
^
In file included from ./src/toxbot.c:36:0:
/usr/local/include/tox/tox.h:615:6: note: expected ‘enum TOX_ERR_NEW *’ but argument is of type ‘uint8_t *’
Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
^
./src/toxbot.c:343:9: error: too many arguments to function ‘tox_new’
m = tox_new(options, (uint8_t *) data, data_len, &err);
^
In file included from ./src/toxbot.c:36:0:
/usr/local/include/tox/tox.h:615:6: note: declared here
Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
^
Makefile:12: recipe for target 'toxbot.o' failed
make: *** [toxbot.o] Error 1
i compiled newest toxcore and ToxBox doesn't compile.
The text was updated successfully, but these errors were encountered:
i compiled newest toxcore and ToxBox doesn't compile.
The text was updated successfully, but these errors were encountered: