ApexAI / performance_test

**This project is deprecated** Go to https://gitlab.com/ApexAI/performance_test
64 stars 41 forks source link

Could not find program 'fastrtpsgen' in path #72

Closed chaoli2 closed 5 years ago

chaoli2 commented 5 years ago

When I build this package on Ubuntu, I got this error. Here is my environment. Is there anyone can help? Thanks in advance.

OS: Ubuntu 18.04.1 ROS2 Distribution: Dashing

[0.3s] [0/1 complete] [performance_test:cmake - 0.2s]
--- stderr: performance_test
CMake Warning at src/idlgen/fast_rtps/CMakeLists.txt:69 (message):
  Could not find program 'fastrtpsgen' in path.  Trying to use bundled
  version

/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 14: exec: java: not found
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 14: exec: java: not found
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 7: /home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: java: not found
make[2]: *** [src/idlgen/fast_rtps/gen/fast_rtps/Vector3_PubSubTypes.h] Error 127
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 7: /home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: java: not found
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/idlgen/fast_rtps/gen/fast_rtps/Header_PubSubTypes.h] Error 127
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 14: exec: java: not found
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 7: /home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: java: not found
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 14: exec: java: not found
make[2]: *** [src/idlgen/fast_rtps/gen/fast_rtps/Time_PubSubTypes.h] Error 127
/home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: 7: /home/intel/Templates/perf_test/src/performance_test/performance_test/bin/fastrtpsgen: java: not found
make[2]: *** [src/idlgen/fast_rtps/gen/fast_rtps/Array1k_PubSubTypes.h] Error 127
make[1]: *** [src/idlgen/fast_rtps/CMakeFiles/fast_rtps_idl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
---
Failed   <<< performance_test   [ Exited with code 2 ]
esteve commented 5 years ago

@chaoli2 thanks for trying out performance_test. We've updated the instructions (thanks @alsora) and added a couple of missing dependencies (namely Boost and Java). Could give them a try (https://github.com/ApexAI/performance_test#building-and-running-performance-test) and see if performance_test builds for you? Thanks.

chaoli2 commented 5 years ago

@esteve Thanks very much. It works in my Ubuntu 1804+ROS2 Dashing environment. Are these dependencies necessary for Ubuntu 1604 and ROS2 Crystal?

esteve commented 5 years ago

@chaoli2 we no longer support Crystal because of some API changes. Given that Dashing is the first LTS release that will be supported for five years, we thought it'd be best to move forward and support it, even if it meant removing support for Crystal.

chaoli2 commented 5 years ago

@esteve
Got it. Thanks for your information.