C++ compile error: has initializer but incomplete type December 16, 2022 by Tarik You need this include: #include <sstream>