加载海康库
This commit is contained in:
parent
bcb79d64db
commit
2954e53c05
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue