{"action":"created","issue":{"url":"https://api.github.com/repos/PeterMosmans/openssl/issues/34","labels_url":"https://api.github.com/repos/PeterMosmans/openssl/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/PeterMosmans/openssl/issues/34/comments","events_url":"https://api.github.com/repos/PeterMosmans/openssl/issues/34/events","html_url":"https://github.com/PeterMosmans/openssl/issues/34","id":128615512,"number":34,"title":"Visual Studio build error - e_chacha20poly1305.c","user":{"login":"nabla-c0d3","id":1915165,"avatar_url":"https://avatars.githubusercontent.com/u/1915165?v=3","gravatar_id":"","url":"https://api.github.com/users/nabla-c0d3","html_url":"https://github.com/nabla-c0d3","followers_url":"https://api.github.com/users/nabla-c0d3/followers","following_url":"https://api.github.com/users/nabla-c0d3/following{/other_user}","gists_url":"https://api.github.com/users/nabla-c0d3/gists{/gist_id}","starred_url":"https://api.github.com/users/nabla-c0d3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabla-c0d3/subscriptions","organizations_url":"https://api.github.com/users/nabla-c0d3/orgs","repos_url":"https://api.github.com/users/nabla-c0d3/repos","events_url":"https://api.github.com/users/nabla-c0d3/events{/privacy}","received_events_url":"https://api.github.com/users/nabla-c0d3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-25T19:21:06Z","updated_at":"2016-01-26T13:48:49Z","closed_at":null,"body":"Hi, I'd like to use your fork of OpenSSL for an SSL scanner I'm working on, but I'm getting a build error when targeting Windows 32 bits with Visual Studio (for 1.0.2-chacha):\r\n\r\n    Configuring for VC-WIN32\r\n        no-asm          [option]   OPENSSL_NO_ASM\r\n        no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)\r\n        no-gmp          [default]  OPENSSL_NO_GMP (skip dir)\r\n        no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)\r\n        no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5\r\n        no-libunbound   [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)\r\n        no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)\r\n        no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)\r\n        no-shared       [option]\r\n        no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)\r\n        no-store        [experimental] OPENSSL_NO_STORE (skip dir)\r\n        no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)\r\n        no-zlib-dynamic [option]\r\n    IsMK1MF=1\r\n    CC            =cl\r\n    CFLAG         =-DZLIB -DOPENSSL_THREADS  -DDSO_WIN32 -DZLIB_WINAPI -W3 -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_\r\n    ECATE\r\n    EX_LIBS       = -LC:\\Users\\user\\Documents\\builds\\nassl32\\bin\\zlib\\win32 -lz\r\n    CPUID_OBJ     =mem_clr.o\r\n    BN_ASM        =bn_asm.o\r\n    EC_ASM        =\r\n    DES_ENC       =des_enc.o fcrypt_b.o\r\n    AES_ENC       =aes_core.o aes_cbc.o\r\n    BF_ENC        =bf_enc.o\r\n    CAST_ENC      =c_enc.o\r\n    RC4_ENC       =rc4_enc.o rc4_skey.o\r\n    CHACHA_ENC    =chacha_enc.o\r\n    POLY1305      =poly1305.o\r\n    RC5_ENC       =rc5_enc.o\r\n    MD5_OBJ_ASM   =\r\n    SHA1_OBJ_ASM  =\r\n    RMD160_OBJ_ASM=\r\n    CMLL_ENC      =camellia.o cmll_misc.o cmll_cbc.o\r\n    MODES_OBJ     =\r\n    ENGINES_OBJ   =\r\n    PROCESSOR     =\r\n    RANLIB        =true\r\n    ARFLAGS       =\r\n    PERL          =perl\r\n    THIRTY_TWO_BIT mode\r\n    BN_LLONG mode\r\n    RC4_INDEX mode\r\n    RC4_CHUNK is undefined\r\n    \r\n    Configured for VC-WIN32.\r\n    \r\n    C:\\Users\\user\\Documents\\builds\\nassl32\\openssl>perl util\\mkfiles.pl  1>MINFO\r\n    \r\n    C:\\Users\\user\\Documents\\builds\\nassl32\\openssl>perl util\\mk1mf.pl no-asm VC-WIN32  1>ms\\nt.mak\r\n    \r\n    C:\\Users\\user\\Documents\\builds\\nassl32\\openssl>perl util\\mk1mf.pl dll no-asm VC-WIN32  1>ms\\ntdll.mak\r\n    \r\n    C:\\Users\\user\\Documents\\builds\\nassl32\\openssl>if x == x goto skipce\r\n    \r\n    C:\\Users\\user\\Documents\\builds\\nassl32\\openssl>perl util\\mkdef.pl 32 libeay  1>ms\\libeay32.def\r\n    \r\n    C:\\Users\\user\\Documents\\builds\\nassl32\\openssl>perl util\\mkdef.pl 32 ssleay  1>ms\\ssleay32.def\r\n    \r\n    Microsoft (R) Program Maintenance Utility Version 9.00.21022.08\r\n    Copyright (C) Microsoft Corporation.  All rights reserved.\r\n    \r\n    Building OpenSSL\r\n            perl .\\util\\copy-if-different.pl \".\\crypto\\buildinf.h\" \"tmp32\\buildinf.h\"\r\n    Copying: ./crypto/buildinf.h to tmp32/buildinf.h\r\n            perl .\\util\\copy-if-different.pl \".\\crypto\\opensslconf.h\" \"inc32\\openssl\\opensslconf.h\"\r\n    Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h\r\n            cl /Fotmp32\\e_chacha20poly1305.obj  -Iinc32 -Itmp32 -DZLIB_WINAPI  /MT /Ox /O2 /Ob2 -DZLIB -DOPENSSL_THREADS  -DDSO_WIN32 -DZ\r\n    DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DZLIB -DOPEN\r\n    r\\Documents\\builds\\nassl32\\zlib-1.2.8 /Zl /Zi /Fdtmp32/lib -c .\\crypto\\evp\\e_chacha20poly1305.c\r\n    e_chacha20poly1305.c\r\n    .\\crypto\\evp\\e_chacha20poly1305.c(51) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory\r\n    NMAKE : fatal error U1077: '\"C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\cl.EXE\"' : return code '0x2'\r\n    Stop.\r\n\r\nIt looks like stdint.h does not exist within Visual Studio, but I do not know how OpenSSL usually handles this. Is there a tag or commit that is known to build fine with Visual Studio ?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/PeterMosmans/openssl/issues/comments/175022955","html_url":"https://github.com/PeterMosmans/openssl/issues/34#issuecomment-175022955","issue_url":"https://api.github.com/repos/PeterMosmans/openssl/issues/34","id":175022955,"user":{"login":"PeterMosmans","id":1465302,"avatar_url":"https://avatars.githubusercontent.com/u/1465302?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterMosmans","html_url":"https://github.com/PeterMosmans","followers_url":"https://api.github.com/users/PeterMosmans/followers","following_url":"https://api.github.com/users/PeterMosmans/following{/other_user}","gists_url":"https://api.github.com/users/PeterMosmans/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterMosmans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterMosmans/subscriptions","organizations_url":"https://api.github.com/users/PeterMosmans/orgs","repos_url":"https://api.github.com/users/PeterMosmans/repos","events_url":"https://api.github.com/users/PeterMosmans/events{/privacy}","received_events_url":"https://api.github.com/users/PeterMosmans/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T13:48:49Z","updated_at":"2016-01-26T13:48:49Z","body":"Issue closed for x86, still open for x64"}}