Page 1 of 1

Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Posted: Wed Oct 19, 2016 1:41 am
by pigbaby
Dear Sir
I try to compile 4.0.7 using Visual Studio 2008/2012
but
linker has error message
linker can't found
libcrypto-38.lib libssl-39.lib libtls-11.lib

Has any one can tell me .where can download or get it ?
thanks.

Re: Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Posted: Wed Oct 19, 2016 3:56 pm
by Syzop
You can now download the libraries used for UnrealIRCd 4.0.7's build at https://www.vulnscan.org/unrealwin32dev
Extract all these to c:\dev

I use the following make command to build official UnrealIRCd (from c:\dev\unrealircd-4.0.7 or similar):

Code: Select all

nmake -f makefile.win32 USE_ZIPLINKS=1 USE_SSL=1 OPENSSL_INC_DIR="C:\dev\libressl\include" OPENSSL_LIB_DIR="C:\dev\libressl\x86" USE_REMOTEINC=1 LIBCURL_INC_DIR="c:\dev\curl-ssl\include" LIBCURL_LIB_DIR="C:\dev\curl-ssl\builds\libcurl-vc-x86-release-dll-ssl-dll-ipv6-sspi-obj-lib" CARES_LIB_DIR="C:\dev\c-ares\msvc110\cares\dll-release" CARES_INC_DIR="C:\dev\c-ares" CARESLIB="cares.lib" TRE_LIB_DIR="C:\dev\tre\win32\release" TRE_INC_DIR="C:\dev\tre" TRELIB="tre.lib" PCRE2_INC_DIR="c:\dev\pcre2\build" PCRE2_LIB_DIR="c:\dev\pcre2\build\release" PCRE2LIB="pcre2-8.lib"
nmake -f makefile.win32 SYMBOLFILE
nmake -f makefile.win32 USE_ZIPLINKS=1 USE_SSL=1 OPENSSL_INC_DIR="C:\dev\libressl\include" OPENSSL_LIB_DIR="C:\dev\libressl\x86" USE_REMOTEINC=1 LIBCURL_INC_DIR="c:\dev\curl-ssl\include" LIBCURL_LIB_DIR="C:\dev\curl-ssl\builds\libcurl-vc-x86-release-dll-ssl-dll-ipv6-sspi-obj-lib" CARES_LIB_DIR="C:\dev\c-ares\msvc110\cares\dll-release" CARES_INC_DIR="C:\dev\c-ares" CARESLIB="cares.lib" TRE_LIB_DIR="C:\dev\tre\win32\release" TRE_INC_DIR="C:\dev\tre" TRELIB="tre.lib" PCRE2_INC_DIR="c:\dev\pcre2\build" PCRE2_LIB_DIR="c:\dev\pcre2\build\release" PCRE2LIB="pcre2-8.lib"
This is with Visual Studio 2012

Re: Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Posted: Thu Oct 20, 2016 2:16 am
by pigbaby
thank you a lot
:D

Re: Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Posted: Thu Oct 20, 2016 8:07 am
by Syzop
Since these instructions were missing I've now created a new page on the wiki/docs: https://www.unrealircd.org/docs/Compili ... on_Windows