⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compile.txt

📁 p2p技术C源代码.rar
💻 TXT
字号:
How to compile in 4 easy steps:

1) Make sure you've downloaded the WTL 7.0 Package and have all the files in it in your include path.
   You can find it on the dc++ sourceforge site. Mind the version.

2) Make sure you have stlport 4.5.3 installed and that it's included _before_ the standard vc directories
   Use the one supplied on the dc++ sourceforge page (do not use the one from www.stlport.org unless 
   you know what you're doing, I've modified it a little bit). Mind the version.

3) Make sure you have a fairly recent platform sdk (November 2001 or newer has worked for me)
   The sdk is freely available from ms: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
   You need the core sdk at least (not the 64-bit edition...)
   Make sure that this sdk is included _before_ the standard vc directories.

4) Open the project workspace and press your build button.

Note 1;	you'll probably get a whole bunch of warnings, ignore those, it's a bug in the compiler...

Note 2;	I usually use vc7, but I try to keep it vc6 compatible as well.

Note 3;	You'll need DBGHELP.dll from the binary distribution unless you're using WinXP, otherwise you'll get
	errors saying symbols are missing when running your compiled executable. My copy says version 5.1.2600.1106
	right now.

Note 4;	If you have problems, read the forum posts before posting. Somebody else has probably done your mistake
	already.

By the way, with doxygen, graphviz and some luck you can use the supplied doxygen configuration file
to generate some nice docs...just check that the paths in doxyfile are correct (graphviz)...


Submitting patches

If you think you've done something that more people could use, you can always submit a patch for inclusion in the
original distribution. I will then consider whether I like the patch or not based on things that might seem to be 
completely random, which just might be the case. Popular reasons for rejecting a patch include, but are not limited to,
ugly code, abusable features, feature that I don't like that bloat the applications and incompatibility with other 
modifications I've already done. 
To increase the chances of your patch being accepted, mail them to me (j_s@telia.com) as diffs against the latest 
code you can find (for the moment, it should be the cvs repository on sourceforge, but sometimes I forget to 
update it, so check the source code distribution of the latest release as well...). You can find a lot of 
information about diff and patch by googling for it. 
By submitting a patch, you agree to that I get copyright of it. This to avoid stupid situations later on where
the copyright is split out over a million people, each of which could stop further distribution of DC++. If you don't
like this, start your own distribtution, if you're lucky it might become more popular than the original =).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -