Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

The errors when I compiled qTox with Qt5.9.0.. #6646

Open
JQUP20 opened this issue Jun 28, 2022 · 1 comment
Open

The errors when I compiled qTox with Qt5.9.0.. #6646

JQUP20 opened this issue Jun 28, 2022 · 1 comment
Labels
O-need-info We need more information for this issue

Comments

@JQUP20
Copy link

JQUP20 commented Jun 28, 2022

Brief Description

OS: Ubuntu
qTox version: latest
Commit hash:
toxcore: latest
Qt: 5.9.0

Steps to reproduce

When I compiled the qTox with Qt5.9.0, it appeared such errors:

/home/ailinux/projects/qTox/qTox/src/core/core.h:218: error: ‘TOX_CONFERENCE_TYPE’ has not been declared
static void onGroupInvite(Tox* tox, uint32_t friendId, TOX_CONFERENCE_TYPE type,
^~~~~~~~~~~~~~~~~~~
/home/ailinux/projects/qTox/qTox/src/core/core.h:124: error: ‘TOX_CONFERENCE_TYPE_AV’ was not declared in this scope
int createGroup(uint8_t type = TOX_CONFERENCE_TYPE_AV);
^~~~~~~~~~~~~~~~~~~~~~

At the begining, it also appeared
/home/ailinux/projects/qTox/qTox/src/core/core.h:212: error: ‘Tox_Connection’ has not been declared
static void onConnectionStatusChanged(Tox* tox, uint32_t friendId, Tox_Connection status,
^~~~~~~~~~~~~~
then I opened the <tox/tox.h> and I found the definition of 'TOX_CONNECTION'. After I changed the 'Tox_Connection' to 'Tox_Connection',it worked.

But I couldn't find the definition of 'TOX_CONFERENCE_TYPE ',how should I solve this?

@Chiitoo
Copy link
Contributor

Chiitoo commented Jun 28, 2022

I would guess either missing or really old [1] toxcore, though I'd kind of expect things to fail at configure phase already.

What versions of qTox and toxcore do you actually have? Does 'latest' mean latest upstream release, or latest in Ubuntu sense?

  1. TokTok/c-toxcore@c0397a0

@anthonybilinski anthonybilinski added the O-need-info We need more information for this issue label Jun 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
O-need-info We need more information for this issue
Projects
None yet
Development

No branches or pull requests

3 participants