[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Microsoft Visual C++ & Crypto++ v2.3
Hello All,
After a recent question regarding this issue, I thought I might be
useful to post the following information to this list that was posted to the
Crypto++ list a month ago. It may be particularly helpful to those trying
to use Crypto++ with the Free CTI Library and the SFL using the Microsoft
compiler:
>ORIGINAL MESSAGE:
>I include cryptlib in my project, set the Additional Include Directories to
>point to the crypto++ directory, then include a crypto header file in my
>project.
>
>I get a compile error, as iosfwd is recursively including itself, only
>because MSDEV is misinterpreting the "#include <iosfwd>" line in
>crypto\iosfwd and not loading the vc version.
>
>RESPONSE:
>The easiest solution would be to do "delete fstream iomanip iosfwd
>iostream strstream" in the Crypto++ directory. Those files are only useful
>with EGCS to work around the lack of standard iostream headers. With MSVC
>if they are deleted the compiler will automatically find the standard
>headers. Hopefully by the next release of Crypto++ EGCS will also have the
>standard headers.
>
So, if you have problems building Crypto++ with Microsoft Visual C++
regarding recursive includes going to deep, delete the three mentioned
files...
dave harris, VDA