ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

rosjava compilation error

asked 2012-06-26 17:42:54 -0600

updated 2012-06-26 18:04:06 -0600

while compiling recent rosjava_core library following error was encountered.

Building > :apache_xmlrpc_server:compileJava > Resolving dependencies ':apache_xmlrpc_server:compil:apache_xmlrpc_server:compileJava Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :apache_xmlrpc_server:processResources UP-TO-DATE :apache_xmlrpc_server:classes :apache_xmlrpc_server:jar :apache_xmlrpc_server:install :rosjava_bootstrap:compileJava UP-TO-DATE :rosjava_bootstrap:processResources UP-TO-DATE :rosjava_bootstrap:classes UP-TO-DATE :rosjava_bootstrap:jar :rosjava_messages:generateSources :rosjava_messages:compileJava /home/pragyan/Techiome/rosjava_core/rosjava_messages/build/generated-src/test_rosjava_jni/TestDataTypes.java:52: getByte() is already defined in test_rosjava_jni.TestDataTypes
std_msgs.Byte getByte(); ^ /home/pragyan/Techiome/rosjava_core/rosjava_messages/build/generated-src/test_rosjava_jni/TestDataTypes.java:54: getByteV() is already defined in test_rosjava_jni.TestDataTypes
java.util.List<std_msgs.byte> getByteV(); ^ 2 errors

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':rosjava_messages:compileJava'.

    Compilation failed; see the compiler error output for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 57.017 secs

any clue how to resolve this? I m using ubuntu 10.10 over electric distribution of ROS.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-02 23:03:40 -0600

damonkohler gravatar image
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-26 17:42:54 -0600

Seen: 318 times

Last updated: Jul 02 '12