Openssl은 C언어로 작성 된 암호화 오픈 소스 라이브러리이다.
설치해야 할 것들
https://openssl-library.org/source/index.html
Downloads
The master sources are maintained in our git repository, which is accessible over the network and cloned on GitHub, at https://github.com/openssl/openssl. Bugs and pull patches (issues and pull requests) should be filed on the GitHub repo. Please familiari
openssl-library.org
Perl 설치
https://strawberryperl.com/
Strawberry Perl for Windows
Perl is a programming language suitable for writing simple scripts as well as complex applications — see https://www.perl.org. Strawberry Perl is a perl environment for MS Windows containing all you need to run and develop perl applications. It is design
strawberryperl.com
어셈블리 언어 컴파일러 설치
http://www.nasm.us
NASM
Latest version Stable 2.16.03 History Builds List Snapshots Latest, List For users of RPM-based Linux distributions (e.g. Fedora, Red Hat, SUSE, ...), you can download the official NASM builds using dnf or yum by installing nasm.repo in your /etc/yum/yum.r
www.nasm.us

환경 변수 등록


Visual studio x64 Native Tools 커맨드창을 켜준다.

명령어
perl Configure VC-WIN64A --prefix=c:\Users\sg\Desktop\src\build --openssldir=c:\Users\sg\Desktop\src\build\ssl
perl : Perl 인터프리터 호출
Configure : Perl의 빌드 설정을 위한 스크립트 실행
VC-WIN64A : Visual C++ 컴파일러로 64bit 환경에서 빌드
--prefix ~~ : Perl이 설치된 기본 경로 지정
--openssldir ~~ : OpenSSL 라이브러리의 설치 경로 지정

nmake는 Visual Studio를 설치 시같이 제공되며 Makefile을 기반으로 동작
명령어 입력
nmake

nmake를 하게 되면 해당 경로에 라이브러리등 여러 파일들이 생성되기에
nmake install 을 통해 내가 설정한 경로에 복사를 진행시켜 준다.


'C++ 관련 참고' 카테고리의 다른 글
| Spdlog Lib 만들기 (0) | 2025.06.10 |
|---|---|
| visual studio 2022 C++ Linux 원격 빌드 (0) | 2025.03.19 |
| Cpp_Redis 라이브러리 추가 (0) | 2024.11.23 |
| WSL2 Ubuntu 22.04 LTS Redis 설치 (0) | 2024.11.22 |
| WSL2 설치 (Windows Subsytem for Linux) Ubuntu 22.04 LTS (0) | 2024.11.22 |