microsoft / openssl

A cross-platform cryptographic library
133 stars 57 forks source link

Running vs_dovsprojects.bat does not build OpenSSL_1_0_2_WinRT-stable #15

Open StSimmons opened 9 years ago

StSimmons commented 9 years ago

Hangs after:

` 1 file(s) copied. creating project vsout\NT-Store-8.1-Static-Unicode Configuring for VC-WINSTORE no-asm [option] OPENSSL_NO_ASM no-deprecated [default] OPENSSL_NO_DEPRECATED (skip dir) no-dso [option]
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-hw [option] OPENSSL_NO_HW no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-md2 [default] OPENSSL_NO_MD2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-sctp [default] OPENSSL_NO_SCTP (skip dir) no-shared [default] no-ssl-trace [default] OPENSSL_NO_SSL_TRACE (skip dir) no-store [experimental] OPENSSL_NO_STORE (skip dir) no-unit-test [default] OPENSSL_NO_UNIT_TEST (skip dir) no-zlib [default] no-zlib-dynamic [default] IsMK1MF=1 CC =cl CFLAG =-DOPENSSL_THREADS -DUNICODE -D_UNICODE -Zi -W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DOPENSSL_WINAPP -FIsdkddkver.h -DUNICODE -D_UNICODE EX_LIBS = CPUID_OBJ =mem_clr.o BN_ASM =bn_asm.o EC_ASM = DES_ENC =des_enc.o fcrypt_b.o AES_ENC =aes_core.o aes_cbc.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o rc4_skey.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= CMLL_ENC =camellia.o cmll_misc.o cmll_cbc.o MODES_OBJ = ENGINES_OBJ = PROCESSOR = RANLIB =/c/cygwin/bin/ranlib ARFLAGS = PERL =/bin/perl THIRTY_TWO_BIT mode BN_LLONG mode RC4_INDEX mode RC4_CHUNK is undefined

Configured for VC-WINSTORE. unknown option - no-dso no rule for apps\ at util\mk1mf.pl line 1252. File include/openssl/tls1.h: cannot parse: ()

INFO::;

File include/openssl/tls1.h: cannot parse: ()

INFO::;

`

khouzam commented 9 years ago

Hi @SimmonsTech,

OpenSSL requires ActivePerl on Windows. This is mentioned in the install.WIN32 but not in the install.WINUNIVERSAL one. I will make a not of it.

Can you try with ActivePerl and see if that solves your issue, otherwise, I'll investigate further.

StSimmons commented 9 years ago

So, ActivePerl does work. It would be good to update the documentation :)

Also, of note, is that I wass previously trying to use the cygwin perl.exe - which according to the install.WIN32 should work. It fails specifically on line: perl util\mkdef.pl 32 libeay > ms\libeay32.def in ms/do_winstore.bat

suresh-dev commented 8 years ago

Hi All,

i am able to generate the binaries of openssl using the instructions mentioned in install.WINUNIVERSAL file. so after generating these binaries how should i add them to my uwp application ? I tried to add these binaries to my uwp application, i am getting errors. could anyone please help me.