Problem using abseil with libtorch #1446
zizhang-qiu
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the issue
If i use abseil and libtorch together, and use the function like StrAppend, the build will fail and give errors like
Steps to reproduce the problem
My Cmakelist is like
The file
absl_simple_tests.h
isThe file
main.cpp
is likeIf i build this, I will get errors:
I have tested libtorch and abseil seperately, they all worked successfully.
The libtorch is just torch2.0.
What version of Abseil are you using?
d722803
What operating system and version are you using?
ubuntu22.04
What compiler and version are you using?
gcc 11.3.0
What build system are you using?
cmake 3.25.2
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions