(Answer) (Category) Crypto++ Faq-O-Matic :
I'm getting internal compiler errors on Windows 98.
Moderator: weidai (inherited from parent)
This seems to be a bug in MSVC which does occur only on Windows 9x and not on Windows NT/2000/XP. You can work around it by compiling the .cpp file that causes the error individually, and then continue the build process. Or, according to johnyang, disabling precompiled headers will solve this problem.
2002-Feb-19 8:04pm weidai
I encountered the same problem attempting to build cryptlib.lib with MSVC 6 (SP5) on Win 98 SE. I tried compiling each cpp file individually. No problem with that, but still couldn't build the lib. Turning off use of the precompiled header did the trick.
TIP: Don't remove the definition "USE_PRECOMPILED_HEADERS" from the Project Options. Even though it seems like a contradiction, the definition is needed in the build. Just go to the C/C++ tab under project settings, choose the Precompiled Headers category and select "Not using prcompiled headers." It's only necessary to do this for the cryptlib project. The crypttest project will build fine as-is.

2002-Jul-21 1:26pm ghaecker
[Append to This Answer]
2008-Sep-19 7:37pm
Previous: (Answer) I compiled cryptest.exe successfully, but am getting linker errors with my own application.
Next: (Answer) How can I contribute to this FAQ?
This document is: http://www.cryptopp.com/cgi-bin/fom.cgi?file=52
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.721.
This FAQ is administered by Wei Dai.