Can someone tell me how can i solve this problem ? I'll wait for ur answer .. Thanks !Compiling...
UPnP.cpp
c:\Documents and Settings\WeK\Desktop\DCPlusPlus-0.674-src\windows\UPnP.h(26) : fatal error C1083: Cannot open include file: 'natupnp.h': No such file or directory
Compiling problems with VS.Net 2003
Moderator: Moderators
Compiling problems with VS.Net 2003
Hi..i've just installed VS.Net 2003 and when i'm trying to compile the project i keep getting this error :
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
You need to download the platfrom sdk from http://www.microsoft.com/downloads/deta ... laylang=en.
Then you must add the following entries in Settings->Projects->VC++ Directories in vs .net 2003.
Executable files: platfromsdkpath/bin
Include files: platfromsdkpath/include
Library files: platfromsdkpath/lib
Then you must add the following entries in Settings->Projects->VC++ Directories in vs .net 2003.
Executable files: platfromsdkpath/bin
Include files: platfromsdkpath/include
Library files: platfromsdkpath/lib
Whichever one pertains to your chipset, presumable x86 if you've got P3 or P4 intel chip.Wecks wrote:joakim_tosteberg.. there are severals programs :PSDK-amd64.exe , PSDK-ia64.exe , PSDK-x86.exe . Which one i need to install ?
Or, as compile.txt says: "Since all you need is this one file, you can ask someone at the dev hub to supply it for you (or look for it in the DC++ bugzilla, it's attached to one of the bugs)"
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Now that is a bad idea, you should rather find out why you can't install platform SDK...Wecks wrote:Thanks ...i , finally , managed to compile it !! Thanks !! I couldn't install SDK platform (i tried several times to install it but i get an error during the installation
. ) I've downloaded the 'natupnp.h' file !
<random funny comment>
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Well... during the SDK platform installation i (every time i try to install it) get this message:
Maybe u can help me ! Thanks !
Even if i retry the installation i get this message again ...! I don't know what should i do !Error 1606. Could not access network location http://download.microsoft.com/download/ ... mmon.1.cab.
Maybe u can help me ! Thanks !
-
- Posts: 164
- Joined: 2005-01-06 08:39
- Location: HU
- Contact:
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Is the extra dot at the end of the link just an error on you part or is it actually included in the real link? Because if I remove it the link works perfectly.Wecks wrote:Well... during the SDK platform installation i (every time i try to install it) get this message:Even if i retry the installation i get this message again ...! I don't know what should i do !Error 1606. Could not access network location http://download.microsoft.com/download/ ... mmon.1.cab.
Maybe u can help me ! Thanks !
Check so that you don't have any software firewall which might block the installer from downloading the neccesary files.
-
- Posts: 164
- Joined: 2005-01-06 08:39
- Location: HU
- Contact:
joakim_tosteverg wrote:
Yes Joakim , it is included in the real link ....(Is the extra dot at the end of the link just an error on you part or is it actually included in the real link? Because if I remove it the link works perfectly.
Check so that you don't have any software firewall which might block the installer from downloading the neccesary files.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
What you have gone through is a lot more work than locating bug 127 in bugzilla and installing the header files to the appropriate place (which is the same directory as the other SDK UPnP includes.)
Hi guys... do u have any ideea how can i fix this ?
Thanks.. for helping me !
------ Build started: Project: client, Configuration: Debug Win32 ------
Performing Pre-Build Event...
The system cannot find the path specified.
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
(and also)
Linking...
LINK : fatal error LNK1104: cannot open file '.\vc7\Debug\client\client.lib'
Thanks.. for helping me !
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Could be that you are missing Python needed to generrate Stringdefs.cpp and Example.xml
Compile.txt wrote: Note 5; You need to have python installed if you change StringDefs.h, as a small python script is automatically
run to generate StringDefs.cpp and Example.xml. To turn it off or change python path, go to
client->Header Files->StringDefs.h->Properties->Custom build step and change the appropriate values.
The help file's changelog.html is also updated via a python script (courtesy of fusbar).
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us