Libcxx with Itanium ABI in windows gives link error for exception and std::cout (original) (raw)
April 13, 2025, 11:24pm 1
After lot of trial and error, I was able to build unwind, libcxxabi and libcxx on windows with Itanium enabled. However when I try to compile a simple program with std::cout and std::print I get these errors.
[build] lld-link: error: undefined symbol: __declspec(dllimport) class std::__1::basic_ostream<char, struct std::__1::char_traits<char>> std::__1::cout
[build] >>> referenced by D:\codes\itanium_test\main.cpp:8
I am linking c++.lib.
Anyone here have successfully built and used Itanium C++ ABI in windows?
Thanks.