Cześć
Skompilowałem OpenSSL-1.0.1i według tego artykułu(opcja 32b + dbg):
http://p-nand-q.com/programming/windows/building_openssl_with_visual_studio_2013.html
Dodałem w VC++ Dicrectories:
->Include Directories: D:\Build-OpenSSL-VC-12-dbg\include
->Library Directories: D:\Build-OpenSSL-VC-12-dbg\lib
oraz Linker -> Input -> Additional Dependecies: libeay32.lib; ssleay32.lib
Skopiowałem też wszystkie PDB z D:\openssl-1.0.1i-x86\out32dll.dbg do katalogu D:\Build-OpenSSL-VC-12-dbg(jak w artykule) oraz do mojego katalogu projektu wraz z plikami ssleay32.dll i libeay32.dll
Odpalam ten przykładowy kod:
http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/example/ssl/client.cpp
i Visual wyrzuca mi error: "Nie znaleziono porządkowej 313 w bibliotece dołączonej dynamicznie SSLEAY32.DLL"
Output z build wygląda tak:
'boostfun.exe' (Win32): Loaded 'C:\Users\Open\Documents\Visual Studio 2013\Projects\boostfun\Debug\boostfun.exe'. Symbols loaded.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\iCLS Client\libeay32.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'boostfun.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\iCLS Client\ssleay32.dll'. Cannot find or open the PDB file.
First-chance exception at 0x77121D82 (ntdll.dll) in boostfun.exe: 0xC0000138: Ordinal Not Found.
The program '[16428] boostfun.exe' has exited with code -1073741512 (0xc0000138) 'Ordinal Not Found'.
Jak ten problem rozwiązać ?
Dzięki
open_