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

[sqlpp11] Fix header file cannot be found #43421

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jimwang118
Copy link
Contributor

Fixes #43417

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

Usage test passed with x64-windows triplet.

@jimwang118 jimwang118 added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Jan 23, 2025
Copy link
Contributor

@WangWeiLin-MV WangWeiLin-MV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The port feature sqlpp11[mariadb,postgresql,sqlite3] and sqlpp11[mysql] installation tests pass with the following triplets:

  • x64-linux

@WangWeiLin-MV WangWeiLin-MV added the info:reviewed Pull Request changes follow basic guidelines label Jan 23, 2025
@jimwang118 jimwang118 marked this pull request as ready for review January 23, 2025 08:38
@244916896
Copy link

I use you func changed,but:

@244916896
Copy link

[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(308,51): error C2589: “(”:“::”右边的非法标记 [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(308): error C2062: 意外的类型“unknown-type” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(308,1): error C2059: 语法错误:“)” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(309,1): error C2143: 语法错误: 缺少“;”(在“{”的前面) [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(309,90): error C2143: 语法错误: 缺少“;”(在“}”的前面) [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(325,51): error C2589: “(”:“::”右边的非法标记 [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(325): error C2062: 意外的类型“unknown-type” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(325,1): error C2059: 语法错误:“)” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(326,1): error C2143: 语法错误: 缺少“;”(在“{”的前面) [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/mysql/bind_result.h(326,90): error C2143: 语法错误: 缺少“;”(在“}”的前面) [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/prepared_statement.h(132,55): error C2589: “(”:“::”右边的非法标记 [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/prepared_statement.h(132): error C2062: 意外的类型“unknown-type” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/prepared_statement.h(132,1): error C2059: 语法错误:“)” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/prepared_statement.h(135,1): error C2181: 没有匹配 if 的非法 else [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/serializer.h(120,47): error C2589: “(”:“::”右边的非法标记 [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/serializer.h(120): error C2062: 意外的类型“unknown-type” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/serializer.h(120,52): error C2059: 语法错误:“)” [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[build] E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\vcpkg_installed\x64-windows-static-md\include\sqlpp11/sqlite3/serializer.h(122,7): error C2181: 没有匹配 if 的非法 else [E:\develop\candcpp\cmakedemo\out\build\cmakemsvcvcpkg\cvv\src\ssqlpp11\test\ssqlpp11_test.vcxproj]
[proc] 命令“"C:\Program Files\CMake\bin\cmake.EXE" --build E:/develop/candcpp/cmakedemo/out/build/cmakemsvcvcpkg --config Debug --”已退出,代码为 1
[driver] 生成完毕: 00:00:05.995
[build] 生成已完成,退出代码为 1

@244916896
Copy link

to many bug....,I hope you write an can use demo to test this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fatal error C1083: 无法打开包括文件: “mysql.h”: No such file or directory
3 participants