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
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.