cudaTypedefs.h not found!

I don’t know why I get the fatal error: cudaTypedefs.h: No such file or directory error. I’m using the following command to compile my code:

nvcc -lcuda -lineinfo -o thrd thrd.cu

I used to compile my code with no problem a few months ago, but it’s not working now. I upgraded to CUDA 11.7 recently, but I’m not sure if this would be the problem or not.

Edit 1: I use Ubuntu 20.04