New STLPort

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Naga
Posts: 45
Joined: 2003-12-02 11:24
Location: Sweden

New STLPort

Post by Naga » 2004-04-11 06:27

Hi,

it seems like DC++ is using STLPort 4.6.1 now but where can I get this (not the original but the DC++ modified one) or a patch against the original? The project page has the old one (4.6.0).
Thanks to all open source programmers!
They enable the rest of us to learn a lot!

Alexei Kubarev
Posts: 18
Joined: 2004-04-08 15:46
Location: Sweden
Contact:

Post by Alexei Kubarev » 2004-04-11 07:56

Jahh... on the Main dc++ page it seems to be the old version...

Try this link http://sourceforge.net/project/showfile ... p_id=40287
Worked for me... the same thing with WTL

Naga
Posts: 45
Joined: 2003-12-02 11:24
Location: Sweden

Post by Naga » 2004-04-11 08:33

No this is 4.6.0. DC++ in CVS needs 4.6.1
Thanks to all open source programmers!
They enable the rest of us to learn a lot!

Alexei Kubarev
Posts: 18
Joined: 2004-04-08 15:46
Location: Sweden
Contact:

Post by Alexei Kubarev » 2004-04-11 09:38

its 4.6.1
Believe me... ive tested... :D
Had the same problem few daays ago...
look here http://dcplusplus.sourceforge.net/forum ... php?t=9418

;) worked for me...

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2004-04-11 10:00

Official Stl Here 4.6.1
Compare it using Winmerge or similar to find diffs.
Always remember you're unique, just like everyone else.

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-04-11 11:06

You can probably use the old version of stlport to until arne releases a patched version if you edit the stdafx.cpp file a bit ( works for me anyway ) even though it's probably not the best solution.

Naga
Posts: 45
Joined: 2003-12-02 11:24
Location: Sweden

Post by Naga » 2004-04-11 12:05

Alexei Kubarev wrote:its 4.6.1
Believe me... ive tested... :D
Hmm sure (VC gives an error about wrong version)? Because the official DC++ uses 4.6.0 it's only since about a day (as far as I can see) that it's been using 4.6.1 any way I think I've got it running using the official STLPort and disabeling iostreams (_STLP_NO_IOSTREAMS)
Thanks to all open source programmers!
They enable the rest of us to learn a lot!

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-04-11 12:46

If you want to try to use old stl just change this bit of code in stdafx.cpp

Code: Select all

#if defined(HAS_STLPORT) && (_STLPORT_VERSION != 0x461)
#error STLPort not correctly installed, read compile.txt
#endif
to

Code: Select all

#if defined(HAS_STLPORT) && (_STLPORT_VERSION != 0x460)
#error STLPort not correctly installed, read compile.txt
#endif
But I don't think I would recommend it.

Locked