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

Errors C3668, C2039 during cmake build #846

Open
Martell17 opened this issue Jun 17, 2024 · 1 comment
Open

Errors C3668, C2039 during cmake build #846

Martell17 opened this issue Jun 17, 2024 · 1 comment

Comments

@Martell17
Copy link

I'm trying to build linphone-desktop for Windows 5.2.4 from the sources.
I'm following all the steps from there: https://gitlab.linphone.org/BC/public/linphone-desktop
I successfully installed all the prerequisites, including all the tools from Getting Started secion, Qt5, as well as from Specific instructions for the Windows platform section, including mingw, git, Visual Studio (community) with required features, Qt msvc2019 version (64-bit).
qtenv2.bat called.
All the tools are available from the command line.

The following command finished successfully:
cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=10 -DCMAKE_BUILD_TYPE=RelWithDebInfo -A x64

When I try to run
cmake.exe --build . --target ALL_BUILD --parallel 10 --config Release
I got (among other lines) the following errors:

C:\repos\linphone-desktop\linphone-app\src\components\conference\ConferenceListener.hpp(39,15): error C3668: 'ConferenceListener::onParticipantAdded': method with override specifier 'override' did not override any base class methods [C:\repos\linphone-desktop\build\linphone-app\app-library.vcxproj]

C:\repos\linphone-desktop\linphone-app\src\components\conference\ConferenceListener.hpp(42,15): error C3668: 'ConferenceListener::onParticipantDeviceAdded': method with override specifier 'override' did not override any base class methods [C:\repos\linphone-desktop\build\linphone-app\app-library.vcxproj]

C:\repos\linphone-desktop\linphone-app\src\components\conference\ConferenceListener.hpp(39,15): error C3668: 'ConferenceListener::onParticipantAdded': method with override specifier 'override' did not override any base class methods [C:\repos\linphone-desktop\build\linphone-app\app-library.vcxproj]

C:\repos\linphone-desktop\linphone-app\src\components\conference\ConferenceListener.hpp(42,15): error C3668: 'ConferenceListener::onParticipantDeviceAdded': method with override specifier 'override' did not override any base class methods [C:\repos\linphone-desktop\build\linphone-app\app-library.vcxproj]

C:\repos\linphone-desktop\linphone-app\src\components\contact\ContactModel.cpp(46,39): error C2039: 'newFromVcard': is not a member of 'linphone::Friend' [C:\repos\linphone-desktop\build\linphone-app\app-library.vcxproj]

C:\repos\linphone-desktop\linphone-app\src\components\contact\ContactModel.cpp(46,39): error C2039: 'newFromVcard': is not a member of 'linphone::Friend' [C:\repos\linphone-desktop\build\linphone-app\app-library.vcxproj]

Please help.

@MarkDreyband
Copy link

@Martell17 have you got any luck here? I have the same issue, and unable to build Linphone for Windows.

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