c++ - namespace and vector not found with MinGW -
i getting error: 'vector' not name type
established source code. crated project netbeans ide , mingw installed via installation manager mingw-get version 0.6.2-beta-20131004-1. compiler command line is: gcc -c -g -isrc -mmd -mp -mf "build/debug/mingw-windows/src/basics.o.d" -o build/debug/mingw-windows/src/basics.o src/basics.cpp
the offending code is:
using namespace std; vector<string> listmaps() { .... }
i added
#include <vector>
which fails, guess need install additional modules mingw-get. how can identify missing installation?
Comments
Post a Comment