Skip to content

Error compiling astra_camera feature package for riscv64 architecture host #10

@chenzhaoqiJM

Description

@chenzhaoqiJM

Error message:
/home/zq-pi9/wheeltec_ws/src/ros2_astra_camera/astra_camera/include/openni2/OniPlatform.h:68:26: note: in expansion of macro ‘ONI_C_API_IMPORT’
68 | # define ONI_C_API ONI_C_API_IMPORT
| ^~~~~~~~~~~~~~~~
/home/zq-pi9/wheeltec_ws/src/ros2_astra_camera/astra_camera/include/openni2/OniCAPI.h:68:1: note: in expansion of macro ‘ONI_C_API’
68 | ONI_C_API const OniSensorInfo* oniDeviceGetSensorInfo(OniDeviceHandle device, OniSensorType sensorType);
| ^~~~~~~~~
/home/zq-pi9/wheeltec_ws/src/ros2_astra_camera/astra_camera/include/openni2/OniPlatform.h:56:39: error: ‘ONI_API_IMPORT’ does not name a type; did you mean ‘ONI_C_API_IMPORT’?
56 | # define ONI_C_API_IMPORT ONI_C ONI_API_IMPORT

I observed some architecture-specific dynamic link libraries in openni2_redist folder, how do I adapt them for riscv64?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions