opencv的动态库通过无法通过相对路径访问 #7
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: libingkun/skyeyesystem#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
通过启动程序设定java.library.path为opencv动态库所在的路径,但是系统无法启动
8e55124158commit研发测试完毕
程序中设定的java.library.path对于在启动阶段已经读取过java.library.path的classloader,是不生效的。
为避免通过java启动指令-Dxxx进行路径设定,修改代码设定环境变量,然后通过system.load读取绝对路径的动态库文件,
不再采用system.loadlibrary。