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

[ABSL] #17633

Closed
sodmlx2 opened this issue Sep 20, 2023 · 4 comments
Closed

[ABSL] #17633

sodmlx2 opened this issue Sep 20, 2023 · 4 comments
Labels
build build issues; typically submitted using template platform:windows issues related to the Windows platform

Comments

@sodmlx2
Copy link

sodmlx2 commented Sep 20, 2023

Describe the issue

Hi!

Im using VCPKG for deps..

Urgency

No response

Target platform

Windows 11

Build script

When i compile onnxruntime with this parameters:

.\build.bat --config=Debug --enable_msvc_static_runtime
--minimal_build --disable_ml_ops
--disable_exceptions --disable_rtti
--skip_tests `

Error / output

This error:
C:\dev\vcpkg\installed\x64-windows\include\absl/container/internal/raw_hash_set.h(2362,30): error C2665: 'absl::lts_20230802::container_internal::StringHas
h::operator ()': nenhuma função sobrecarregada pode converter todos os tipos de argumento (compilando arquivo de origem C:\Users\marco.silva\onnxruntime\on
nxruntime\core\providers\cpu\math\cumsum.cc) [C:\Users\marco.silva\onnxruntime\build\Windows\Debug\onnxruntime_providers.vcxproj]

Visual Studio Version

No response

GCC / Compiler Version

No response

@sodmlx2 sodmlx2 added the build build issues; typically submitted using template label Sep 20, 2023
@github-actions github-actions bot added the platform:windows issues related to the Windows platform label Sep 20, 2023
@sodmlx2 sodmlx2 changed the title [Build] [ABSL] Sep 20, 2023
@snnn
Copy link
Member

snnn commented Sep 20, 2023

Do not use the absl from vcpkg.

@snnn snnn closed this as completed Sep 20, 2023
@snnn
Copy link
Member

snnn commented Sep 20, 2023

Please try to build it in an environment without vcpkg.

@sodmlx2
Copy link
Author

sodmlx2 commented Sep 21, 2023

It is working fine!
thanks!

@snnn
Copy link
Member

snnn commented Jun 6, 2024

#20962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template platform:windows issues related to the Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants