글 목록
Windows 에서 openssl 사용 1. [펄] 설치 (https://www.activestate.com/activeperl/downloads), 윈도우 컴 파일 의존 1.1 또는 [Strawberry Perl] 설치 (http://strawberryperl.com/) 2. 압축 풀기 [openssl] (https://www.openssl.org/source/) 3.vs2015 3.1 에 다음 과 같은 오류 가 발생 했다 3.2 오류 가 발생 하면 4. cmd 명령 nmake 컴 파일 5. cmd 명령 nmake test 컴 파일 6. cmd 명령 nmake install 컴 파일 7. 설정 vs 2015 nmake clean 컴 파일 된 openssl 제거 안 드 로 이 드 플랫폼 에서 사용 하 는 openssl 컴 파일
공식 설명 문서 Windows openssl 사용
1. Perl 설치, window 컴 파일 의존
Perl 설치 성공 path 기록, 이 옵션 선택 테스트 설치 성공: perl - v 버 전 정보 정확하게 표시 1.1 또는 Strawberry Perl 설치
NASM 을 설치 하고 환경 변 수 를 설정 합 니 다. - 필요 하 십 니까? 2. 압축 풀기 openssl 다운로드
3.vs2015
시작 - 모든 응용 - vs 2015 - 개발 자 명령 알림 openssl 루트 디 렉 터 리 로 전환 cd /d openssl
openssl 설정 perl Configure VC-WIN32 --prefix=" "
정적 라 이브 러 리 libcrypto. lib, libssl. lib 만 컴 파일 하려 면 명령 파라미터 no - shared 를 추가 합 니 다.
perl Configure VC-WIN32 shared no-asm no-shared --prefix=" "
3.1 다음 과 같은 오류 발생
It looks like you don't have either nmake.exe or dmake.exe on your PATH,
so you will not be able to execute the commands from a Makefile. You can
install dmake.exe with the Perl Package Manager by running:
ppm install dmake
cmd 명령 입력: ppm install dmake 3.2 오류 발생 시
ppm install failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed
C: \ \ Users \ \ Administrator \ AppData \ \ Local \ \ ActiveState \ \ ActivePerl \ \ 의 폴 더 삭제 4. cmd 명령 nmake 컴 파일
5. cmd 명령 nmake test 컴 파일
6. cmd 명령 nmake install 컴 파일
결과 디 렉 터 리 의 폴 더 [lib, include, bin, html] 7. 설정 vs 2015
속성 - VC + ± 디 렉 터 리 포함 [include] 속성 - VC + ± 라 이브 러 리 디 렉 터 리 [lib] 속성 - VC + ± 링크 라 이브 러 리 디 렉 터 리 [libssl. lib, libcrypto. lib] libssl. lib 는 libcrypto. lib 앞 에 있어 야 합 니 다. 순 서 는 주의해 야 합 니 다. 그렇지 않 으 면 오류 가 발생 할 수 있 습 니 다 nmake clean 컴 파일 된 openssl 제거
Android 플랫폼 에서 사용 하 는 openssl 을 컴 파일 합 니 다.
공식 설명 문서