-
windows64_build.dat内容如下: REM Procedures: set ILOGTAIL_VERSION=2.0.0 set ILOGTAIL_PLUGIN_SRC_PATH="%P1Path%" set OUTPUT_DIR=%ILOGTAIL_PLUGIN_SRC_PATH%\output go env -w GOPROXY="https://goproxy.cn,direct" set PATH=%DEVENV_BIN%;%MINGW_PATH%;%PATH% REM Clean up REM Build C++ core(ilogtail.exe, PluginAdapter.dll) REM Import plugins REM Build plugins (PluginBase.dll, PluginBase.h) REM Copy artifacts :quit build.stdout内容如下: Microsoft Visual Studio 2022 Version 17.9.2. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
### 安装windows版本编译说明编译,输出编译failed,有知道如何解决的大神吗?求指导,谢谢 |
Beta Was this translation helpful? Give feedback.
-
我折腾了几天算是搞出来了,基于master编译的,问题很多。 |
Beta Was this translation helpful? Give feedback.
我折腾了几天算是搞出来了,基于master编译的,问题很多。
不过你这个问题是protobuf的版本问题,我看了3.6.1版本protobuf的源码,hash.h这个头文件里用了std::hash_compare这个类,但是这个在c++11标准里已经被放弃了。使用3.7.1版本,替换ilogtail-deps里的依赖可以解决。