Closed sprinter707 closed 3 weeks ago
did you copy the SDK files into this sample code?
3.199 /usr/bin/ld: skipping incompatible /app/demo/lib/zoom_meeting_sdk/libmeetingsdk.so when searching for -lmeetingsdk 3.199 /usr/bin/ld: cannot find -lmeetingsdk 3.199 /usr/bin/ld: skipping incompatible /app/demo/lib/zoom_meeting_sdk/libmeetingsdk.so when searching for -lmeetingsdk 3.199 /usr/bin/ld: cannot find -lmeetingsdk
Yes. I copied the .so files.
source code
❯ ls -al
total 72
drwxrwxr-x@ 12 jasper staff 384 8 20 15:59 .
drwxr-xr-x@ 26 jasper staff 832 8 21 15:54 ..
-rw-r--r--@ 1 jasper staff 8196 8 21 15:55 .DS_Store
drwxr-xr-x 13 jasper staff 416 8 21 16:17 .git
-rw-rw-r--@ 1 jasper staff 451 6 21 17:36 .gitignore
drwxrwxr-x@ 3 jasper staff 96 8 21 15:04 Dockerfile-Centos8
drwxrwxr-x@ 3 jasper staff 96 6 21 17:36 Dockerfile-Centos9
drwxrwxr-x@ 3 jasper staff 96 6 21 17:36 Dockerfile-Ubuntu
-rw-rw-r--@ 1 jasper staff 1088 6 21 17:36 LICENSE.md
-rw-rw-r--@ 1 jasper staff 9290 6 21 17:36 README.md
drwxrwxr-x@ 32 jasper staff 1024 8 21 15:55 demo
-rw-rw-r--@ 1 jasper staff 5 6 21 17:36 version.txt
❯ pwd
/Users/jasper/Desktop/Workspaces/orelo-zoom-be
library
❯ ls -al
total 720600
drwxrwxr-x@ 9 jasper staff 288 8 21 16:11 .
drwxrwxr-x@ 4 jasper staff 128 8 20 14:45 ..
-rw-r--r--@ 1 jasper staff 6148 8 21 16:11 .DS_Store
drwxr-xr-x@ 3 jasper staff 96 8 20 13:43 json
-rwxr-xr-x@ 1 jasper staff 183860952 8 20 13:42 libmeetingsdk.so
-rwxr-xr-x@ 1 jasper staff 183860952 8 20 13:42 libmeetingsdk.so.1
-rwxr-xr-x@ 1 jasper staff 1214824 8 20 13:42 libmpg123.so
drwxr-xr-x@ 4 jasper staff 128 8 20 14:45 qt_libs
-rw-rw-r--@ 1 jasper staff 0 6 21 17:36 readme.md
❯ pwd
/Users/jasper/Desktop/Workspaces/orelo-zoom-be/demo/lib/zoom_meeting_sdk
I solved the problem. I use a MacBook M1 chip. This MacBook uses arm64 architecture. But Zoom SDK supports x86_64(amd, intel chip).
Depending on the OS of the execution environment, if it is ARM64, install centos using ARM64 architecture, and download gcc and the version corresponding to ARM64.
In Dockerfile, FROM quay.io/centos/centos:8
is install ARM64 centOS in m1 macbook.
I change the line to FROM --platform=linux/amd64 centos:8
.
It installs centOS using AMD64 architecture.
And change the zoom SDK version to 6.0.2.
Build success!
Hello.
I completed
cmake -B build
and I run docker build, but I got an error.how to solve this problem :( ?