[Top] / [eMule] / [cleanup]

MetMedic
eMule cleanup
eMule Light
Libraries
Cleanup
0.29a
0.29b
0.29c
0.30a

eMule library requirements

In version 0.30a, the following libraries are required:
crypto++ (version 5.1)
zlib (version 1.1.4)
id3lib
libpng

I created directories D:\SoftDev\include and D:\SoftDev\lib to hold external libraries. Under include I create directory for each library (or library compilation), to which the external headers of that library will go. So, each project will have Output Directory set to the libdir, and you'll have to change that to match your libdir.

I added libdir and include-dir to LIB and INCLUDE environment variables, and also in VS options added them to lib & include searchpaths. I guess the latter should be unnecessary, as for all I know VS uses the environment variables too.

Thus I need to compile them just once, and they're available for all development work - whether eMule or something else - easily. This means that I don't compile them for each version of eMule separately, but will need to patch eMule to handle the includes correctly and change library dependencies in eMule project file so that it'll find the correct library.

Interestingly enough, all of the lib, pdb and pch contain the original compile location. How fun. As it'd even exist when I have compiled and installed the library and includes. Well, the same holds true about MS's own libraries.. Well, they seem to work well enough, so who cares..

My methods only cover VS2002, as I don't have 2003. If you use 2003, you may need to apply additional patches.