eProsima / Fast-DDS-Gen

Fast-DDS IDL code generator tool. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
76 stars 59 forks source link

Cannot generate java binding code #370

Closed huangjie84 closed 3 days ago

huangjie84 commented 3 days ago

-replace -example CMake -flat-output-dir -d idl\ -language java D:\workspace-sim\Fast-DDS-Gen\idl\sonsor.idl when I user these params to generate for java code.there is a lot of errors, did this program support for java?

huangjie84 commented 3 days ago

the .idl file content is

module SensorDataModule {
    struct TemperatureReading {
        string location;
        double degreesCelsius;
    };

    struct HumidityReading {
        string location;
        double percentHumidity;
    };
    struct PressureReading {
        string location;
        double millibars;
    };

};
JesusPoderoso commented 3 days ago

Closing in favor of https://github.com/eProsima/Fast-DDS/discussions/5022