This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error when including TensorFlow lite library to SES project

I am trying to add the tensorflow lite to a segger project. I am startting with the simplest project https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/hello_world and trying to add to an already working SES project.

As stated in the TensorFlow lite website (https://www.tensorflow.org/lite/microcontrollers) it has dependency to c++11 STL standard library.

However, SES allows installing STLport library. 

Therefore, there are discrepancies between these two libraries and they are not compatible.

For example, when I am trying to compile my project when only the header files of the library are added, I have the following error:

```

initializer_list: no such file or directory

```

(this file exists in C++11 STL library but not in STLport library)

The questions are:

1 - if there are any way to install the c++11 STL standard library instead of STLport library?

2 - If not to (1), is there anyway to install some custom STLport library like the one provided here in https://github.com/LADSoft/OrangeC/tree/master/src/clibs/cpp/STLport-5.2.1/stlport ?

3- what if we use Arduino IDE instead of SES, since there are examples in which the boards are similar to nrf boards and they are working with Arduino IDE. Should we change the project code avaiable in order to be able to correctly flash it on the board with Arduino IDE, or it is possible without any changes?

Parents Reply Children
Related