Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile with tgvoip-dev 2.4.2-1 #153

Open
rudolfkral opened this issue Mar 8, 2022 · 2 comments
Open

Doesn't compile with tgvoip-dev 2.4.2-1 #153

rudolfkral opened this issue Mar 8, 2022 · 2 comments

Comments

@rudolfkral
Copy link

When compiling on Debian with tgvoip-dev, package version 2.4.2-1(most recent), the following error appears:

(...)/tdlib-purple-0.8.1/call.cpp: In function ‘bool activateCall(const td::td_api::call&, const string&, TdAccountData&, TdTransceiver&)’:
(...)/tdlib-purple-0.8.1/call.cpp:121:57: error: cannot bind non-const lvalue reference of type ‘tgvoip::IPv4Address&’ to an rvalue of type ‘tgvoip::IPv4Address’
                                                 tgvoip::IPv4Address(pServer->ip_address_),
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

VoIP isn't very important to me, so that's not a big issue, but I'm curious, what version are you using that's compatible? Does anyone else have that problem?

@BenWiederhake
Copy link
Contributor

As a temporary workaround, you can use -DNoVoip=True in cmake.

(In case you're curious: I never tried to get tdlib-purple to work with tgvoip, so I don't know whether that's actually possible.)

@rudolfkral
Copy link
Author

rudolfkral commented Mar 8, 2022

As a temporary workaround, you can use -DNoVoip=True in cmake.

Thanks, I did that and everything seems to be working.

(In case you're curious: I never tried to get tdlib-purple to work with tgvoip, so I don't know whether that's actually possible.)

Interesting! I wonder if anybody used it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants