Compliling C++ code, cuda 11.7, python 3.9, pytorch 1.13

This C++ code was compiling successfully on pytorch 1.4 cuda 10.1
now I got this error while I’m trying to compile the same code on pytorch 1.13 cuda 11.7

what sould be the wrong here please? is it possible to compile this code with these new versions?