weirdness compiling v0.401

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

Moderator: Moderators

Locked
PhaTTy
Posts: 4
Joined: 2003-05-02 07:11

weirdness compiling v0.401

Post by PhaTTy » 2004-04-28 16:26

OK.. I have double checked my includes and the includes inside the source files giving the errors and I see nothing wrong, but here is the error I am getting (maybe I am just stupid)..

client\QueueManager.cpp(83) : error C2065: 'istringstream' : undeclared identifier

I am also receiving the same with ostringstream. It acts like something isn't being included or linked properly, but I have been looking at this for hours and I don't see anything wrong. Thx!

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2004-04-28 21:41

Code: Select all

[2:wza:client]$ pwd
/home/walter/cvsroot/dcplusplus/client
[0:wza:client]$ grep stringstr * 2>/dev/null
[2:wza:client]$
there are no stringstreams used in stock dc++, and afaik, some option is _disabled_ in the stl that comes with dc++ that would include stringstream directives
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

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

Post by joakim_tosteberg » 2004-04-28 23:15

Are you really uisng vaniilia dc++ and not a bmod or something?

PhaTTy
Posts: 4
Joined: 2003-05-02 07:11

Post by PhaTTy » 2004-04-29 03:27

how would i go about enabling the stringstream directives in the STL? I have tried compiling strong's dc and reverse connect both and they both use stringstreams but for some reason they dont say how to enable them to compile and i was going crazy :)

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2004-04-29 03:38

So, basicly your first post was useless since it did not include the question you wanted to know. Instead you lead us on a wild goose-chase. Thanks.. Such things are always nice. Anyway.. goto http://www.stlport.org/ and download the stl-version you need. In the tar-ball you find a file called INSTALL. Follow the instructions in it.

you-never-know-what-you-can-find-in-your-belly-button-if-you-search-deep-enough-ly'ers.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-04-29 22:26

PhaTTy wrote:I have tried compiling strong's dc and reverse connect both and they both use stringstreams but for some reason they dont say how to enable them to compile and i was going crazy :)
Reverse connect has its own forum.... http://www.revconnect.com/forum/
StrongDC may as well.

Locked