Which lib should I include to be able to use SimpleHexAtoi? #1714
Replies: 2 comments 1 reply
-
You need to link |
Beta Was this translation helpful? Give feedback.
-
I tried to build this library as a dll and saw that SimpleHexAtoi does not exist in the .def file, so it is not exported. Moreover, I would move its implementation from .h to .cc and remove "inline". What do you think? Is there any unit test for calling SimpleHexAtoi from a lib or dll? |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for a great library!
I'm trying to use SimpleHexAtoi() for int128, but get the following error message:
Severity Code Description Project File Line Suppression State Details Error LNK2019 unresolved external symbol "bool __cdecl absl::numbers_internal::safe_strto128_base(class std::basic_string_view<char,struct std::char_traits<char> >,class absl::int128 *,int)" (?safe_strto128_base@numbers_internal@absl@@YA_NV?$basic_string_view@DU?$char_traits@D@std@@@std@@PEAVint128@2@H@Z) referenced in function "bool __cdecl absl::SimpleHexAtoi(class std::basic_string_view<char,struct std::char_traits<char> >,class absl::int128 *)" (?SimpleHexAtoi@absl@@YA_NV?$basic_string_view@DU?$char_traits@D@std@@@std@@PEAVint128@1@@Z) floating_point
Currently I included:
I'm using VS2022. Please help!
Thanks,
Slava
Beta Was this translation helpful? Give feedback.
All reactions