Dear all,
I’m getting below error while doing cross compilation in Nvidia neousys, can anyone help me to resolve this
Error:
/usr/local/driveworks/samples/src/dwchannel/CustomRawBuffer.cpp: In member function ‘virtual void CustomRawBufferNvSciPacket::initializeFromNvSciBufObjs(dw::core::span<NvSciBufObjRefRec*>)’:
/usr/local/driveworks/samples/src/dwchannel/CustomRawBuffer.cpp:242:62: error: ‘cudaExternalMemoryHandleTypeNvSciBuf’ was not declared in this scope; did you mean ‘cudaExternalMemoryHandleTypeOpaqueFd’?
242 | cudaMemHandleDesc.type = cudaExternalMemoryHandleTypeNvSciBuf;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cudaExternalMemoryHandleTypeOpaqueFd
/usr/local/driveworks/samples/src/dwchannel/CustomRawBuffer.cpp:243:38: error: ‘union cudaExternalMemoryHandleDesc::’ has no member named ‘nvSciBufObject’
243 | cudaMemHandleDesc.handle.nvSciBufObject = m_bufferPtrBufObj;
| ^~~~~~~~~~~~~~
make[2]: *** [src/dwchannel/CMakeFiles/sample_cgf_dwchannel.dir/build.make:63: src/dwchannel/CMakeFiles/sample_cgf_dwchannel.dir/CustomRawBuffer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3368: src/dwchannel/CMakeFiles/sample_cgf_dwchannel.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Attached image file below: