couple of issues

269 views
Skip to first unread message

Stephen James

unread,
Aug 20, 2014, 5:55:02 PM8/20/14
to cryptop...@googlegroups.com
Downloaded the latest cryptopp using svn to windows. Working in MSVS 2010 express.

In order to get the projects to load I had to remove the x64 configurations. 

Issues:

1 - building cryptlib - but no file named cryptlib.lib is created.
     - get unresolved externs when building cryptest.
2 - dlltest compiles but get the following on execution:

'dlltest.exe': Loaded 'C:\Work\cryptopp\Win32\DLL_Output\Debug\dlltest.exe', Symbols loaded.
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Work\cryptopp\Win32\DLL_Output\Debug\cryptopp.dll', Symbols loaded.
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Cannot find or open the PDB file
In memory integrity check failed. This may be caused by debug breakpoints or DLL relocation.
Crypto++ DLL integrity check failed. Actual MAC is: 441C99E4E804DC34A8F533FC9E5F07DCCB8E0725
First-chance exception at 0x77841d4d in dlltest.exe: Microsoft C++ exception: int at memory location 0x0093f8c4..
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\tiptsf.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\oleacc.dll', Cannot find or open the PDB file
'dlltest.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
The program '[10300] dlltest.exe: Native' has exited with code 3 (0x3).

Jeffrey Walton

unread,
Aug 30, 2014, 11:55:02 PM8/30/14
to cryptop...@googlegroups.com


On Wednesday, August 20, 2014 5:55:02 PM UTC-4, Stephen James wrote:
Downloaded the latest cryptopp using svn to windows. Working in MSVS 2010 express.

In order to get the projects to load I had to remove the x64 configurations. 

Issues:

1 - building cryptlib - but no file named cryptlib.lib is created.
     - get unresolved externs when building cryptest.
After the download and unpack, open in VS. Then, in the project explorer, right click on "cryptlib" project and set "make startup project" (or similar).

Alternately, you can do Build -> Batch Build and check the four "cryptlib" configurations.
 
2 - dlltest compiles but get the following on execution...
Yeah, the DLL is usually for the FIPS gear and can cause aggravation. Avoid it if possible.

When you need a DLL, then create your own DLL and link your DLL to "cryptlib.lib".

Jeff

Reply all
Reply to author
Forward
0 new messages