Hi Imx8mp,
I Have a question for you regarding c++ standard headers.
We have setup a development environment with Eclipse cross compiling and we are working with C projects without problems. Now we try to integrate a c++ component, and we have problems cross compiling the code for the imx8mp platform. It doesn’t seams that the SDK include the C++ standard headers like <iostream>.
15:52:32 **** Rebuild of configuration Debug for project hello_world ****
Info: Internal Builder is used for build
aarch64-fslc-linux-g++ -std=c++17 -O0 -g3 -Wall -c -fmessage-length=0 -o src/hello_world.o ../src/hello_world.cpp
../src/hello_world.cpp:9:10: fatal error: iostream: No such file or directory
9 | #include <iostream>
| ^~~~~~~~~~
compilation terminated.
15:52:33 Build Failed. 1 errors, 0 warnings. (took 620ms)
Do we need to build the kernel with implicit c++ headers support? How do we do that?
Thank you for your help
Zohar