There are lots of configuration options in the STLport, and their default values are ok in the most cases. With only one exception: the debug mode, configured with the _STLP_DEBUG macro definition.
By default it is off, and it results with failure of boost::shared_ptr debug compilation. shared_ptr library requires for the STLport debug mode to be turned on when compiling debug version.
Well, it's ok. Turning on STL debug mode during running debug configuration is good in most cases. But noone, I think, will be happy having debug mode in the release configuration.
So my first configuration change during STLport installation is:
#ifdef _DEBUG #define _STLP_DEBUG 1 #endif
Wondering why it's not the default.