Closed Nafihahmd closed 1 year ago
A simple fix for the warning
".\tensorflow/lite/c/common.h", line 849: Warning: #368-D: class "TfLiteRegistrationExternal" defines no constructor to initialize the following:
is to remove the 'const' from the 'version' member of TfLiteDelegateExternal.
For the other issues, the problem is that the C++ code that you are trying to build is written in a more modern dialect of C++ than is supported by the compiler that you are using, which is clearly pre-C++-2011 since it doesn't support 'nullptr'.
You might be able to make some progress by building with "-Dnullptr=0" in your compiler flags, and also adjusting the '#if' or '#elif' inside the definitions of TfLiteIntArray and TfLiteFloatArray in common.h to include suitable identifiers for your compiler.
Thanks a lot, the c++ compiler I am using is almost a decade old (maybe even more). Thanks for pointing me to the right direction. Let me see what I can do to solve it.
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
"This issue is being closed because it has been marked as stale for 5 days with no further activity."
I am following the Porting to a new platform guide. I created directory tree containing only the sources that are necessary to build a static library. The issue started when I tried to compile it with the armcc compiler. My makefile is as follows:
But I am getting a lot of syntax errors while making. Same errors I am getting when trying to build these files without a makefile also. The errors are:
I think I am doing something stupid somewhere. It would be very helpful if I get some direction on what is going wrong. Thanks in advance