No, I using prebuilt binaries.
I found the root reason is that, find torch will add a flag which is:
#set(CMAKE_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=0")

Once this flag added, the ros can not built since ros relate lib will not link.
if disbale it , the libtorch will not link. error like:
undefined reference to `c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'


I am trying to built libtorch from scratch
But how to built libtorch with the new ABI? which flags should I change ??