Closed chiehpower closed 4 years ago
I use the java-1.8.0-openjdk-amd64
to solve the problem!
sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
make
sudo make install
Hi all,
I downloaded the version (1.4.0), but still got error on make step.
Here is my error message.
[ 0%] Built target lcm_use_file [ 7%] Built target lcm [ 14%] Built target lcm-static [ 21%] Built target lcm-gen [ 22%] Built target lcm-logplayer [ 24%] Built target lcm-logger [ 25%] Built target lcm-sink [ 27%] Built target lcm-tester [ 28%] Built target lcm-logfilter [ 29%] Built target lcm-source [ 31%] Built target lcm-buftest-sender [ 32%] Built target lcm-buftest-receiver [ 33%] Built target lcm-example [ 33%] Built target lcm-logplayer-gui-alias [ 34%] Built target jchart2d [ 36%] Built target lcm-java [ 37%] Built target lcm-python-init [ 40%] Built target lcm-python [ 45%] Built target lcm-lua [ 46%] Built target gtest [ 47%] Built target gtest_main [ 54%] Built target lcm-test-types-c.sources [ 67%] Built target lcm-test-types-c [ 75%] Built target lcm-test-types-java [ 77%] Built target test-c-server [ 79%] Built target test-c-client [ 81%] Built target test-c-eventlog_test [ 83%] Built target test-c-udpm_test [ 84%] Built target test-c-memq_test [ 90%] Built target lcm-test-types-cpp.sources [ 92%] Built target test-cpp-memq_test [ 94%] Built target test-cpp-client [ 96%] Built target hamcrest-core [ 98%] Built target junit [ 99%] Building Java objects for lcm-test-java.jar lcmtest/LcmTestClient.java:12: 错误: 无法访问primitives_t import lcmtest.primitives_t; ^ 错误的类文件: /home/xian/libex/lcm/build/test/types/lcm-test-types.jar(lcmtest/primitives_t.class) 类文件具有错误的版本 55.0, 应为 52.0 请删除该文件或确保该文件位于正确的类路径子目录中。 make[2]: *** [test/java/CMakeFiles/lcm-test-java.dir/build.make:74:test/java/CMakeFiles/lcm-test-java.dir/java_compiled_lcm-test-java] 错误 1 make[1]: *** [CMakeFiles/Makefile2:1661:test/java/CMakeFiles/lcm-test-java.dir/all] 错误 2 make: *** [Makefile:163:all] 错误 2
Is there any idea for this?
Thank you
Hi all,
I downloaded the latest version (1.4.0), and I can successfully cmake step. However, I got error on make step. Here is my error message.
Is there any idea for this?
Thank you