2023-12-27, 23:00
hi,
Im trying to compile a build for android ARM following the github docs. Im stuck at the last step of 7, however, once I run the last make command I get an error shown below. Help would be very much appreciated.
/home/boaz/kodi-build/build/flatc/src/flatc/include/flatbuffers/flatbuffers.h:357:66: error: ‘Data’ was not declared in this scope
const T *data() const { return reinterpret_cast<const T *>(Data()); }
^
CMakeFiles/flatc.dir/build.make:215: recipe for target 'CMakeFiles/flatc.dir/src/idl_gen_ts.cpp.o' failed
make[5]: *** [CMakeFiles/flatc.dir/src/idl_gen_ts.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/flatc.dir/all' failed
make[4]: *** [CMakeFiles/flatc.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/flatc.dir/build.make:85: recipe for target 'build/flatc/src/flatc-stamp/flatc-build' failed
make[2]: *** [build/flatc/src/flatc-stamp/flatc-build] Error 2
CMakeFiles/Makefile2:4609: recipe for target 'CMakeFiles/flatc.dir/all' failed
make[1]: *** [CMakeFiles/flatc.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
Im trying to compile a build for android ARM following the github docs. Im stuck at the last step of 7, however, once I run the last make command I get an error shown below. Help would be very much appreciated.
/home/boaz/kodi-build/build/flatc/src/flatc/include/flatbuffers/flatbuffers.h:357:66: error: ‘Data’ was not declared in this scope
const T *data() const { return reinterpret_cast<const T *>(Data()); }
^
CMakeFiles/flatc.dir/build.make:215: recipe for target 'CMakeFiles/flatc.dir/src/idl_gen_ts.cpp.o' failed
make[5]: *** [CMakeFiles/flatc.dir/src/idl_gen_ts.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/flatc.dir/all' failed
make[4]: *** [CMakeFiles/flatc.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/flatc.dir/build.make:85: recipe for target 'build/flatc/src/flatc-stamp/flatc-build' failed
make[2]: *** [build/flatc/src/flatc-stamp/flatc-build] Error 2
CMakeFiles/Makefile2:4609: recipe for target 'CMakeFiles/flatc.dir/all' failed
make[1]: *** [CMakeFiles/flatc.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2