Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.
Moderator: Moderators
-
FileMonkey441
- Posts: 5
- Joined: 2004-11-22 04:42
Post
by FileMonkey441 » 2004-11-23 00:29
Hi, first time compiling DC++ with Visual Studio .NET 2003. I read the compile.txt like 10 times allready. And searched the forum and still cant seem to find what the problem is. I installed the STLport and WTL into the include before all the other VC includes.
These are my errors and warnings
Code: Select all
c:\DCPlusPlus-0.4034-src\windows\stdafx.h(43): fatal error C1083: Cannot open include file: 'atlapp.h': No such file or directory
c:\DCPlusPlus-0.4034-src\client\AdcHub.cpp(269): warning C4100: 'aFileType' : unreferenced formal parameter
c:\DCPlusPlus-0.4034-src\client\NmdcHub.cpp(37): warning C4355: 'this' : used in base member initializer list
MakeDefs warning LNK4089: all references to 'WS2_32.dll' discarded by /OPT:REF
MakeDefs warning LNK4089: all references to 'USER32.dll' discarded by /OPT:REF
Any help appreciated.
BTW, I am trying to compile the DC++ .4034 source
-
ivulfusbar
- Posts: 506
- Joined: 2003-01-03 07:33
Post
by ivulfusbar » 2004-11-23 00:53
Read it a 11th time, and search the forum again. It has been answered many times.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Post
by TheParanoidOne » 2004-11-23 01:24
The most obvious thing would be to search the Programmer's Help section for "atlapp".
-
FileMonkey441
- Posts: 5
- Joined: 2004-11-22 04:42
Post
by FileMonkey441 » 2004-11-23 01:29
My version of Visual Studio .NET 2003 is the newest version around. So I still need to do the SDK update?
Since atlapp.h is located in the WTL, I dont think the SDK has anything to do with it.
BWT, I have been searching the forums for atleast a couple hours now.
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Post
by TheParanoidOne » 2004-11-23 01:35
Well the handfull of links I looked at indicated that it was user error in including the relevant include directories. They did not mention SDK updates at all.
-
FileMonkey441
- Posts: 5
- Joined: 2004-11-22 04:42
Post
by FileMonkey441 » 2004-11-23 01:44
possibly my STLport and WTL includes are out of date? If so, could you point to the URL with the latest includes because I read around the forum that there are 2 versions, outdated ones and the "good" ones. Thanks
the ones im using:
DCPlusPlus-STLPort-4.6.2
wtl75_4291
-
FileMonkey441
- Posts: 5
- Joined: 2004-11-22 04:42
Post
by FileMonkey441 » 2004-11-23 02:57
Ok, I got it all working now. What I did was copy all my WTL files into the $(VCInstallDir)include Directory because for some reason VS .NET 2003 didnt want to read it from the directory I added in the include. So that then brought me up with another Error saying natupnp.h was missing. That file is mentioned in the compile.txt So I downloaded the natupnp.h file and copied it to the $(VCInstallDir)include directory. Now it compiles with no fatal errors. =]
The File natupnp.h can be found here:
http://dcplusplus.sourceforge.net/cgi-b ... cgi?id=127
ThankYou for all the replies!