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

Sample doesn't work with new SDK verison #6

Open
SergeyGalaxyOrsik opened this issue Mar 2, 2024 · 5 comments
Open

Sample doesn't work with new SDK verison #6

SergeyGalaxyOrsik opened this issue Mar 2, 2024 · 5 comments

Comments

@SergeyGalaxyOrsik
Copy link

I tried to compile sample with new version of SDK v5.17.10.3562, but when I do make in /demo/build directory I have many errors. I tried start sample with SDK v5.17.5.2561 and all work well

@tanchunsiong
Copy link
Collaborator

@SergeyGalaxyOrsik could you share some of the errors here?

@analog88
Copy link

analog88 commented Aug 23, 2024

Hey @SergeyGalaxyOrsik, if you're facing issues compiling the sample with the latest SDK version, you might want to check out the Recall.ai API.

It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video/metadata from meetings without you needing to spend months to build, scale and maintain these bots.

Here are the API docs: https://docs.recall.ai/page/tutorials

@jeirix
Copy link

jeirix commented Sep 3, 2024

hello, I got errors compiling version 6.1.10 made both on visual studio (windows) and vscode on a linux ubuntu 22 and ubuntu desktop 24.
First issue was glib.h wasn't visibile by vscode even it was correctly installed in the system. I had to change c_cpp_properties.json file and includePath : /usr/include/glib-2.0/, /usr/lib/x86_64-linux-gnu/glib-2.0/include/ and use the correct compiler.

Build was ok:

  • The CXX compiler identification is GNU 13.2.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3")
    -- Checking for module 'glib-2.0'
    -- Found glib-2.0, version 2.80.0
    -- Checking for module 'gio-2.0'
    -- Found gio-2.0, version 2.80.0
    ln: failed to create symbolic link 'libmeetingsdk.so.1': File exists
    -- Configuring done (0.8s)
    -- Generating done (0.0s)
    -- Build files have been written to: /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/build

Then when make it:

/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp: In function ‘void JoinMeeting()’:
/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:545:122: error: invalid new-expression of abstract class type ‘MeetingServiceEventListener’
545 | Service->SetEvent(new MeetingServiceEventListener(&onMeetingJoined, &onMeetingEndsQuitApp, &onInMeeting));
| ^

In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:30:
/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/MeetingServiceEventListener.h:6:7: note: because the following virtual functions are pure within ‘MeetingServiceEventListener’:
6 | class MeetingServiceEventListener : public ZOOM_SDK_NAMESPACE::IMeetingServiceEvent
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:19:
/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/include/h/meeting_service_interface.h:488:22: note: ‘virtual void ZOOMSDK::IMeetingServiceEvent::onMeetingTopicChanged(const zchar_t*)’
488 | virtual void onMeetingTopicChanged(const zchar_t* sTopic) = 0;
| ^~~~~~~~~~~~~~~~~~~~~
/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:553:106: error: invalid new-expression of abstract class type ‘MeetingRecordingCtrlEventListener’
553 | m_pRecordController->SetEvent(new MeetingRecordingCtrlEventListener(&onIsGivenRecordingPermission));
| ^

In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:38:
/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/MeetingRecordingCtrlEventListener.h:8:7: note: because the following virtual functions are pure within ‘MeetingRecordingCtrlEventListener’:
8 | class MeetingRecordingCtrlEventListener :public IMeetingRecordingCtrlEvent
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/include/h/meeting_service_components/meeting_participants_ctrl_interface.h:9,
from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:21:
/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/include/h/meeting_service_components/meeting_recording_interface.h:251:22: note: ‘virtual void ZOOMSDK::IMeetingRecordingCtrlEvent::onTranscodingStatusChanged(ZOOMSDK::TranscodingStatus, const zchar_t*)’
251 | virtual void onTranscodingStatusChanged(TranscodingStatus status,const zchar_t* path) = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/meetingSDKDemo.dir/build.make:76: CMakeFiles/meetingSDKDemo.dir/meeting_sdk_demo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/meetingSDKDemo.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Many thanks.
J

@tanchunsiong
Copy link
Collaborator

tanchunsiong commented Sep 4, 2024

hi @jeirix ,

The current version which you are using requires 6.1.0
Meanwhile I'll update it to the latest SDK as well

I'm using a Windows Machine to compile this project

@jeirix
Copy link

jeirix commented Dec 6, 2024

Hello @tanchunsiong many thanks for this update, I could successfully build and compile 6.1.10 without errors. I provided all the information inside config.txt ( meeting_number, token ( generated by Server-To-Server OAuth), meeting_password) it works only with JWT definitively.

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

4 participants