Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.9.2.23 拉下代码来本地打包全是源码错误 #483

Open
yxl123458 opened this issue Oct 31, 2024 · 0 comments
Open

3.9.2.23 拉下代码来本地打包全是源码错误 #483

yxl123458 opened this issue Oct 31, 2024 · 0 comments

Comments

@yxl123458
Copy link

按照文档打包3.9.2.23 vcpkg下载了 两个包 以后 修改了json文件 配置没问题 打包的时候保存全是源码的错误
E:\projects\wxhelper\src\global_context.h(31,8): error C2039: "optional": 不是 "std" 的成员 [E:\projects\wxhelper\build\wxhelper.vcxproj]
(编译源文件“../src/global_context.cc”)
E:\vcpkg\installed\x64-windows\include\nlohmann\json.hpp(5196,11):
参见“std”的声明

E:\projects\wxhelper\src\global_context.h(31,16): error C2143: 语法错误: 缺少“;”(在“<”的前面) [E:\projects\wxhelper\build\wxhelper.vcxproj]
(编译源文件“../src/global_context.cc”)

E:\projects\wxhelper\src\global_context.h(31,8): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [E:\projects\wxhelper\build\wxhelper.vcxproj] (编译源文件“../src/global_context.cc”)

E:\projects\wxhelper\src\global_context.h(31,41): error C2238: 意外的标记位于“;”之前 [E:\projects\wxhelper\build\wxhelper.vcxproj]
(编译源文件“../src/global_context.cc”)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant