Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Compile error when build with Driveworks on Drive PX2 #799

Open
Torreskai0722 opened this issue Jan 1, 2022 · 2 comments
Open

Compile error when build with Driveworks on Drive PX2 #799

Torreskai0722 opened this issue Jan 1, 2022 · 2 comments

Comments

@Torreskai0722
Copy link

We have build autoware.ai on Drive PX2 with Drivework 1.2.4. However, the package autoware_driveworks_gmsl_interface, autoware_driveworks_interface has got complie errors. We cannot find dwImageFormatConverterHandle_t either on the Drive PX2 or the host machine. How can we find it and build driveworks wth autoware?

OS: Ubuntu 16.04
CUDA: 9.2
Driveworks version: 1.2.4
Autoware.ai version: 1.12.0

nvidia@tegra-ubuntu:~/autoware.ai$ AUTOWARE_COMPILE_WITH_CUDA=1 colcon build --symlink-install --packages-select autoware_driveworks_gmsl_interface autoware_driveworks_interface --cmake-args -DCMAKE_BUILD_TYPE=Release --cmake-clean-cache
Starting >>> autoware_driveworks_gmsl_interface
Starting >>> autoware_driveworks_interface                       
--- stderr: autoware_driveworks_interface                                                                                                             
9.2
aarch64
/usr/local/driveworks/lib/libdriveworks.so
TRUE
/usr/local/cuda-9.2
---
Finished <<< autoware_driveworks_interface [20.1s]
--- stderr: autoware_driveworks_gmsl_interface                               
CMake Warning (dev) at CMakeLists.txt:68 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "autoware_driveworks_gmsl_interface_node".  All uses of
  target_link_libraries with a target should be either all-keyword or
  all-plain.

  The uses of the plain signature are here:

   * /usr/share/cmake-3.5/Modules/FindCUDA.cmake:1704 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

In file included from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/SekonixGmslCamera.hpp:71:0,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/SekonixGmslCamera.cpp:37:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:95:3: error: ‘dwImageFormatConverterHandle_t’ does not name a type
   dwImageFormatConverterHandle_t yuv2rgba;
   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:142:44: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                          uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                            ^
In file included from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/SekonixGmslCamera.hpp:71:0,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/gmsl_nodelets.cpp:43:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:95:3: error: ‘dwImageFormatConverterHandle_t’ does not name a type
   dwImageFormatConverterHandle_t yuv2rgba;
   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:142:44: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                          uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                            ^
In file included from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/SekonixGmslCamera.hpp:71:0,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/gmsl_node.cpp:40:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:95:3: error: ‘dwImageFormatConverterHandle_t’ does not name a type
   dwImageFormatConverterHandle_t yuv2rgba;
   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:142:44: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                          uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                            ^
make[2]: *** [CMakeFiles/nodelet_autoware_driveworks_gmsl_interface.dir/src/gmsl_camera_multiple/SekonixGmslCamera.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/SekonixGmslCamera.hpp:71:0,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/SekonixGmslCamera.cpp:37:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:95:3: error: ‘dwImageFormatConverterHandle_t’ does not name a type
   dwImageFormatConverterHandle_t yuv2rgba;
   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:142:44: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                          uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                            ^
In file included from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:39:0:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:95:3: error: ‘dwImageFormatConverterHandle_t’ does not name a type
   dwImageFormatConverterHandle_t yuv2rgba;
   ^
make[2]: *** [CMakeFiles/autoware_driveworks_gmsl_interface_node.dir/src/gmsl_camera_multiple/gmsl_node.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:142:44: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                          uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                            ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::initSdk(dwContextObject**)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:77:25: error: ‘DW_VERSION’ was not declared in this scope
   dwInitialize(context, DW_VERSION, &sdkParams);
                         ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::initSensors(std::vector<DriveWorks::Camera>*, uint32_t*, dwSALHandle_t, DriveWorks::DeviceArguments&)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:158:43: error: ‘DW_CAMERA_PROCESSED_IMAGE’ was not declared in this scope
                                           DW_CAMERA_PROCESSED_IMAGE,
                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::initFrameImage(DriveWorks::Camera*)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:250:63: error: ‘DW_CAMERA_PROCESSED_IMAGE’ was not declared in this scope
     dwSensorCamera_getImageProperties(&cameraImageProperties, DW_CAMERA_PROCESSED_IMAGE,camera->sensor);
                                                               ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:252:28: error: ‘dwImageProperties {aka struct dwImageProperties}’ has no member named ‘pxlFormat’
     displayImageProperties.pxlFormat         = DW_IMAGE_RGBA;
                            ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:252:48: error: ‘DW_IMAGE_RGBA’ was not declared in this scope
     displayImageProperties.pxlFormat         = DW_IMAGE_RGBA;
                                                ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:253:28: error: ‘dwImageProperties {aka struct dwImageProperties}’ has no member named ‘planeCount’
     displayImageProperties.planeCount        = 1;
                            ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:256:57: error: ‘struct DriveWorks::Camera’ has no member named ‘yuv2rgba’
     result = dwImageFormatConverter_initialize(&camera->yuv2rgba, cameraImageProperties.type, sdk);
                                                         ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:256:98: error: ‘dwImageFormatConverter_initialize’ was not declared in this scope
     result = dwImageFormatConverter_initialize(&camera->yuv2rgba, cameraImageProperties.type, sdk);
                                                                                                  ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:269:75: error: ‘dwImageNvMedia_create’ was not declared in this scope
         result = dwImageNvMedia_create(&rgba, &displayImageProperties, sdk);
                                                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::threadCameraPipeline(DriveWorks::Camera*, uint32_t, dwContextHandle_t)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:393:43: error: ‘struct DriveWorks::Camera’ has no member named ‘yuv2rgba’
                             cameraSensor->yuv2rgba,
                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: At global scope:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:462:42: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                        uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                          ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘dwStatus DriveWorks::DriveWorksApi::captureCamera(dwImageNvMedia*, dwSensorHandle_t, uint32_t, uint32_t, int, uint8_t*, NvMediaIJPE*)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:475:57: error: ‘DW_CAMERA_PROCESSED_IMAGE’ was not declared in this scope
   result = dwSensorCamera_getImageNvMedia(&frameNVMyuv, DW_CAMERA_PROCESSED_IMAGE, frameHandle);
                                                         ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:481:89: error: invalid conversion from ‘int’ to ‘dwContextHandle_t {aka dwContextObject*}’ [-fpermissive]
   result = dwImageFormatConverter_copyConvertNvMedia(frameNVMrgba, frameNVMyuv, yuv2rgba);
                                                                                         ^
In file included from /usr/local/driveworks/include/dw/image/FormatConverter.h:94:0,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:74,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:39:
/usr/local/driveworks/include/dw/image/FormatConverter_vibrante.h:79:10: note:   initializing argument 3 of ‘dwStatus dwImageFormatConverter_copyConvertNvMedia(dwImageNvMedia*, const dwImageNvMedia*, dwContextHandle_t)’
 dwStatus dwImageFormatConverter_copyConvertNvMedia(dwImageNvMedia* output,
          ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::releaseCameras(DriveWorks::Camera*)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:525:51: error: ‘struct DriveWorks::Camera’ has no member named ‘yuv2rgba’
     dwImageFormatConverter_release(&cameraSensor->yuv2rgba);
                                                   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:525:59: error: ‘dwImageFormatConverter_release’ was not declared in this scope
     dwImageFormatConverter_release(&cameraSensor->yuv2rgba);
                                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:532:51: error: ‘dwImageNvMedia_destroy’ was not declared in this scope
    dwStatus result = dwImageNvMedia_destroy(&frame);
                                                   ^
make[2]: *** [CMakeFiles/nodelet_autoware_driveworks_gmsl_interface.dir/src/gmsl_camera_multiple/gmsl_nodelets.cpp.o] Error 1
In file included from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:39:0:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:95:3: error: ‘dwImageFormatConverterHandle_t’ does not name a type
   dwImageFormatConverterHandle_t yuv2rgba;
   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:142:44: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                          uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                            ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::initSdk(dwContextObject**)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:77:25: error: ‘DW_VERSION’ was not declared in this scope
   dwInitialize(context, DW_VERSION, &sdkParams);
                         ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::initSensors(std::vector<DriveWorks::Camera>*, uint32_t*, dwSALHandle_t, DriveWorks::DeviceArguments&)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:158:43: error: ‘DW_CAMERA_PROCESSED_IMAGE’ was not declared in this scope
                                           DW_CAMERA_PROCESSED_IMAGE,
                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::initFrameImage(DriveWorks::Camera*)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:250:63: error: ‘DW_CAMERA_PROCESSED_IMAGE’ was not declared in this scope
     dwSensorCamera_getImageProperties(&cameraImageProperties, DW_CAMERA_PROCESSED_IMAGE,camera->sensor);
                                                               ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:252:28: error: ‘dwImageProperties {aka struct dwImageProperties}’ has no member named ‘pxlFormat’
     displayImageProperties.pxlFormat         = DW_IMAGE_RGBA;
                            ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:252:48: error: ‘DW_IMAGE_RGBA’ was not declared in this scope
     displayImageProperties.pxlFormat         = DW_IMAGE_RGBA;
                                                ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:253:28: error: ‘dwImageProperties {aka struct dwImageProperties}’ has no member named ‘planeCount’
     displayImageProperties.planeCount        = 1;
                            ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:256:57: error: ‘struct DriveWorks::Camera’ has no member named ‘yuv2rgba’
     result = dwImageFormatConverter_initialize(&camera->yuv2rgba, cameraImageProperties.type, sdk);
                                                         ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:256:98: error: ‘dwImageFormatConverter_initialize’ was not declared in this scope
     result = dwImageFormatConverter_initialize(&camera->yuv2rgba, cameraImageProperties.type, sdk);
                                                                                                  ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:269:75: error: ‘dwImageNvMedia_create’ was not declared in this scope
         result = dwImageNvMedia_create(&rgba, &displayImageProperties, sdk);
                                                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::threadCameraPipeline(DriveWorks::Camera*, uint32_t, dwContextHandle_t)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:393:43: error: ‘struct DriveWorks::Camera’ has no member named ‘yuv2rgba’
                             cameraSensor->yuv2rgba,
                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: At global scope:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:462:42: error: ‘dwImageFormatConverterHandle_t’ has not been declared
                        uint32_t sibling, dwImageFormatConverterHandle_t yuv2rgba,
                                          ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘dwStatus DriveWorks::DriveWorksApi::captureCamera(dwImageNvMedia*, dwSensorHandle_t, uint32_t, uint32_t, int, uint8_t*, NvMediaIJPE*)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:475:57: error: ‘DW_CAMERA_PROCESSED_IMAGE’ was not declared in this scope
   result = dwSensorCamera_getImageNvMedia(&frameNVMyuv, DW_CAMERA_PROCESSED_IMAGE, frameHandle);
                                                         ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:481:89: error: invalid conversion from ‘int’ to ‘dwContextHandle_t {aka dwContextObject*}’ [-fpermissive]
   result = dwImageFormatConverter_copyConvertNvMedia(frameNVMrgba, frameNVMyuv, yuv2rgba);
                                                                                         ^
In file included from /usr/local/driveworks/include/dw/image/FormatConverter.h:94:0,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/include/DriveWorksApi.hpp:74,
                 from /home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:39:
/usr/local/driveworks/include/dw/image/FormatConverter_vibrante.h:79:10: note:   initializing argument 3 of ‘dwStatus dwImageFormatConverter_copyConvertNvMedia(dwImageNvMedia*, const dwImageNvMedia*, dwContextHandle_t)’
 dwStatus dwImageFormatConverter_copyConvertNvMedia(dwImageNvMedia* output,
          ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp: In member function ‘void DriveWorks::DriveWorksApi::releaseCameras(DriveWorks::Camera*)’:
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:525:51: error: ‘struct DriveWorks::Camera’ has no member named ‘yuv2rgba’
     dwImageFormatConverter_release(&cameraSensor->yuv2rgba);
                                                   ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:525:59: error: ‘dwImageFormatConverter_release’ was not declared in this scope
     dwImageFormatConverter_release(&cameraSensor->yuv2rgba);
                                                           ^
/home/nvidia/autoware.ai/src/drivers/awf_drivers/autoware_driveworks_gmsl_interface/src/gmsl_camera_multiple/DriveWorksApi.cpp:532:51: error: ‘dwImageNvMedia_destroy’ was not declared in this scope
    dwStatus result = dwImageNvMedia_destroy(&frame);
                                                   ^
make[2]: *** [CMakeFiles/autoware_driveworks_gmsl_interface_node.dir/src/gmsl_camera_multiple/SekonixGmslCamera.cpp.o] Error 1
make[2]: *** [CMakeFiles/nodelet_autoware_driveworks_gmsl_interface.dir/src/gmsl_camera_multiple/DriveWorksApi.cpp.o] Error 1
make[1]: *** [CMakeFiles/nodelet_autoware_driveworks_gmsl_interface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/autoware_driveworks_gmsl_interface_node.dir/src/gmsl_camera_multiple/DriveWorksApi.cpp.o] Error 1
make[1]: *** [CMakeFiles/autoware_driveworks_gmsl_interface_node.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< autoware_driveworks_gmsl_interface [22.5s, exited with code 2]

Summary: 1 package finished [24.8s]
  1 package failed: autoware_driveworks_gmsl_interface
  2 packages had stderr output: autoware_driveworks_gmsl_interface autoware_driveworks_interface
@JonasLos
Copy link

JonasLos commented Jan 8, 2022

not sure if this is the same issue but looks similiar to this issue : - https://forums.developer.nvidia.com/t/fail-to-install-autoware-with-driveworks-on-drive-px2/167148

@Torreskai0722
Copy link
Author

not sure if this is the same issue but looks similiar to this issue : - https://forums.developer.nvidia.com/t/fail-to-install-autoware-with-driveworks-on-drive-px2/167148

This issue is different with the issue. We cannot find the definition of dwImageFormatConverterHandle_t either on the Drive PX2 or the host machine.

@mitsudome-r mitsudome-r transferred this issue from autowarefoundation/autoware Mar 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants