加载海康库

This commit is contained in:
sxu 2025-07-07 17:56:09 +08:00
parent bcb79d64db
commit 2954e53c05
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class initServer implements CommandLineRunner {
strDllPath = System.getProperty("user.dir") + "\\bonus-modules\\bonus-smart-canteen\\src\\main\\resources\\lib\\HCNetSDK.dll";
}else if(osSelect.isLinux()){
//Linux系统加载库路径
strDllPath =" /data/hk_lib_64/sdk/libhcnetsdk.so";
strDllPath ="/data/hk_lib_64/sdk/libhcnetsdk.so";
}
hCNetSDK = (HCNetSDK) Native.loadLibrary(strDllPath, HCNetSDK.class);
}catch (Exception ex) {