eclipse-kuksa / kuksa.val.feeders

kuksa.val.feeders
Apache License 2.0
8 stars 22 forks source link

build dds-provider fail #159

Closed TTT-MAC closed 11 months ago

TTT-MAC commented 11 months ago

Excuse me,When I tried to build the dds provider locally, Run "idlc -l py -I std_msgs/msg -x final NavStatFix.idl" in the generate_py_dataclass.sh file,Alerts me to idlc tool-related issues,Where do I get the idlc tool to convert *.idl files to python files? Are there any recommended open source tools?

best regards.

lukasmittag commented 11 months ago

Hey, have you done these steps from https://github.com/eclipse/kuksa.val.feeders/tree/main/dds2val readme?

chmod u+x ddsproviderlib/idls/generate_py_dataclass.sh
./ddsproviderlib/idls/generate_py_dataclass.sh
erikbosch commented 11 months ago

You can compare with how continuous integration is setup:

    - name: Run dds tests
      run: |
        cd dds2val
        # Note - if relying on kuksa-client pre-releases you must use --pre on the line below
        pip3 install --no-cache-dir -r requirements/requirements.txt -r requirements/requirements-kml.txt -r requirements/requirements-test.txt
        ./ddsproviderlib/idls/generate_py_dataclass.sh
        python -m pytest tests/*

It is cyclonedds that provides idlc in CI, added by requirements.txt

TTT-MAC commented 11 months ago

Okay,Problem solved, thank you for your reply!

best regards!

lukasmittag commented 11 months ago

closing since solved :)