DeepStream-Yolo
DeepStream-Yolo copied to clipboard
/usr/include/x86_64-linux-gnu/NvInferImpl.h:1065:13: error: 'cudaStream_t' does not name a type; did you mean 'cudaArray_t'?
CUDA_VER=11.8 make -C nvdsinfer_custom_impl_Yolo
cmake version 3.16.3
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
deepstream: 6.2
/usr/include/x86_64-linux-gnu/NvInferImpl.h:329:40: error: 'cudaEvent_t' has not been declared
329 | virtual bool setInputConsumedEvent(cudaEvent_t event) noexcept = 0;
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferImpl.h:330:13: error: 'cudaEvent_t' does not name a type
330 | virtual cudaEvent_t getInputConsumedEvent() const noexcept = 0;
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferImpl.h:337:28: error: 'cudaStream_t' has not been declared
337 | virtual bool enqueueV3(cudaStream_t stream) noexcept = 0;
| ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferImpl.h:1064:41: error: 'cudaStream_t' does not name a type; did you mean 'cudaArray_t'?
1064 | virtual void setProfileStream(const cudaStream_t stream) noexcept = 0;
| ^~~~~~~~~~~~
| cudaArray_t
/usr/include/x86_64-linux-gnu/NvInferImpl.h:1065:13: error: 'cudaStream_t' does not name a type; did you mean 'cudaArray_t'?
1065 | virtual cudaStream_t getProfileStream() const noexcept = 0;
| ^~~~~~~~~~~~
| cudaArray_t
In file included from /usr/include/x86_64-linux-gnu/NvInfer.h:17,
from utils.h:36,
from utils.cpp:26:
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:488:75: error: 'cudaStream_t' has not been declared
488 | void const* const* inputs, void* const* outputs, void* workspace, cudaStream_t stream) noexcept = 0;
| ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:538:71: error: 'cudaStream_t' has not been declared
538 | int32_t enqueue(int32_t, void const* const*, void* const*, void*, cudaStream_t) noexcept override final
| ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:2306:51: error: 'cudaStream_t' has not been declared
2306 | int32_t batchSize, void* const* bindings, cudaStream_t stream, cudaEvent_t* inputConsumed) noexcept
| ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:2306:72: error: 'cudaEvent_t' has not been declared
2306 | int32_t batchSize, void* const* bindings, cudaStream_t stream, cudaEvent_t* inputConsumed) noexcept
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:2814:58: error: 'cudaStream_t' has not been declared
2814 | TRT_DEPRECATED bool enqueueV2(void* const* bindings, cudaStream_t stream, cudaEvent_t* inputConsumed) noexcept
| ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:2814:79: error: 'cudaEvent_t' has not been declared
2814 | TRT_DEPRECATED bool enqueueV2(void* const* bindings, cudaStream_t stream, cudaEvent_t* inputConsumed) noexcept
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:2861:60: error: 'cudaStream_t' has not been declared
2861 | bool setOptimizationProfileAsync(int32_t profileIndex, cudaStream_t stream) noexcept
| ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:3065:32: error: 'cudaEvent_t' has not been declared
3065 | bool setInputConsumedEvent(cudaEvent_t event) noexcept
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:3075:5: error: 'cudaEvent_t' does not name a type
3075 | cudaEvent_t getInputConsumedEvent() const noexcept
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:3173:20: error: 'cudaStream_t' has not been declared
3173 | bool enqueueV3(cudaStream_t stream) noexcept
| ^~~~~~~~~~~~
In file included from utils.h:36,
from utils.cpp:26:
/usr/include/x86_64-linux-gnu/NvInfer.h:8962:33: error: 'cudaStream_t' does not name a type; did you mean 'cudaArray_t'?
8962 | void setProfileStream(const cudaStream_t stream) noexcept
| ^~~~~~~~~~~~
| cudaArray_t
/usr/include/x86_64-linux-gnu/NvInfer.h:8974:5: error: 'cudaStream_t' does not name a type; did you mean 'cudaArray_t'?
8974 | cudaStream_t getProfileStream() const noexcept
| ^~~~~~~~~~~~
| cudaArray_t
make: *** [Makefile:81: utils.o] Error 1
There's a compability issue in your setup. Please follow this for dGPU installation: https://github.com/marcoslucianops/DeepStream-Yolo/blob/master/docs/dGPUInstalation.md