Flying Buzz | 1 Apr 2005 09:11
Picon
Favicon

Help can't build libtorrent!

Hi, i downloaded the libtorrent files using cvs but when i tried to build it 
i get a bunch of errors.

Not sure what is the problem. Anyone know why?

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
Arvid Norberg | 1 Apr 2005 10:53
Picon
Picon
Favicon

Re: Help can't build libtorrent!

Flying Buzz wrote:
> Hi, i downloaded the libtorrent files using cvs but when i tried to 
> build it i get a bunch of errors.
> 
> Not sure what is the problem. Anyone know why?

It would help with some more information.

Which compiler do you use?
What errors do you get?
Do you use boost-build? (and in that case which version?)

--
Arvid Norberg

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
Flying Buzz | 1 Apr 2005 12:29
Picon
Favicon

Re: Help can't build libtorrent!

I am using:
boost_1_32_0
boost-jam-3.1.10
boost-build-2.0-m10
Microsoft Visual Studio .NET 2003

I can't even do bjam link=shared
that command just makes bjam run. I am doing it in windows cmd promp.

Here is the error msgs i get in static mode but it does make a .lib file:
msvc.compile.c++ 
bin\msvc\debug\link-static\threading-multi\identify_client.obj
identify_client.cpp
src\identify_client.cpp(204) : warning C4288: nonstandard extension used : 
'i' :
loop control variable declared in the for-loop is used outside the for-loop 
sco
pe; it conflicts with the declaration in the outer scope
        src\identify_client.cpp(192) : definition of 'i' used
        src\identify_client.cpp(197) : definition of 'i' ignored
src\identify_client.cpp(204) : warning C4288: nonstandard extension used : 
'i' :
loop control variable declared in the for-loop is used outside the for-loop 
sco
pe; it conflicts with the declaration in the outer scope
        src\identify_client.cpp(192) : definition of 'i' used
        src\identify_client.cpp(197) : definition of 'i' ignored
src\identify_client.cpp(205) : warning C4288: nonstandard extension used : 
'i' :
loop control variable declared in the for-loop is used outside the for-loop 
(Continue reading)

Arvid Norberg | 1 Apr 2005 17:34
Picon
Picon
Favicon

Re: Help can't build libtorrent!

Flying Buzz wrote:
> I am using:
> boost_1_32_0
> boost-jam-3.1.10
> boost-build-2.0-m10
> Microsoft Visual Studio .NET 2003
> 
> I can't even do bjam link=shared
> that command just makes bjam run. I am doing it in windows cmd promp.
> 
> Here is the error msgs i get in static mode but it does make a .lib file:
> msvc.compile.c++ 
> bin\msvc\debug\link-static\threading-multi\identify_client.obj
> identify_client.cpp
> src\identify_client.cpp(204) : warning C4288: nonstandard extension used 
> : 'i' :
> loop control variable declared in the for-loop is used outside the 
> for-loop sco
> pe; it conflicts with the declaration in the outer scope
>        src\identify_client.cpp(192) : definition of 'i' used
>        src\identify_client.cpp(197) : definition of 'i' ignored
> src\identify_client.cpp(204) : warning C4288: nonstandard extension used 
> : 'i' :
> loop control variable declared in the for-loop is used outside the 
> for-loop sco
> pe; it conflicts with the declaration in the outer scope
>        src\identify_client.cpp(192) : definition of 'i' used
>        src\identify_client.cpp(197) : definition of 'i' ignored
> src\identify_client.cpp(205) : warning C4288: nonstandard extension used 
> : 'i' :
(Continue reading)

MooPolice | 1 Apr 2005 17:42
Picon
Favicon

Re: Help can't build libtorrent!

>I am using:
> boost_1_32_0
> boost-jam-3.1.10
> boost-build-2.0-m10
> Microsoft Visual Studio .NET 2003
>
> I can't even do bjam link=shared
> that command just makes bjam run. I am doing it in windows cmd promp.
>
> Here is the error msgs i get in static mode but it does make a .lib file:
> msvc.compile.c++ 
> bin\msvc\debug\link-static\threading-multi\identify_client.obj
> identify_client.cpp
> src\identify_client.cpp(204) : warning C4288: nonstandard extension used : 
> 'i' :
> loop control variable declared in the for-loop is used outside the 
> for-loop sco
> pe; it conflicts with the declaration in the outer scope
>        src\identify_client.cpp(192) : definition of 'i' used
>        src\identify_client.cpp(197) : definition of 'i' ignored
> src\identify_client.cpp(204) : warning C4288: nonstandard extension used : 
> 'i' :
> loop control variable declared in the for-loop is used outside the 
> for-loop sco
> pe; it conflicts with the declaration in the outer scope
>        src\identify_client.cpp(192) : definition of 'i' used
>        src\identify_client.cpp(197) : definition of 'i' ignored
> src\identify_client.cpp(205) : warning C4288: nonstandard extension used : 
> 'i' :
> loop control variable declared in the for-loop is used outside the 
(Continue reading)

