1. 编译时需要指定 LIBRARY_PATH = 海康库,运行时需要指定 LD_LIBRARY_PATH =海康库
This commit is contained in:
		| @@ -2,7 +2,7 @@ package Core | ||||
|  | ||||
| /* | ||||
| #cgo CFLAGS: -I../include | ||||
| #cgo LDFLAGS: -L${SRCDIR}/../libs/x86_64 -lHCCore -lhcnetsdk -lhpr -lNPQos -lSuperRender | ||||
| #cgo LDFLAGS: -lHCCore -lhcnetsdk -lhpr -lNPQos -lSuperRender | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <stddef.h> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 kunmeng
					kunmeng