1. 编译时需要指定 LIBRARY_PATH = 海康库,运行时需要指定 LD_LIBRARY_PATH =海康库
This commit is contained in:
parent
666ed24e73
commit
724c4febd9
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user