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

编译时缺少文件srt/srt.h #55

Open
13811630872 opened this issue Feb 22, 2025 · 0 comments
Open

编译时缺少文件srt/srt.h #55

13811630872 opened this issue Feb 22, 2025 · 0 comments

Comments

@13811630872
Copy link

root@mark-VMware-Virtual-Platform:~/workspace/srs-work/srs-bench# make
CGO_CFLAGS="-I/usr/local/include" CGO_LDFLAGS="-L/usr/local/lib -lsrt -L/usr/local/ssl/lib -lcrypto -lstdc++ -lm -ldl" go build -mod=vendor -o objs/srs_bench .

github.com/haivision/srtgo

vendor/github.com/haivision/srtgo/accept.go:5:10: fatal error: srt/srt.h: No such file or directory
5 | #include <srt/srt.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:29: objs/srs_bench] Error 1

所以这个安装什么依赖包?

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

1 participant