daniel hello | 1 Jan 2005 15:20
Picon
Favicon

happy new year!libtorrent

and happy new year,Arvid!


Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!
Liu Shuai | 5 Jan 2005 23:22

Problems building 0.4.5 with VC7.1

Hi all,

 

I recently updated my libtorrent to 0.4.5 and can’t seem to build it anymore.

I included path to libtorrent and boost in my VC project and it worked before. What’s changed? Thank you very much!

 

Environment:

Windows XP + SP2

VC7.1 + SP1

Boost 1.31

Latest libtorrent from CVS as of 1/5/2005

 

I am getting following build errors:

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::queue<_Ty,_Container> &,const std::queue<_Ty,_Container> &)' : could not deduce template argument for 'const std::queue<_Ty,_Container> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\queue(97) : see declaration of 'std::operator`<''

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(138) : while compiling class-template member function 'bool std::less<_Ty>::operator ()(const _Ty &,const _Ty &) const'

        with

        [

            _Ty=boost::filesystem::path

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(67) : see reference to class template instantiation 'std::less<_Ty>' being compiled

        with

        [

            _Ty=boost::filesystem::path

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(23) : see reference to class template instantiation 'std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,_Mfl>' being compiled

        with

        [

            _Kty=boost::filesystem::path,

            _Ty=`anonymous-namespace'::file_entry,

            _Pr=std::less,

            _Alloc=std::allocator>,

            _Mfl=false

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(65) : see reference to class template instantiation 'std::_Tree_nod<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(87) : see reference to class template instantiation 'std::_Tree_ptr<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Program Files\Microsoft Visual Studio .NET

2003\Vc7\include\xtree(105) : see reference to class template instantiation 'std::_Tree_val<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(77) : see reference to class template instantiation 'std::_Tree<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Projects\KEP\Source\Iris\Tools\Libtorrent32\libtorrent\storage.cpp(152) : see reference to class template instantiation 'std::map<_Kty,_Ty>' being compiled

        with

        [

            _Kty=boost::filesystem::path,

            _Ty=`anonymous-namespace'::file_entry

        ]

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::deque<_Ty,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\deque(999) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::list<_Ty,_Alloc> &,const std::list<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::list<_Ty,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(991) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(915) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : 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,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string(148) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const T1 *' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string(138) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : 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,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string(128) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(1170) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(655) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : 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 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\utility(73) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2676: binary '<' : 'const boost::filesystem::path' does not define this operator or a conversion to a type acceptable to the predefined operator

 

bizangels | 6 Jan 2005 16:39
Picon
Favicon

Re: Libtorrent-discuss digest, Vol 1 #92 - 1 msg

there is a running-time pause problem on libtorrent to 0.4.5.
but no compiling problem.

libtorrent-discuss-request <at> lists.sourceforge.net wrote:
Send Libtorrent-discuss mailing list submissions to
libtorrent-discuss <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
or, via email, send a message with subject or body 'help' to
libtorrent-discuss-request <at> lists.sourceforge.net

You can reach the person managing the list at
libtorrent-discuss-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Libtorrent-discuss digest..."


Today's Topics:

1. Problems building 0.4.5 with VC7.1 (Liu Shuai)

--__--__--

Message: 1
Date: Wed, 5 Jan 2005 17:22:08 -0500
From: "Liu Shuai"
To:
Subject: [libtorrent] Problems building 0.4.5 with VC7.1
Reply-To: libtorrent-discuss <at> lists.sourceforge.net

This is a multi-part message in MIME format.

------_=_NextPart_001_01C4F374.FEA00F78
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,

=20

I recently updated my libtorrent to 0.4.5 and can't seem to build it
anymore.

I included path to libtorrent and boost in my VC project and it worked
before. What's changed? Thank you very much!

=20

Environment:

Windows XP + SP2

VC7.1 + SP1

Boost 1.31

Latest libtorrent from CVS as of 1/5/2005

=20

I am getting following build errors:

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const std::queue<_Ty,_Container> &,const std::queue<_Ty,_Cont ainer>
&)' : could not deduce template argument for 'const
std::queue<_Ty,_Container> &' from 'const boost::filesystem::path'

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\queue(97) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(138) : while compiling class-template member
function 'bool std::less<_Ty>::operator ()(const _Ty &,const _Ty &)
const'

with

[

_Ty=3Dboost::filesystem::path

]

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\map(67) : see reference to class template instantiation
'std::less<_Ty>' being compiled

with

[

_Ty=3Dboost::filesystem::path

]

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xtree(23) : see reference to class template
instantiation 'std::_Tmap_traits<_K ty,_Ty,_Pr,_Alloc,_Mfl>' being
compiled

with

[

_Kty=3Dboost::filesystem::path,

_Ty=3D`anonymous-namespace'::file_entry,

_Pr=3Dstd::less,

_Alloc=3Dstd::allocator>,

_Mfl=3Dfalse

]

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xtree(65) : see reference to class template
instantiation 'std::_Tree_nod<_Traits>' being compiled

with

[

_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

]

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xtree(87) : see reference to class template
instantiation 'std::_Tree_ptr<_Traits>' being compiled

with

[

_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

]

c:\Program Files\Microsoft Visual Studio .NET=20

2003\Vc7\include\xtree(105) : see reference to class template
instan tiation 'std::_Tree_val<_Traits>' being compiled

with

[

_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

]

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\map(77) : see reference to class template instantiation
'std::_Tree<_Traits>' being compiled

with

[

_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

]

=20
c:\Projects\KEP\Source\Iris\Tools\Libtorrent32\libtorrent\storage.cpp(15
2) : see reference to class template instantiation 'std::map<_Kty,_Ty>'
being compiled

with

[

_Kty=3Dboost::filesystem::path,

_Ty=3D`anonymous-namespace'::file_entry

]

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' :
coul d not deduce template argument for 'const std::deque<_Ty,_Ax> &'
from 'const boost::filesystem::path'

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\deque(999) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const std::list<_Ty,_Alloc> &,const std::list<_Ty,_Alloc> &)' : could
not deduce template argument for 'const std::list<_Ty,_Ax> &' from
'const boost::filesystem::path'

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\list(991) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' :
could not deduce template argument for 'const std::vector< _Ty,_Ax> &'
from 'const boost::filesystem::path'

