Explorar el Código

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

kunmeng hace 2 meses
padre
commit
724c4febd9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Core/core.go

+ 1 - 1
Core/core.go

@@ -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>