Skip to content

Commit 7ab62fc

Browse files
author
wzh
committed
基于 libiec61850 v1.5 的编译, 添加硬件抽象层依赖, 解决 windows 环境下开发问题
1 parent c5346aa commit 7ab62fc

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

config_win64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
package iec61850
44

55
// #cgo CFLAGS: -I./libiec61850/inc/hal/inc -I./libiec61850/inc/common/inc -I./libiec61850/inc/goose -I./libiec61850/inc/iec61850/inc -I./libiec61850/inc/iec61850/inc_private -I./libiec61850/inc/logging -I./libiec61850/inc/mms/inc -I./libiec61850/inc/mms/inc_private -I./libiec61850/inc/mms/iso_mms/asn1c
6-
// #cgo LDFLAGS: -static-libgcc -static-libstdc++ -L./libiec61850/lib/win64 -liec61850 -lws2_32
6+
// #cgo LDFLAGS: -static-libgcc -static-libstdc++ -L${SRCDIR}/libiec61850/lib/win64 -liec61850 -lhal -lws2_32
77
import "C"

libiec61850/lib/win64/libhal.a

537 KB
Binary file not shown.

libiec61850/lib/win64/libiec61850.a

-3.59 MB
Binary file not shown.

0 commit comments

Comments
 (0)