c:\Program Files\Microso ft Visual Studio .NET
2003\Vc7\include\vector(915) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : 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,_Ax> &' from 'const
boost::filesystem::path'

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\string(148) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' :
could not deduce template argument for 'const T1 *' from 'const
boost::filesystem::path'

c:\Program Files\ Microsoft Visual Studio .NET
2003\Vc7\include\string(138) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : 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,_Ax> &' from 'const
boost::filesystem::path'

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\string(128) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not
deduce template argument for 'const std::_Tree<_Traits> &' from 'const
boost::filesystem::path'

c:\Program Fil es\Microsoft Visual Studio .NET
2003\Vc7\include\xtree(1170) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator
<(const std::reverse_iterator<_RanIt> &,const
std::reverse_iterator<_RanIt> &)' : could not deduce template argument
for 'const std::reverse_iterator<_RanIt> &' from 'const
boost::filesystem::path'

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(655) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : 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
'const boost::filesystem::path'

c:\Program Files\Microsoft Visual St udio .NET
2003\Vc7\include\utility(73) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2676: binary '<' : 'const
boost::filesystem::path' does not define this operator or a conversion
to a type acceptable to the predefined operator

=20


------_=_NextPart_001_01C4F374.FEA00F78
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">

<br><br>







style=3D'font-size:10.0pt;
font-family:Arial'>Hi all,



style=3D'font-size:10.0pt;
font-family:Arial'>

 



style=3D'font-size:10.0pt;
font-family:Arial'>I recently updated my libtorrent to 0.4.5 and =
canot
seem to build it anymore.



style=3D'font-size:10.0pt;
font-family:Arial'>I included path to libtorrent and boost in my VC =
project and
it worked before. Whatos changed? Thank you very =
much!



style=3D'font-size:10.0pt;
font-family:Arial'>

 



style=3D'font-size:10.0pt;
font-family:Arial'>Environment:



style=3D'font-size:10.0pt;
font-family:Arial'>Windows XP + SP2



style=3D'font-size:10.0pt;
font-family:Arial'>VC7.1 + SP1



style=3D'font-size:10.0pt;
font-family:Arial'>Boost 1.31



style=3D'font-size:10.0pt;
font-family:Arial'>Latest libtorrent from CVS as of =
1/5/2005



style=3D'font-size:10.0pt;
font-family:Arial'>

 



style=3D'font-size:10.0pt;
font-family:Arial'>I am getting following build =
errors:



style=3D'font-size:10.0pt;
font-family:Arial'>c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional(139) : error C2784: 'bool std::operator =
<(const
std::queue<_Ty,_Container> &,const =
std::queue<_Ty,_Container>
&)' : could not deduce template argument for 'const
std::queue<_Ty,_Container> &' from 'const =
boost::filesystem::path'



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\queue(97) : see =
declaration
of 'std::operator`<''



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(138) : =
while
compiling class-template member function 'bool =
std::less<_Ty>::operator
()(const _Ty &,const _Ty &) const'



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with