Arvid Norberg | 1 Apr 2005 18:46
Picon
Picon
Favicon

Re: posting (was: Help can't build libtorrent!)

MooPolice wrote:
> [snip]
> 
> Btw: Is it actually possible with OutlookExpress to do a correct posting 
> here? Whatever I do I can't make a correct reply ... :(

What problems do you experience?
(your posts are threaded correctly in Thunderbird at least)

While on the subject I can give my rationaly to having the list as
'Reply-To:'. I know that many people prefer having the sender as reply
to and mailman recommends this practice too.

I just think that the most common case is to post replies to the list,
and only to the list. This is done with "reply".

The alternative is to have the sender of each message in the reply-to,
and "reply" sends only to that individual. To post on the list in such
case you would have to "reply all" and then remove the sender from the
to-line. Which means the list would not be optimized for the most common
action.

Sorry for this off topic subject. Anyway, if someone has good arguments
for not having the list address in reply-to, I'd love to hear them :P

--
Arvid Norberg

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
(Continue reading)

NILKANTH KAKADIYA | 2 Apr 2005 11:16
Picon
Favicon

Protocol help

Hi all,
  I am new to this torrent thing. Right now I have my project (as course work of distributed operating systems) to implement varient of bittorrent protocol. That includes study the original protocol and change it appropriately to increase its performance anyway. Now I dont have any idea that how can I do that. do I need to rewrite whole protocol or I can get it written in C++ or JAVA some where. Cuz I dont want it in python. So anybody have any Idea that where cn I get the protocol implementation in C++ or JAVA that I can modify.
  Also let me know that wht this libtorrent libry is for? just for developing torrent client ?? how it is interfaced with bittorrent protocol?? or library just assumes that bittorrent protocol is already installed in the system?? or this library it self is a bittorrent protocol???
  It ld be really helpful to me if somebody can help me.
Thanx.
 ==NILKANTH.


Do you Yahoo!?
Better first dates. More second dates. Yahoo! Personals
Arvid Norberg | 1 Apr 2005 18:53
Picon
Picon
Favicon

Re: Help can't build libtorrent!

MooPolice wrote:
> [...]
> I am using VS .NET 2003 too and I get the same warnings and let me tell 
> you they differ between debug and release builds too. Though these are 
> warnings only. It does work.
> I think C4288 is caused by the  /Zc:forScope compiler option.
> Because I am not building the library I can't help much more here.

Oh, right. I assumed bjam would use this option by default. I've updated 
the Jamfile to enable standard for loop scopes.

--
Arvid Norberg

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
MooPolice | 2 Apr 2005 16:35
Picon
Favicon

Re: What bt projects is out there that use Libtorrent?


----- Original Message ----- 
From: "Arvid Norberg" <c99ang <at> cs.umu.se>
To: <libtorrent-discuss <at> lists.sourceforge.net>
Sent: Wednesday, March 30, 2005 3:56 PM
Subject: Re: [libtorrent] What bt projects is out there that use Libtorrent?

> Flying Buzz wrote:
>> I am wondering what bt clients that is out there use libtorrent.
>>
>> I only found one and that is Arctic which does not have too much features 
>> that libtorrent can offer.
>
> I've been thinking about putting together some kind of list. The projects 
> I know of are the following:
>
> * ArcticTorrent (bittorrent client)
> * BitBuddy (bittorrent client)
> * a plugin boundled with eDonkey2000 (old, not sure if it's
>   maintained anymore)
> * eXeem (filesharing network)
> * pHoeniX (eMule plugin)
> * ZipTorrent (bittorrent client)
>
> Anyone wants to be added? :)
>

Yeah, I want to be added!

Program is named MooPolice (http://www.massaroddel.de/MooPolice)
and my nick is MassaRoddel 

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Arvid Norberg | 2 Apr 2005 17:39
Picon
Picon
Favicon

Re: Protocol help

Hi.

NILKANTH KAKADIYA wrote:
> Hi all, I am new to this torrent thing. Right now I have my project 
> (as course work of distributed operating systems) to implement 
> varient of bittorrent protocol. That includes study the original 
> protocol and change it appropriately to increase its performance 
> anyway. Now I dont have any idea that how can I do that. do I need to
>  rewrite whole protocol or I can get it written in C++ or JAVA some 
> where. Cuz I dont want it in python. So anybody have any Idea that 
> where cn I get the protocol implementation in C++ or JAVA that I can 
> modify. Also let me know that wht this libtorrent libry is for? just
> 
libtorrent is a library that implements a bittorrent client (which of
course uses the bittorrent protocol). It is written in C++ and is open
source, so it is possible for you to modify it.

> for developing torrent client ?? how it is interfaced with bittorrent
>  protocol?? or library just assumes that bittorrent protocol is 
> already installed in the system?? or this library it self is a 
> bittorrent protocol??? It ld be really helpful to me if somebody can 
> help me. Thanx. ==NILKANTH.

I don't know what it means to have the bittorrent protocol installed. A
protocol is just a protocol.

--
Arvid Norberg

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

Gmane