09-30-2017 02:42 PM
@jianmingli1 the libraries you want (iostream, fstream etc.) come from the standard C++ library. There is no reason to add them, they are linked automatically. Just make sure you're creating a C++ project. If in doubt create a new C++ project from scratch and try.
11-14-2018 05:56 PM
I have the same problem and already made sure the project I created is C++:
arm-linux-gnueabihf-g++ -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/main.o" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.cc"
11-15-2018 08:28 AM
Can you please post your entire file content here ?