{"id":390,"date":"2024-05-01T21:54:04","date_gmt":"2024-05-01T13:54:04","guid":{"rendered":"https:\/\/www.carpelockgames.com\/?p=390"},"modified":"2024-05-01T21:54:05","modified_gmt":"2024-05-01T13:54:05","slug":"build-openssl-on-windows","status":"publish","type":"post","link":"https:\/\/www.carpelockgames.com\/?p=390","title":{"rendered":"Build OpenSSl on Windows"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Download required OpenSSL version and extract\n<ul class=\"wp-block-list\">\n<li><em>Note: p4api 2023.x uses OpenSSL 1.0.2t<\/em>, click to <a href=\"https:\/\/www.openssl.org\/source\/old\/1.0.2\/openssl-1.0.2t.tar.gz\" data-type=\"link\" data-id=\"https:\/\/www.openssl.org\/source\/old\/1.0.2\/openssl-1.0.2t.tar.gz\">download <\/a>this version<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Follow the instruction shipping with OpenSSL\n<ol class=\"wp-block-list\" style=\"list-style-type:lower-alpha\">\n<li>Open file <em>INSTALL.W64<\/em> in the root folder<\/li>\n\n\n\n<li>Install <strong>Stawberry Perl<\/strong> if not yet (do NOT use ActivateState Perl)<\/li>\n\n\n\n<li>Install <strong>NASM<\/strong> if not yet\n<ol class=\"wp-block-list\" style=\"list-style-type:lower-roman\">\n<li>Need add envitonment varial path mannually for it<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Use Visual Studio Developer Command Prompt with administrative privileges\n<ol class=\"wp-block-list\" style=\"list-style-type:lower-roman\">\n<li>NOTE: Use the right one (we use x64 version here)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-media-text is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"634\" height=\"256\" src=\"https:\/\/www.carpelockgames.com\/wp-content\/uploads\/2024\/05\/VSCommandPrompt.png\" alt=\"\" class=\"wp-image-394 size-full\" srcset=\"https:\/\/www.carpelockgames.com\/wp-content\/uploads\/2024\/05\/VSCommandPrompt.png 634w, https:\/\/www.carpelockgames.com\/wp-content\/uploads\/2024\/05\/VSCommandPrompt-512x207.png 512w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>Use commands in the prompt:<\/p>\n\n\n\n<p>cd \/d &lt;OpenSSL source root path><br>perl Configure VC-WIN64A no-shared &#8211;prefix=&lt;TargetPath><\/p>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Follow the instruction and complete the rest steps\n<ol class=\"wp-block-list\" style=\"list-style-type:lower-roman\">\n<li>Hint: The last step is testing build result, it will tell you whether the build result is correct<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Use commands in the prompt: cd \/d &lt;OpenSSL source root path>perl Configure VC-WIN64A no-shared &#8211;prefix=&lt;TargetPath><\/p>\n","protected":false},"author":1,"featured_media":391,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[10],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-tech"],"_links":{"self":[{"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=390"}],"version-history":[{"count":5,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions\/398"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=\/wp\/v2\/media\/391"}],"wp:attachment":[{"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carpelockgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}