style=3D'font-size:10.0pt;
font-family:Arial'>        =
[



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Ty=3Dboost::filesystem::path



style=3D'font-size:10.0pt;
font-family:Arial'>        =
]



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(67) : see =
reference to
class template instantiation 'std::less<_Ty>' being =
compiled



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with



style=3D'font-size:10.0pt;
font-family:Arial'>        =
[



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Ty=3Dboost::filesystem::path



style=3D'font-size:10.0pt;
font-family:Arial'>        =
]



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(23) : see =
reference
to class template instantiation
'std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,_Mfl>' being =
compiled



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with



style=3D'font-size:10.0pt;
font-family:Arial'>        =
[



style=3D'font-size:10.0pt;
font-family:Arial'>       =
     _Kty=3Dboost::filesystem::path,

<=
/span>



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Ty=3D`anonymous-namespace'::file_entry,



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Pr=3Dstd::less,



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Alloc=3Dstd::allocator>,



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Mfl=3Dfalse



style=3D'font-size:10.0pt;
font-family:Arial'>        =
]



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(65) : see =
reference
to class template instantiation 'std::_Tree_nod<_Traits>' being =
compiled



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with



style=3D'font-size:10.0pt;
font-family:Arial'>        =
[



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

=
>



style=3D'font-size:10.0pt;
font-family:Arial'>        =
]



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(87) : see =
reference
to class template instantiation 'std::_Tree_ptr<_Traits>' being =
compiled



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with



style=3D'font-size:10.0pt;
font-family:Arial'>        =
[



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

=
>



style=3D'font-size:10.0pt;
font-family:Arial'>        =
]



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET



style=3D'font-size:10.0pt;
font-family:Arial'>2003\Vc7\include\xtree(105) : see reference to class
template instantiation 'std::_Tree_val<_Traits>' being =
compiled



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with



style=3D'font-size:10.0pt;
font-family:Arial'>        =
[



style=3D'font-size:10.0pt;
font-family:Arial'>         =
  
_Traits=3Dstd::_Tmap_traits,std::allocator>,false>

=
>



style=3D'font-size:10.0pt;
font-family:Arial'>        =
]



style=3D'font-size:10.0pt;
font-family:Arial'>        c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(77) : see =
reference to
class template instantiation 'std::_Tree<_Traits>' being =
compiled



style=3D'font-size:10.0pt;
font-family:Arial'>        =
with




=== message truncated ===

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Liu Shuai | 6 Jan 2005 23:00

RE: Problems building 0.4.5 with VC7.1

Just found out that I need boost 1.32.0 (instead of 1.31) to build 0.4.5. Should the manual be updated?

From: libtorrent-discuss-admin <at> lists.sourceforge.net [mailto:libtorrent-discuss-admin <at> lists.sourceforge.net] On Behalf Of Liu Shuai
Sent: Wednesday, January 05, 2005 5:22 PM
To: libtorrent-discuss <at> lists.sourceforge.net
Subject: [libtorrent] Problems building 0.4.5 with VC7.1

 

Hi all,

 

I recently updated my libtorrent to 0.4.5 and can’t seem to build it anymore.

I included path to libtorrent and boost in my VC project and it worked before. What’s changed? Thank you very much!

 

Environment:

Windows XP + SP2

VC7.1 + SP1

Boost 1.31

Latest libtorrent from CVS as of 1/5/2005

 

I am getting following build errors:

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::queue<_Ty,_Container> &,const std::queue<_Ty,_Container> &)' : could not deduce template argument for 'const std::queue<_Ty,_Container> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\queue(97) : see declaration of 'std::operator`<''

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(138) : while compiling class-template member function 'bool std::less<_Ty>::operator ()(const _Ty &,const _Ty &) const'

        with

        [

            _Ty=boost::filesystem::path

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(67) : see reference to class template instantiation 'std::less<_Ty>' being compiled

        with

        [

            _Ty=boost::filesystem::path

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(23) : see reference to class template instantiation 'std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,_Mfl>' being compiled

        with

        [

            _Kty=boost::filesystem::path,

            _Ty=`anonymous-namespace'::file_entry,

            _Pr=std::less,

            _Alloc=std::allocator>,

            _Mfl=false

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(65) : see reference to class template instantiation 'std::_Tree_nod<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(87) : see reference to class template instantiation 'std::_Tree_ptr<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Program Files\Microsoft Visual Studio .NET

2003\Vc7\include\xtree(105) : see reference to class template instantiation 'std::_Tree_val<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(77) : see reference to class template instantiation 'std::_Tree<_Traits>' being compiled

        with

        [

            _Traits=std::_Tmap_traits,std::allocator>,false>

        ]

        c:\Projects\KEP\Source\Iris\Tools\Libtorrent32\libtorrent\storage.cpp(152) : see reference to class template instantiation 'std::map<_Kty,_Ty>' being compiled

        with

        [

            _Kty=boost::filesystem::path,

            _Ty=`anonymous-namespace'::file_entry

        ]

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::deque<_Ty,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\deque(999) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::list<_Ty,_Alloc> &,const std::list<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::list<_Ty,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(991) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(915) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : 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,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string(148) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const T1 *' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string(138) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : 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,_Ax> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string(128) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(1170) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(655) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : 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 'const boost::filesystem::path'

        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\utility(73) : see declaration of 'std::operator`<''

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139) : error C2676: binary '<' : 'const boost::filesystem::path' does not define this operator or a conversion to a type acceptable to the predefined operator

 

Arvid Norberg | 7 Jan 2005 01:20
Picon
Picon
Favicon

Re: Re: Libtorrent-discuss digest, Vol 1 #92 - 1 msg

bizangels wrote:
> there is a running-time pause problem on libtorrent to 0.4.5.
> but no compiling problem.
> 

I believe this is caused by the file_win.cpp implementation of file. 
Sometimes it fails writing to or reading from the file. I don't know 
why, but it seems that the file.cpp implementation works well on windows 
too. I believe that switching to the file.cpp implementation fixes that 
problem.

--
Arvid Norberg

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
bizangels | 7 Jan 2005 13:50
Picon
Favicon

Re: Libtorrent-discuss digest, Vol 1 #95 - 1 msg

does file.cpp support file(>2G) on windows now??Arvid.
and I have to say that last time cvs checkout,libtorrent works so well.
this only appear the currently checkout.

libtorrent-discuss-request <at> lists.sourceforge.net wrote:
Send Libtorrent-discuss mailing list submissions to
libtorrent-discuss <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
or, via email, send a message with subject or body 'help' to
libtorrent-discuss-request <at> lists.sourceforge.net

You can reach the person managing the list at
libtorrent-discuss-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Libtorrent-discuss digest..."


Today's Topics:

1. Re: Re: Libtorrent-discuss digest, Vol 1 #92 - 1 msg (Arvid Norberg)

--__--__--

Message: 1
Date: Fri, 07 Jan 2005 01:20:34 +0100
From: Arvid Norberg
To: libtorrent-discuss <at> lists.sourceforge.net
Subject: Re: [libtorrent] Re: Libtorrent-discuss digest, Vol 1 #92 - 1 msg
Reply-To: libtorrent-discuss <at> lists.sourceforge.net

bizangels wrote:
> there is a running-time pause problem on libtorrent to 0.4.5.
> but no compiling problem.
>

I believe this is caused by the file_win.cpp implementation of file.
Sometimes it fails writing to or reading from the file. I don't know
why, but it seems that the file.cpp implementation works well on windows
too. I believe that switching to the file.cpp implementation fixes that
problem.

--
Arvid Norberg



--__--__--

_______________________________________________
Libtorrent-discuss mailing list
Libtorrent-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss


End of Libtorrent-discuss Digest

Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
Arvid Norberg | 7 Jan 2005 15:35
Picon
Picon
Favicon

Re: Re: Libtorrent-discuss digest, Vol 1 #95 - 1 msg

bizangels wrote:
> does file.cpp support file(>2G) on windows now??Arvid.
> and I have to say that last time cvs checkout,libtorrent works so well.
> this only appear the currently checkout.

Yes it does. Let me know if you still have any problems after switching.

--
Arvid Norberg

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
nbk693i | 8 Jan 2005 20:37
Picon

exeem

thx im looking forward 2 a great prog
daniel hello | 9 Jan 2005 03:00
Picon
Favicon

Re: exeem

paying attention/

nbk693i <nbk693i <at> telia.com> wrote:
thx im looking forward 2 a great prog

Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
Mike McKay | 13 Jan 2005 17:38

file.cpp vs file_win.cpp


Arvid Norberg wrote:
> I believe this is caused by the file_win.cpp implementation of file. 
> Sometimes it fails writing to or reading from the file. I don't know 
> why, but it seems that the file.cpp implementation works well on windows 
> too. I believe that switching to the file.cpp implementation fixes that 
> problem.

Hmm. So I am a bit stuck. I am building with VC++. When I use file.cpp I 
get the "seek failed" error on line 187. So I switched to file_win.cpp 
and I get the "couldn't open file" message from line 137. I seem to be 
screwed either way.

I am testing with this torrent:
http://www.legaltorrents.com/bit/wired-creative-commons-cd.torrent

Does anybody have any suggestions?

I am trying to understand/fix it, but my C++ skills are weak. For the 
win_file.cpp it almost looks like a permissions error - but that would 
be strange under windows, right?

Mike

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

Gmane