Open SheldonWBM opened 9 months ago
looks like a bug in the cuda_gl_interop.h distributed on your system? what if you apply this patch?
diff --git a/src/dark_cuda.h b/src/dark_cuda.h
index ffe3836b..fad213c1 100644
--- a/src/dark_cuda.h
+++ b/src/dark_cuda.h
@@ -34,7 +34,7 @@ extern int gpu_index;
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif // _WIN32
-
+#include <GL/gl.h>
#include <cuda_gl_interop.h>
#endif // CUDA_OPENGL_INTEGRATION
//#include <driver_types.h>
I am trying to use the latest version (commit: 27b37bf) of Darknet on the Jetson Xavier AGX.
Upgraded both CUDA and OpenCV (as per the above screenshots). When I try to build, using
cmake
, I have the following error.I also have an error when I try
make
. I have tried both within a docker container and directly on the host.The previous version of darknet, commit: 59c8622, is still working properly (in a docker container with cuda 11.7).