Ingredients
DocumentationInstalling cryptopp-php
There are a few tips besides the ones in the documentation that will help. First of all, because you will be compiling a php library, you'll need to have the php source code headers. You can find the latest stable version here. First, compile the Crypto++ workspace according to the instructions above. Now, open up the cryptopp.dsw. Under Tools->Options->Directories->Include files, add the 'main' directory from the php source code. You need this to access php.h. In the same place, add the directory for Crypto++ containing hex.h. Finally, if you followed the directions above, you would have, under Tools->Options->Directories->Library files, added the Crypto++ RELEASE directory. I should write something to put this all together. Still after that, you need to have php4ts.lib. Fortunately, you don't have to recompile PHP, it can be found in the main directory of your PHP install. Add that to Tools->Options->Directories->Library. Once you do this, you will be able to compile... albeit with a lot of warnings. I got 2343!!