BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
391 stars 200 forks source link

Errors C3668, C2039 during cmake build #846

Open Martell17 opened 2 weeks ago

Martell17 commented 2 weeks ago

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.