arvid | 14 Mar 2011 08:26
Picon
Picon
Favicon

Re: Need Libtorrent version and other dependancies versions that build without error

Quoting Dan <aeon_dan <at> inbox.com>:
> 
> Hi,
> I downloaded LibTorrent 0.15.4 and 0.15.5 from 
> http://code.google.com/p/libtorrent/downloads/list and 0.12.7 from 
> http://libtorrent.rakshasa.no/downloads/.

This second one is a completely different library. This mailing list is about
the sourceforge/google-code/rasterbar libtorrent.

> I have Boost 1.42, 1.43, 1.44, 1.45 and 
> have downloaded latest version of OpenSSL 1.0.0d. I tried LibTorrent 0.15.4
> with 
> Boost 1.44 and I got errors.

I'm pretty sure libtorrent builds with all of those versions of boost (for 1.46
you need to specify using boost.filesystem 2 though, since 3 is now the
default).

I would guess the errors are caused by something else. Could you post a few
samples of the errors you get? Are they link errors or compile errors?

> I then tried few other combinations with different 
> errors with different combinations. 

Also, how are you building it? In your own project file? boost-build? makefiles
or CMake?

(boost-build is probably the most reliable way).

> Sometimes I get compiler errors about symbols 
> being redefined, some other times my compilation is okay, but I got lot of
> Link 
> errors. 
> 
> I now want to start afresh and need to know the GOOD WORKING COMBINATION of 
> LibTorrent with other dependant libraries. 
> 
> Please provide the versions that have worked for you and help me to build
> them 
> using Visual Studio 2010.

Even though I am quite certain libtorrent works with a variety of boost versions
(and probably openssl versions too), this is what I have on my windows build
machine right now, testing with.

boost 1.44.0, libtorrent/braches/RC_0_15 (<- this is the stable 0.15.x branch,
it might contain a few specific fixes for building with msvc-2010).

I mostly test with msvc-9 though, I'll give 10 a try. I'm pretty sure I've made
it build in 2010.

I should really cut 0.15.6 from that branch.

--

-- 
Arvid Norberg

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d

Gmane