Add shared lib for nvcodec

This commit is contained in:
dijunkun
2023-09-22 17:28:51 +08:00
parent 0e1da712f5
commit 36305eef46
8 changed files with 6 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ extern "C" {
#endif #endif
#endif #endif
#include <functional> #include <functional>
#include <vector>
#include "video_encoder.h" #include "video_encoder.h"

1
thirdparty/nvcodec/Lib/x64/libcuda.so vendored Symbolic link
View File

@@ -0,0 +1 @@
libcuda.so.1

BIN
thirdparty/nvcodec/Lib/x64/libcuda.so.1 vendored Normal file

Binary file not shown.

1
thirdparty/nvcodec/Lib/x64/libnvcuvid.so vendored Symbolic link
View File

@@ -0,0 +1 @@
libnvcuvid.so.1

Binary file not shown.

View File

@@ -0,0 +1 @@
libnvidia-encode.so.1

Binary file not shown.

View File

@@ -32,8 +32,8 @@ if is_os("windows") then
add_links("windowsapp", "User32", "Strmiids", "Mfuuid", "Secur32", "Bcrypt") add_links("windowsapp", "User32", "Strmiids", "Mfuuid", "Secur32", "Bcrypt")
add_requires("cuda") add_requires("cuda")
elseif is_os("linux") then elseif is_os("linux") then
add_links("pthread") set_config("cflags", "-fPIC")
set_config("cxxflags", "-fPIC") add_syslinks("pthread")
end end
add_packages("spdlog") add_packages("spdlog")