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

Problems with "make" in /build/ folder #1

Open
SergeyGalaxyOrsik opened this issue Feb 22, 2024 · 3 comments
Open

Problems with "make" in /build/ folder #1

SergeyGalaxyOrsik opened this issue Feb 22, 2024 · 3 comments

Comments

@SergeyGalaxyOrsik
Copy link

SergeyGalaxyOrsik commented Feb 22, 2024

When I execute "make" in "build" folder I have next message
/root/videosdk-linux-raw-recording-sample/src/ZoomVideoSDKRawDataPipeDelegate.h:11:10: fatal error: helpers/zoom_video_sdk_user_helper_interface.h: No such file or directory
11 | #include "helpers/zoom_video_sdk_user_helper_interface.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/zoom_v-sdk_linux_bot.dir/build.make:76: CMakeFiles/zoom_v-sdk_linux_bot.dir/src/ZoomVideoSDKRawDataPipeDelegate.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/zoom_v-sdk_linux_bot.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Why this issue come?
I try to change path to files in all *.h files. And make really start, but i have another issue
/usr/bin/ld: cannot find -lavformat: No such file or directory
/usr/bin/ld: cannot find -lswresample: No such file or directory
/usr/bin/ld: cannot find -lavcodec: No such file or directory
/usr/bin/ld: cannot find -lavutil: No such file or directory
/usr/bin/ld: cannot find -lswscale: No such file or directory
/usr/bin/ld: cannot find -lavfilter: No such file or directory
/usr/bin/ld: cannot find -lavformat: No such file or directory
/usr/bin/ld: cannot find -lswresample: No such file or directory
/usr/bin/ld: cannot find -lavcodec: No such file or directory
/usr/bin/ld: cannot find -lavutil: No such file or directory
/usr/bin/ld: cannot find -lswscale: No such file or directory
/usr/bin/ld: cannot find -lavfilter: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/zoom_v-sdk_linux_bot.dir/build.make:178: ../bin/zoom_v-sdk_linux_bot] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/zoom_v-sdk_linux_bot.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

@tanchunsiong
Copy link
Collaborator

@SergeyGalaxyOrsik those missing files are related to ffmpeg. I might have previously left some reference in the CMakeLists.txt

I've just updated CMakeLists.txt. Could you try with the new CMakeLists.txt and try again?

@SergeyGalaxyOrsik
Copy link
Author

@tanchunsiong Yes, now it's work well. But I have questions...

I write in the config.txt session_token from my developer account, but how can i know wha is session_name foe this JWT token?

And cause I don't know what token is, I get next text in my console

getpath
self path: /root/videosdk-linux-raw-recording-sample/bin
getpath
self path: /root/videosdk-linux-raw-recording-sample/bin
Readfile success.
Reading..session_name: ""
Reading..session_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6Imhxd0N3aDBXUVNTQ2xIWmZSLThqVHciLCJleHAiOjE3MTAwMDY2NDgsImlhdCI6MTcwOTQwMTg0OX0.ACfCYmLdK1mjFhPLCmNJsSdUUzlPPVTMNOcTXu4ZmVM"
Reading..session_psw: ""
Reading..GetVideoRawData: "true"
Reading..GetAudioRawData: "true"
Reading..SendVideoRawData: "false"
Reading..SendAudioRawData: "false"
session_name: 
session_token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6Imhxd0N3aDBXUVNTQ2xIWmZSLThqVHciLCJleHAiOjE3MTAwMDY2NDgsImlhdCI6MTcwOTQwMTg0OX0.ACfCYmLdK1mjFhPLCmNJsSdUUzlPPVTMNOcTXu4ZmVM
session_psw: 
GetVideoRawData before parsing is : true
GetVideoRawData: 1
GetAudioRawData before parsing is : true
GetAudioRawData: 1
SendVideoRawData before parsing is : false
SendVideoRawData: 0
SendAudioRawData before parsing is : false
SendAudioRawData: 0
directory of config file: /root/videosdk-linux-raw-recording-sample/bin/config.txt
begin to join: /root/videosdk-linux-raw-recording-sample/bin/config.txt
join session errorCode : 1500  detailErrorCode: 0```

@tanchunsiong
Copy link
Collaborator

@SergeyGalaxyOrsik the session name is defined by you. It is a unique name for your video call. Think of it as a phone number, but in text format. Users who wants to join the same call will use the same session name.

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