CMake Build Issues with Protobuf while Cross Compiling
Hello, I am attempting to crosscompile Pulse for Android. I followed the instructions using Dockcross for arm-64 and x86 and received issues in the build step while generating the protobuf classes. I am building on centos-7. For the arm-64 I receive an error saying there is a syntax error in the proto file. /work/pulse_build/External/protobuf/install/bin/protoc-3.18.0.0: 1: Syntax error: ";" unexpected
For the x86 build I receive no error initially until I add in the return value in the CMakeLists. I then get this error: rv='No such file or directory'
In both cases, I can see and confirm that protobuf built correctly from the superbuild. These builds then fail unable to locate the generated protobuf classes for compiling.
When I build locally following the readme instructions, I have no problem building. Any advice on how to get the build for android working correctly?