How to compile EMULE in Visual C ++. Net 2003

xiaoxiao2021-03-06  87

Author: loleeve Date: 2004-10-10e-mail: loleeve@hotmail.com build environment: Microsoft Visual C .NET 2003 (v7.0) eMule version: 0.44b [1] download the source code and supporting libraries 1. Download eMule V0.44B Source code http://www.emule-project.com/2.crypto v5.1 http://www.eskimo.com/~wEidai/cryptlib.html3.zlib v1.2.1 http: // www. Gzip.org/zlib/4.id3lib v3.8.3 http://sourceforge.net/projects/id3lib/5.libpng http://www.libpng.org/pub/png/libpng.html or http: // sourceforge .NET / Projects / LibPng / 6.resizAblelib 1.3 http://sourceforge.net/projects/resizablelib/ [2] Compiles the library required by EMULE. Note: Run-Time Libaray, which compiled all library, is unified with multi-threaded (/ MT) 1.crypto v5.1 for VC . Net 2003 compiler, we must make the following modifications to source code: In File Integer. in the cpp AllocatorBase :: pointer AlignedAllocator :: allocate (size_type n, const void *) to CPP_TYPENAME AllocatorBase :: pointer AlignedAllocator :: allocate (size_type n, const void *) pubkey.h file in the template class DL_KeyImpl: public PK {public: typedef GP GroupParameters; OID GetAlgorithmID () const {return GetGroupParameters () GetAlgorithmID ();} to template class DL_KeyImpl: public PK {public:. typedef GP GroupParameters; O GetAlgorithmID () const {return GetGroupParameters () GetAlgorithmID ();} release version then compiled, and the generated headers cryptlib.lib Put it Crypto51 under EMULE. 2.ResizAblelib 1.3 compiles the Release Static version, copy the ResizAbleLib.lib and header file to the resizablelib under the emule. 3. Zlib v1.2.1 First, open the Zlib / Makefile.msc file, change cflags = -nologo -md -O2 $ (LOC) to cflags = -nologo -mt -O2 $ (LOC) unified use / MT Runtime Library . Then, run NMAKE / A / F WIN32 / Makefile.msc under ZLIB / under.

转载请注明原文地址:https://www.9cbs.com/read-107893.html

New Post(0)