www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - [Pantheios] VC8 Building Failure

reply Felix Gartsman <garisman netvision.net.il> writes:
Hello,
I downloaded pantheios-1.0.1-beta2 with stlsoft-1.9.1-beta20 and tried 
to build pantheios with the vc8 makefile, but the build failed with this:

	cl  -nologo -c -W4 -wd4800 -WX  -O1  -GR -EHsc -MTd -D_DEBUG -Zi 
-Fd.\pantheios_appl.mt.debug.pdb  -DWIN32 -DPANTHEIOS_NO_AUTO_INIT 
-I..\..\include  -I"C:\Libs\stlsoft-1.9.1-beta20\include" 
-Fo.\pantheios_appl.mt.debug.obj ..\..\src\pantheios_appl.cpp
pantheios_appl.cpp
	cl  -nologo -c -W4 -wd4800 -WX  -O1  -GR -EHsc -MTd -D_DEBUG -Zi 
-Fd.\pantheios_core.mt.debug.pdb  -DWIN32 -DPANTHEIOS_NO_AUTO_INIT 
-I..\..\include  -I"C:\Libs\stlsoft-1.9.1-beta20\include" 
-Fo.\pantheios_core.mt.debug.obj ..\..\src\pantheios_core.cpp
pantheios_core.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
deduce template argument for 'const 
std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(151) : see declaration of 'std::operator <'
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\xutility(1368) : see reference to function template 
instantiation 'void std::_Debug_range2<_InIt>(_RanIt,_RanIt,const 
wchar_t *,unsigned int,std::random_access_iterator_tag)' being compiled
         with
         [
             _InIt=stlsoft::member_selector_iterator<const 
pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>,
             _RanIt=stlsoft::member_selector_iterator<const 
pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\numeric(21) : see reference to function template 
instantiation 'void std::_Debug_range<_InIt>(_InIt,_InIt,const wchar_t 
*,unsigned int)' being compiled
         with
         [
             _InIt=stlsoft::member_selector_iterator<const 
pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\numeric(31) : see reference to function template 
instantiation '_Ty 
std::_Accumulate<stlsoft::member_selector_iterator<I,C,M>,_T
>(_InIt,_InIt,_Ty)' 
being compiled
         with
         [
             _Ty=size_t,
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t,
             _InIt=stlsoft::member_selector_iterator<const 
pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
         ..\..\src\pantheios_core.cpp(269) : see reference to function 
template instantiation '_Ty 
std::accumulate<stlsoft::member_selector_iterator<I,C,M>,size_
>(_InIt,_InIt,_Ty)' 
being compiled
         with
         [
             _Ty=size_t,
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t,
             _InIt=stlsoft::member_selector_iterator<const 
pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
deduce template argument for 'const 
std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(151) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
deduce template argument for 'const 
std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(151) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
deduce template argument for 'const 
std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(151) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
deduce template argument for 'const 
std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(151) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const _Elem *,const 
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
argument for 'const _Elem *' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(141) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const 
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(131) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const 
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(131) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const 
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(131) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const 
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(131) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const 
std::basic_string<_Elem,_Traits,_Alloc> &,const 
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\string(131) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
&,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
argument for 'const std::reverse_iterator<_RanIt> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
&,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
argument for 'const std::reverse_iterator<_RanIt> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
&,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
argument for 'const std::reverse_iterator<_RanIt> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
&,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
argument for 'const std::reverse_iterator<_RanIt> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
&,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
argument for 'const std::reverse_iterator<_RanIt> &' from 
'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\utility(76) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\utility(76) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\utility(76) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\utility(76) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE\utility(76) : see declaration of 'std::operator <'
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
error C2676: binary '<' : 'stlsoft::member_selector_iterator<I,C,M>' 
does not define this operator or a conversion to a type acceptable to 
the predefined operator
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]

Any ideas how to fix it?

Felix Gartsman.
Sep 05 2006
parent reply "Matthew" <nowhere noaddress.co.us> writes:
Sigh. My fault, as I've allowed machine failures and three refusals to 
(re-)install VC8 to put me off. ;-)

I'm on it: I've fixed the problem you've seen, but now I'm failing to find 
sprintf_s(). As soon as I have that licked, and got it all happy, I'll post 
a fix.

Sorry about the hassles.

Matthew


"Felix Gartsman" <garisman netvision.net.il> wrote in message 
news:edjknr$1qco$1 digitaldaemon.com...
 Hello,
 I downloaded pantheios-1.0.1-beta2 with stlsoft-1.9.1-beta20 and tried to 
 build pantheios with the vc8 makefile, but the build failed with this:

 cl  -nologo -c -W4 -wd4800 -WX  -O1  -GR -EHsc -MTd -D_DEBUG -Zi
-Fd.\pantheios_appl.mt.debug.pdb 
   -DWIN32 -DPANTHEIOS_NO_AUTO_INIT -I..\..\include 
-I"C:\Libs\stlsoft-1.9.1-beta20\include" 
  -Fo.\pantheios_appl.mt.debug.obj ..\..\src\pantheios_appl.cpp
 pantheios_appl.cpp
 cl  -nologo -c -W4 -wd4800 -WX  -O1  -GR -EHsc -MTd -D_DEBUG -Zi
-Fd.\pantheios_core.mt.debug.pdb 
   -DWIN32 -DPANTHEIOS_NO_AUTO_INIT -I..\..\include 
-I"C:\Libs\stlsoft-1.9.1-beta20\include" 
  -Fo.\pantheios_core.mt.debug.obj ..\..\src\pantheios_core.cpp
 pantheios_core.cpp
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
 deduce template argument for 'const 
 std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(151) 
 : see declaration of 'std::operator <'
         C:\Program Files\Microsoft Visual Studio 
 8\VC\INCLUDE\xutility(1368) : see reference to function template 
 instantiation 'void std::_Debug_range2<_InIt>(_RanIt,_RanIt,const wchar_t 
 *,unsigned int,std::random_access_iterator_tag)' being compiled
         with
         [
             _InIt=stlsoft::member_selector_iterator<const 
 pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>,
             _RanIt=stlsoft::member_selector_iterator<const 
 pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\numeric(21) 
 : see reference to function template instantiation 'void 
 std::_Debug_range<_InIt>(_InIt,_InIt,const wchar_t *,unsigned int)' being 
 compiled
         with
         [
             _InIt=stlsoft::member_selector_iterator<const 
 pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\numeric(31) 
 : see reference to function template instantiation '_Ty 
 std::_Accumulate<stlsoft::member_selector_iterator<I,C,M>,_T
>(_InIt,_InIt,_Ty)' 
 being compiled
         with
         [
             _Ty=size_t,
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t,
             _InIt=stlsoft::member_selector_iterator<const 
 pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
         ..\..\src\pantheios_core.cpp(269) : see reference to function 
 template instantiation '_Ty 
 std::accumulate<stlsoft::member_selector_iterator<I,C,M>,size_
>(_InIt,_InIt,_Ty)' 
 being compiled
         with
         [
             _Ty=size_t,
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t,
             _InIt=stlsoft::member_selector_iterator<const 
 pantheios::pan_slice_t *,pantheios::pan_slice_t,const size_t>
         ]
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
 deduce template argument for 'const 
 std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(151) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
 deduce template argument for 'const 
 std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(151) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
 deduce template argument for 'const 
 std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(151) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not 
 deduce template argument for 'const 
 std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(151) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const _Elem *,const 
 std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
 argument for 'const _Elem *' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(141) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const 
 std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
 argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(131) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const 
 std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
 argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(131) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const 
 std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
 argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(131) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const 
 std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
 argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(131) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const 
 std::basic_string<_Elem,_Traits,_Alloc> &,const 
 std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template 
 argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string(131) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
 &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
 argument for 'const std::reverse_iterator<_RanIt> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
 8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
 &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
 argument for 'const std::reverse_iterator<_RanIt> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
 8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
 &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
 argument for 'const std::reverse_iterator<_RanIt> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
 8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
 &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
 argument for 'const std::reverse_iterator<_RanIt> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
 8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> 
 &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template 
 argument for 'const std::reverse_iterator<_RanIt> &' from 
 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 
 8\VC\INCLUDE\xutility(1842) : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
 std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
 std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\utility(76) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
 std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
 std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\utility(76) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
 std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
 std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\utility(76) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
 std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
 std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\utility(76) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const 
 std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const 
 std::pair<_Ty1,_Ty2> &' from 'stlsoft::member_selector_iterator<I,C,M>'
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]
         C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\utility(76) 
 : see declaration of 'std::operator <'
 C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(1360) : 
 error C2676: binary '<' : 'stlsoft::member_selector_iterator<I,C,M>' does 
 not define this operator or a conversion to a type acceptable to the 
 predefined operator
         with
         [
             I=const pantheios::pan_slice_t *,
             C=pantheios::pan_slice_t,
             M=const size_t
         ]

 Any ideas how to fix it?

 Felix Gartsman. 

Sep 05 2006
parent reply "Matthew" <nowhere noaddress.co.us> writes:
"Matthew" <nowhere noaddress.co.us> wrote in message
news:edjnqf$1t0d$1 digitaldaemon.com...
 Sigh. My fault, as I've allowed machine failures and three refusals to
 (re-)install VC8 to put me off. ;-)

 I'm on it: I've fixed the problem you've seen, but now I'm failing to find
 sprintf_s(). As soon as I have that licked, and got it all happy, I'll
 post
 a fix.

I've finally got VC8 to install, and got it to build the libs in the Pantheios distro. It still balks on some of the test and example programs, some with multiple symbols and such. I'll have more of a go at it tomorrow, but it's midnight here, and I need some Zzzs. I found "make"-ing some explicit targets worked: "nmake ..\..\bin\pantheios.1.ex.cpp.1.vc8.exe" "nmake ..\..\bin\pantheios.1.ex.cpp.2.vc8.exe" "nmake ..\..\bin\pantheios.1.be.Win32Console.vc8.exe" I've included the code file fix that address the problem you outlined: STLSoft: include/stlsoft/iterators/member_selector_iterator.hpp This'll be included in STLSoft 1.9.1 beta 21 very soon. You also need to add the warning suppression " -wd4996" to line 170 of build/vc8/makefile. HTH. Let me know how it goes. Cheers Matthew
Sep 05 2006
parent reply "Matthew" <nowhere noaddress.co.us> writes:
 You also need to add the warning suppression " -wd4996" to line 170 of 
 build/vc8/makefile.

And to line 163 as well. Now you should be able to get somewhere with "nmake build.libs.core" - the Pantheios core "nmake build.libs.std" - the stock front-end and back-ends "nmake build.examples" - most of the examples
Sep 05 2006
parent reply Felix Gartsman <garisman netvision.net.il> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Matthew wrote:
 You also need to add the warning suppression " -wd4996" to line 170 of 
 build/vc8/makefile.


it. Attached modified makefile. The cleaning doesn't remove *.manifest files VC8 generates, and tries to remove *.pdb files that are never created.
 
 And to line 163 as well. Now you should be able to get somewhere with
 
 "nmake build.libs.core" - the Pantheios core

 "nmake build.libs.std" - the stock front-end and back-ends

 "nmake build.examples" - most of the examples
 

following error: makefile 'makefile' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'makefile' : return code '0x1' Stop. Felix Gartsman.
Sep 05 2006
parent "Matthew" <nowhere noaddress.co.us> writes:
"Felix Gartsman" <garisman netvision.net.il> wrote in message
news:edkg2h$2jkq$1 digitaldaemon.com...
 Matthew wrote:
 You also need to add the warning suppression " -wd4996" to line 170 of
 build/vc8/makefile.


it. Attached modified makefile. The cleaning doesn't remove *.manifest files VC8 generates, and tries to remove *.pdb files that are never created.
 And to line 163 as well. Now you should be able to get somewhere with

 "nmake build.libs.core" - the Pantheios core

 "nmake build.libs.std" - the stock front-end and back-ends

 "nmake build.examples" - most of the examples


Good!
 All 112 example variants build, but then I got the
 following error:
         makefile
  'makefile' is not recognized as an internal or external command,
  operable program or batch file.
  NMAKE : fatal error U1077: 'makefile' : return code '0x1'
  Stop.

Gotcha. I'll have a go at it this w/e. What are your impressions of Pantheios so far?
Sep 08 2006