For FRTPS on ros2 is JDK and gradle installation mandetory for compilation of source code?
I am trying to compile the simple c++ code which publish the message using fastrtpsgen command. For example, fastrtpsgen HelloWorld.idl
This is output:
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
Loading templates...
Processing the file HelloWorld.idl...
cpp: error: HelloWorld.idl: No such file or directory
cpp: warning: ā-x cā after last input file has no effect
cpp: fatal error: no input files
compilation terminated.
ERROR<callPreprocessor>: Preprocessor return an error 1
Asked by prajyot on 2019-06-07 08:08:32 UTC
Answers
Afaik, if you're not using the ROS 2 message generation infrastructure, you'll have to follow the regular setup and installation instructions for FastRTPS. Those include installing a JDK if I remember correctly.
This is not really a ROS related issue though and this forum is trying to focus on ROS Q&A only.
It might be better to ask the FastRTPS maintainers this question.
Asked by gvdhoorn on 2019-06-07 09:19:05 UTC
Comments
Question answered? Could you please mark the question as answered by ticking the checkmark (ā) to the left of the answer if you feel it has been answered? Thanks.
Asked by gvdhoorn on 2019-06-10 06:57:24 UTC