I’m trying to build a training program with libtorch and libboost. But it seems libtorch has conflicts with libboost. The following example has segmentation fault at libtorch’s both CPU version and CUDA version. Here are files. Did I make any mistake in CMakelists?
Apache arrow also has similar issues. It will have compile errors when I import “torch/torch.h” and arrow related header files together.