Compiling on Raspberry Pi - Error: Could not find protoc-3.17.3-linux-arm_32.exe

Tom4 years ago

Hi,
I made some changes in the FreematicsProtocolDecoder.java (changes from https://github.com/soshial/traccar/commit/79b6266a6079256028cb80e7b1ea5bf1e976a56d) and now I'm traying to compile it.
I use ./gradlew assemble as described on the traccar github page, but I get the error:

=========================================================
> Task :generateProto FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateProto'.
> Could not resolve all files for configuration ':protobufToolsLocator_protoc'.
   > Could not find protoc-3.17.3-linux-arm_32.exe (com.google.protobuf:protoc:3.17.3).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.17.3/protoc-3.17.3-linux-arm_32.exe
===========================================================================

I find no way to get rid of this error....

Anybody an idea??

Thanks
Tom

Anton Tananaev4 years ago

Looks like ARM compiler for proto is missing. Try compiling it on a non-ARM machine.

Anton Tananaev4 years ago

After a bit more investigation, there is an ARM64 version of the compiler, but not ARM32, from what I can tell.

Tom4 years ago

thanks for your Info!

Will give it a try on my windows system....

Tom