1. 编译时需要指定 LIBRARY_PATH = 海康库,运行时需要指定 LD_LIBRARY_PATH =海康库

This commit is contained in:
kunmeng
2025-02-27 14:51:06 +08:00
parent 666ed24e73
commit 724c4febd9

View File

@@ -2,7 +2,7 @@ package Core
/* /*
#cgo CFLAGS: -I../include #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 <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>