Can you post the contents of my-camera.cpp and the results of make VERBOSE=1 ?
It is not finding the definition of detectNet class. Is there an #include “detectNet.h” or #include <jetson-inference/detectNet.h>?
The new CMakeLists also does not have these:
find_package(jetson-utils)
find_package(jetson-inference)