Description
I have had to upgrade our Zoom SDK as the software we developed no longer works with the older version (creating join meeting failed, error_code=10). Upgrading the ZoomSDK to accommodate the developed software has been difficult. I am now getting LNK2001 errors for unresolved external symbols linking to .obj files throughout the build. This is the only error I am receiving. The error will be difficult to reproduce as I have other dependencies.
I am attempting to build a release x64 solution, other solutions did not work. The other dependencies required include openssl, NDI and others.
The sdk builds by itself, our software builds by itself, but building the software with the new SDK does not work.
@chunsiong.zoom , you are all over the forums, would appreciate your help
Which Windows Meeting SDK version?
Version = zoom-sdk-windows-5.17.6.31095
To Reproduce(If applicable)
Add the following dependencies to your solution:
DuiLib64.lib
sdk.lib
Processing.NDI.Lib.Advanced.x64.lib
OpenSsl
Build the release version in x64 using vsc143 or vsc142.
Screenshots
Output Log
Build started...
1>------ Build started: Project: sdk_demo_v2, Configuration: Release x64 ------
1>chat_controller_ui.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CSDKMeetingChatUIMgr::onChatStautsChangedNotification(struct ZOOMSDK::tagChatStatus *)" (?onChatStautsChangedNotification@CSDKMeetingChatUIMgr@@UEAAXPEAUtagChatStatus@ZOOMSDK@@@Z)
1>chat_controller_workflow.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CSDKChatControllerWorkFlow::onChatStautsChangedNotification(struct ZOOMSDK::tagChatStatus *)" (?onChatStautsChangedNotification@CSDKChatControllerWorkFlow@@UEAAXPEAUtagChatStatus@ZOOMSDK@@@Z)
1>CustomizedUIRecordMgr.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CustomizedUIRecordMgr::onRecordPriviligeChanged(bool)" (?onRecordPriviligeChanged@CustomizedUIRecordMgr@@UEAAX_N@Z)
1>custom_ui_mgr.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CCustomizeInMeetingUIMgr::onUserNameChanged(unsigned int,wchar_t const *)" (?onUserNameChanged@CCustomizeInMeetingUIMgr@@UEAAXIPEB_W@Z)
1>custom_ui_mgr.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CCustomizeInMeetingUIMgr::onCoHostChangeNotification(unsigned int,bool)" (?onCoHostChangeNotification@CCustomizeInMeetingUIMgr@@UEAAXI_N@Z)
1>custom_ui_mgr.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CCustomizeInMeetingUIMgr::onHostChangeNotification(unsigned int)" (?onHostChangeNotification@CCustomizeInMeetingUIMgr@@UEAAXI@Z)
1>custom_ui_mgr_flow.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CSDKCustomUIWorkFlow::onHostChangeNotification(unsigned int)" (?onHostChangeNotification@CSDKCustomUIWorkFlow@@UEAAXI@Z)
1>custom_ui_mgr_flow.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CSDKCustomUIWorkFlow::onUserNameChanged(unsigned int,wchar_t const *)" (?onUserNameChanged@CSDKCustomUIWorkFlow@@UEAAXIPEB_W@Z)
1>custom_ui_mgr_flow.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CSDKCustomUIWorkFlow::onCoHostChangeNotification(unsigned int,bool)" (?onCoHostChangeNotification@CSDKCustomUIWorkFlow@@UEAAXI_N@Z)
1>more_features_ui.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl CMoreFeaturesUIMgr::onUserNameChanged(unsigned int,wchar_t const *)" (?onUserNameChanged@CMoreFeaturesUIMgr@@UEAAXIPEB_W@Z)
1>NDIControlWindowUI.obj : error LNK2001: unresolved external symbol "public: bool __cdecl CustomizedUIRecordMgr::StartRawRecording(void)" (?StartRawRecording@CustomizedUIRecordMgr@@QEAA_NXZ)
1>NDIControlWindowUI.obj : error LNK2001: unresolved external symbol "public: bool __cdecl CustomizedUIRecordMgr::StopRawRecording(void)" (?StopRawRecording@CustomizedUIRecordMgr@@QEAA_NXZ)
1>setting_api_test.obj : error LNK2001: unresolved external symbol "public: enum ZOOMSDK::SDKError __cdecl CSDKVideoSettingsWorkFlow::EnableAlwaysUse16v9(bool)" (?EnableAlwaysUse16v9@CSDKVideoSettingsWorkFlow@@QEAA?AW4SDKError@ZOOMSDK@@_N@Z)
1>D:\Github\zoom-sdk-windows-5.17.6.31095\x64\bin\ZoomCoordinator.exe : fatal error LNK1120: 13 unresolved externals
1>Done building project "sdk_demo_v2.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 12:20 PM and took 00.377 seconds ==========
Linker Additional libraries Directory
$(SolutionDir)Source\Dependencies\Lib\duilib\lib;$(SolutionDir)Source\Dependencies\Lib\openssl;$(SolutionDir)Source\Dependencies\Lib
Linker Additional Dependencies
DuiLib64.lib;sdk.lib;Processing.NDI.Lib.Advanced.x64.lib;libssl.lib;libcrypto.lib;%(AdditionalDependencies)
Troubleshooting Routes
- Tested with sample app and not able to reproduce
- Gone through the forum, some people suggested not using x64, but its worked in the past for us
- Ensured all linked dependencies have the right path, see images.
Device (please complete the following information):
- Device: Custom PC, AMD Threadripper Pro, Nvidia RTX A6000
- OS: Windows 10
Additional context
I do have the premium service to Zoom, the custom support line was not helpful. I am also unable to attach media to this post even though the option is there?