C:\Users\xda\go\pkg\mod\github.com\lestrrat-go\[email protected]\xpath\xpath.go:124:7: undefined: clib.XMLXPathFreeObject
C:\Users\xda\go\pkg\mod\github.com\lestrrat-go\[email protected]\xpath\xpath.go:129:19: undefined: clib.XMLXPathCompile
C:\Users\xda\go\pkg\mod\github.com\lestrrat-go\[email protected]\xpath\xpath.go:149:7: undefined: clib.XMLXPathFreeCompExpr
C:\Users\xda\go\pkg\mod\github.com\lestrrat-go\[email protected]\xpath\xpath.go:163:22: undefined: clib.XMLXPathNewContext
C:\Users\xda\go\pkg\mod\github.com\lestrrat-go\[email protected]\xpath\xpath.go:179:14: undefined: clib.XMLXPathContextSetContextNode
C:\Users\xda\go\pkg\mod\github.com\lestrrat-go\[email protected]\xpath\xpath.go:179:14: too many errors
看来作者的 github ,需要自己编译一个 libxml2 库, 然后需要 visual studio 或者 cgywin 这种的, 想着有点麻烦,为了用这个 path 分析库,搞个 10 多 G 的 vs 环境。 有没有快捷的方式?
没有的话只就换 linux 。。
1
securityCoding 2023-08-18 14:05:45 +08:00 via Android
你直接扔 wsl 跑
|
2
roundgis 2023-08-18 16:55:53 +08:00 via Android
我記得 mingw64 有這個庫吧?
|