Arrrgh! I have played with it for five hours, trying to get it to work. First, wasted four hours trying to compile the iostream library - WHAT A PITA!!!! And even after all that pain, I was still unsuccessful, as it refused to link in the appropriate symbols. It may have been my path settings, but everything looked right!
Finally gave up on that, and just did the minimal install. Recompiled my project, and got one of the longest error messages I have ever seen:
C:\Program Files\Programming\STLport-4.6.2\stlport\stl\_tree.h(245) : error C2668: 'std::_Construct' : ambiguous call to overloaded function
C:\Program Files\Programming\MS Visual Toolkit\include\xmemory(40): could be 'void std::_Construct<_Value,_STL::_Rb_tree<_Key,_Value,_KeyOfValue,_Compare,_Alloc>::value_type>(_T1 *,const _T2 &)' [found using argument-dependent lookup]
with
[
_Value=_STL::map<int,const wString>::value_type,
_Key=_STL::map<int,const wString>::key_type,
_KeyOfValue=_STL::_Select1st<_STL::map<int,const wString>::value_type>,
_Compare=_STL::map<int,const wString>::key_compare,
_Alloc=_STL::allocator<_STL::pair<const int,const wString>>,
_T1=_STL::map<int,const wString>::value_type,
_T2=_STL::_Rb_tree<_STL::map<int,const wString>::key_type,_STL::map<int,const wString>::value_type,_STL::_Select1st<_STL::map<int,const wString>::value_type>,_STL::map<int,const wString>::key_compare,_STL::allocator<_STL::pair<const int,const wString>>>::value_type
]
C:\Program Files\Programming\STLport-4.6.2\stlport\stl\_construct.h(93): or 'void _STL::_Construct<_Value,_STL::_Rb_tree<_Key,_Value,_KeyOfValue,_Compare,_Alloc>::value_type>(_T1 *,const _T2 &)'
with
[
_Value=_STL::map<int,const wString>::value_type,
_Key=_STL::map<int,const wString>::key_type,
_KeyOfValue=_STL::_Select1st<_STL::map<int,const wString>::value_type>,
_Compare=_STL::map<int,const wString>::key_compare,
_Alloc=_STL::allocator<_STL::pair<const int,const wString>>,
_T1=_STL::map<int,const wString>::value_type,
_T2=_STL::_Rb_tree<_STL::map<int,const wString>::key_type,_STL::map<int,const wString>::value_type,_STL::_Select1st<_STL::map<int,const wString>::value_type>,_STL::map<int,const wString>::key_compare,_STL::allocator<_STL::pair<const int,const wString>>>::value_type
]
It goes on for another four pages after that clipping. This comes about from one of three declarations in the file being compiled at the time:
std::set<int> releasedNums; //probably not it
or
typedef std::map<int, const wString> ToolTipCaption; //where 'wString' is: 'typedef std::basic_string<TCHAR> wString;
or
typedef std::map<int, WinPopupCallback*> PopupCallBack;
PopupCallBack listC;
[edit] It is probably the last one.[/edit] This worked in BCB, Dev-C++, and VS. Just not here. So I go about removing the stlport directory from the directory options...
Leaves a bad taste in my programming brain, even though I've heard it bragged about extensively.
David