Compilation of the generated alexnet via matlab using ROS

Hello everyone. I am trying to build a package from an example matlab: However, I get a strange error when using catkin_make : nvcc fatal : Don’t know what to do with ‘/usr/lib/x86_64-linux-gnu/’ . I get the same error on jetson nano. Please tell me where the possible source of the problem is.