If you install the C ++ compiler, it will come with an implementation of the standard C ++ library, including the STL (STLPort?) You are talking about.
Xcode as well as macports gcc include this. You should not configure it as it is now.
Also note that the standard library headers do not have a suffix .h. Therefore you need
#include <vector>
source
share