ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[Preliminary] It seems that I have found a solution/reason, and it is directly torch related.

If using gcc>=5.1, you have to use a cxx11 ABI version of the LibTorch package. Otherwise, you cannot linked the libraries.

It is explained here: https://discuss.pytorch.org/t/issues-linking-with-libtorch-c-11-abi/29510/11, and https://github.com/pytorch/pytorch/issues/17492.

I'll update this answer in the next few hours when I test the entire stack.

[Preliminary] It seems that I have found a solution/reason, and it is directly torch related.

If When using gcc>=5.1, gcc>=5.1 (as in Ubuntu 20.4/ROS Noetic), you have to use a cxx11 ABI version of the LibTorch package. Otherwise, you cannot linked link the libraries.

It is explained here: https://discuss.pytorch.org/t/issues-linking-with-libtorch-c-11-abi/29510/11, and https://github.com/pytorch/pytorch/issues/17492.

I'll update this answer in the next few hours when I test the entire stack.

[Preliminary] It seems that I have found a solution/reason, and it is directly torch related.

When using gcc>=5.1 (as in Ubuntu 20.4/ROS Noetic), you have to use a cxx11 ABI version of the LibTorch package. Otherwise, you cannot link the libraries.

It is explained here: https://discuss.pytorch.org/t/issues-linking-with-libtorch-c-11-abi/29510/11, and https://github.com/pytorch/pytorch/issues/17492.

I'll update this answer in the next few hours when I test the entire stack.

[Preliminary] It seems that I have found a solution/reason, and it is directly torch related.

When using gcc>=5.1 (as in Ubuntu 20.4/ROS Noetic), you have to use a cxx11 ABI version of the LibTorch package. Otherwise, you cannot link the libraries.

It is explained here: https://discuss.pytorch.org/t/issues-linking-with-libtorch-c-11-abi/29510/11, and https://github.com/pytorch/pytorch/issues/17492.

I'll update this answer in the next few hours when I test the entire stack.

I have found a solution/reason, solution, and it is directly torch related.

When using gcc>=5.1 (as in Ubuntu 20.4/ROS Noetic), you have to use a cxx11 ABI version of the LibTorch package. Otherwise, you cannot link the libraries.

It is explained here: https://discuss.pytorch.org/t/issues-linking-with-libtorch-c-11-abi/29510/11, and https://github.com/pytorch/pytorch/issues/17492.