-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to Working with the IDL compiler? #189
Comments
Hi yuedong111, If you have installed cyclonedds-python the generator py will be installed. If the command |
the cyclonedds import is ok, i successfully installed the cyclonedds-python on windows10 , that error also happens. |
Add option "-x appendable" in your command. |
I am having similar trouble getting idlpy to install on windows. No issue on Linux. if I “pip install cyclonedds” it does not generate the idlpy library. I’ve tried “pip install %USERPROFILE%\cyclonedds-python” and have similar results. I can run cyclonedds in Python without issue but generating the message from a IDL file is the problem. If I call “idlc -l py vehicle.idl” if just generates empty files. |
i use the idlc follow the doc (https://cyclonedds.io/docs/cyclonedds-python/0.10.2/idl.html)
idlc -l py hello.idl
and the content of the hello.idl as follows:
module HelloWorldData { struct Msg { @key long userID; string message; }; };
then the errors occurs:
idlc: cannot load generator py
No default extensibility provided. For one or more of the aggregated types in the IDL the extensibility is not explicitly set. Currently the default
extensibility for these types is 'final', but this may change to 'appendable' in a future release because that is the default in the DDS XTypes specification.
what is the generator py? how to install it?
The text was updated successfully, but these errors were encountered: