Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.
Moderator: Moderators
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-20 09:09
i followed the guide in compile.txt
and i still get the following errors..
Code: Select all
c:\Documents and Settings\xxxxx\Skrivbord\Dc++ Src\client\stdinc.h(63): error C2871: '_STL' : a namespace with this name does not exist
c:\Documents and Settings\xxxxx\Skrivbord\Dc++ Src\client\stdinc.h(63): error C2871: '_STL' : a namespace with this name does not exist
c:\Documents and Settings\xxxxx\Skrivbord\Dc++ Src\windows\stdafx.cpp(34): fatal error C1189: #error : STLPort not correctly installed, read compile.txt
This is when i havnt included stl, i know where to do it.. but i dont know which folder i should include. (config, stl, using or wrap_std)
I heard there should be a stlport/incude folder.. but I ain't finding any :[
thanks for all help!
-
psf8500
- Posts: 23
- Joined: 2003-03-04 23:51
Post
by psf8500 » 2004-05-20 13:10
Make sure you use the STLPort from the DC++ site.
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-21 10:51
I did as you wrote.. now i get these errors:
Code: Select all
d:\Dokument\C++ - Dc++ Src files\DCPlusPlus-STLPort-4.6\stdarg.h(23): fatal error C1083: Cannot open include file: '../include/stdarg.h': No such file or directory
d:\Dokument\C++ - Dc++ Src files\DCPlusPlus-STLPort-4.6\stdarg.h(23): fatal error C1083: Cannot open include file: '../include/stdarg.h': No such file or directory
My includes /\
Thanks for the help!
[EDIT: Fixed image tag.TPO]
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Post
by GargoyleMT » 2004-05-21 15:52
I'd suggest you delete the files out of your STLPort directory and re-extract them, making sure to do so with pathnames (in case you missed that).
Line 23 is :
Code: Select all
# include _STLP_NATIVE_C_HEADER(stdarg.h)
I don't know why it would look in "../include/" for that file. When all else fails, wipe it clean and start from the beginning.
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-21 18:59
this is getting worser and worser..
now im getting this errors!
Edit!
:[
Last edited by
Phantasy on 2004-05-21 19:13, edited 1 time in total.
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Post
by GargoyleMT » 2004-05-21 19:03
That's the same error.
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-21 19:06
ohh.. anyways.. it didnt help re extracting them, nor cleaning it all up
well.. why is it looking in the /include directory? :´/
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 19:37
Post
by TheParanoidOne » 2004-05-21 19:16
I was getting a feeling of deja vu, and it was because I had the exact same problem when I first tried to compile DC++. You can read about it here:
http://dcplusplus.sourceforge.net/forum ... ight=c1083
My problem was that I hadn't installed all of the relevant parts of Visual Studio. Could that be the case for you?
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-21 19:20
hmm.. i got the feeling i installed wrong SDK :/
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Post
by GargoyleMT » 2004-05-21 19:52
Phantasy wrote:hmm.. i got the feeling i installed wrong SDK :/
Indeed - you only had to install a SDK if you were using Visual Studio 6.0 - .NET 2002 and .NET 2003 both have SDKs that are up to date enough for DC++.
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-21 20:27
ok, i uninstalled everything..
.Net Framework, The SDK i installed from microsofts homepage..
and Visual Studio .NET..
Now im installing it again.. hopefully it will go better this time !
only the stuff needed for VC++.NET nothing else

-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Post
by GargoyleMT » 2004-05-21 20:55
A full install of VS.NET 2003 won't do you wrong either. If you try to do a minimal install, you may miss some of the includes/libraries unless you know what you're looking at.
-
Phantasy
- Posts: 7
- Joined: 2004-05-20 09:05
Post
by Phantasy » 2004-05-21 20:58
Yes!!
Thanks everyone for the help! Its finally working!!
What i did was..
Uninstalled everything that was installet.. (.NET Framework, Plattform SDK, Visual C++ .NET, everything)
Then i just installed Visual C++ .NET, not the C# version, not the Visual Basic version..
I also installed something which had Crystal in its name..
and the .NET Framework (note.. EVERYTHING under the C++ .NET menu)
Thanks Again!!!

-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Post
by GargoyleMT » 2004-05-21 21:20
Phantasy wrote:Thanks everyone for the help! Its finally working.
Nice!
-
Guitarm
- Forum Moderator
- Posts: 385
- Joined: 2004-01-18 20:38
Post
by Guitarm » 2004-05-21 21:31
Yes, very nice. And as a introductory test we want you to rewrite/obfuscate the DC++ code so that even the creator doesn't know what it does.
Seriously, it's nice to see people getting started in the basics of compiling and understanding of DC++.
More of this is what I wish for
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
Users browsing this forum: Google [Bot] and 0 guests