energye/energy

Golcl undefined initOSVersion

Closed this issue · 1 comments

$ go run example/simple/simple.go 
#github.com/energye/golcl/lcl/rtl/version
../../go/pkg/mod/github.com/energye/golcl@v1.0.7/lcl/rtl/version/init.go:25:2: undefined: initOSVersion
#github.com/energye/golcl/lcl/api/dllimports
../../go/pkg/mod/github.com/energye/golcl@v1.0.7/lcl/api/dllimports/importfuncs.go:26:26: uiLib.GetProcAddr undefined (type DLL has no field or method GetProcAddr)

After having followed the documentation instructions this error pops up when running simple.go

I am using 64bit MxLinux as the distro.

Hello, I have not used 64bit MxLinux before.
Energy supports amd64 and aarch64 for Linux system architecture.

If your system does not support pre compiling liblcl. so for energy, you can try compiling liblcl. so on the target platform yourself.
Compile liblcl: https://energy.yanghy.cn/course/100/1699432450079741