From 2eebf13462324b2a0d1b5db884d8dafc4c3345af Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 31 八月 2021 10:13:56 +0800 Subject: [PATCH] change proto path and import in bhome_node.go --- api/bhsgo/bhome_node.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/bhsgo/bhome_node.go b/api/bhsgo/bhome_node.go index 7787e18..7e558ec 100644 --- a/api/bhsgo/bhome_node.go +++ b/api/bhsgo/bhome_node.go @@ -1,16 +1,16 @@ package bhsgo /* -#include "bh_api_go.h" +#include "../../src/bh_api.h" */ -// #cgo LDFLAGS: -L/home/lichao/code/shmsg/build/lib -L/usr/local/lib -lbhome_shmq -lstdc++ -lpthread -lrt +// #cgo LDFLAGS: -L/usr/local/lib -lbhome_shmq -lstdc++ -lpthread -lrt import "C" import ( "unsafe" - bh "basic.com/valib/bhshmq.git/proto/source/bhome_msg" + bh "basic.com/valib/c_bhomebus.git/proto/source/bhome_msg" ) func getPtr(n *[]byte) unsafe.Pointer { -- Gitblit v1.8.0