GmSSL / GmSSL-Go

Go binding of the GmSSL library
Apache License 2.0
49 stars 8 forks source link

gmssl/sm2.h: No such file or directory #1

Open qssto opened 1 year ago

qssto commented 1 year ago

image Windows下面的,gmssl已经安装,按照流程下来还是报错。

zzdboy commented 1 year ago

也是一样,在windows下同样也是报这个错误

hmijns commented 1 year ago

image

有人解决了吗?同样这个错误

BJYW commented 10 months ago
image

我也是这个错误

shuinger commented 10 months ago

image 将https://github.com/guanzhi/GmSSL/tree/master/include/gmssl这个文件夹复制到mingw-w64(GCC)安装路径下的x86_64-w64-mingw32\include文件夹中能正确运行。

leafney commented 6 months ago

macos 下同样问题

frozenpine commented 5 months ago

这个gmssl-go包里没有相应的头文件和动态库,我是把头文件和动态库放自己项目目录里,然后vscode里指定的环境变量参数,将CGO编译相应的包含和动态库路径传参进去,可以编译的 image