본문 바로가기

Programming

curl x64 빌드 (for Windows)

1. curl (curl-7.40.0.zip) 을 다운받는다.

http://curl.haxx.se/download.html



2. 아무폴더에 (ex: D:\project\curl-7.40.0) 압축을 푼다.


3. 윈도우에서 모든프로그램->Visual Studio 2013->Visual Studio Tools->VS2013 x64 Native Tools Command Prompt 실행하여 D:\project\curl-7.40.0\winbuild 폴더로 이동


4. nmake /f Makefile.vc mode=<static or dll> <options> 명령어를 입력

* nmake 파일은 비주얼스튜디오가 설치된 폴더\VC\bin 안에 있다.

ex) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin

* option 에 대한 설명은 \winbuild\BUILD.WINDOWS.txt 안을 참고


ex) Visual Studio 2013 버전이며, OpenSSL을 사용시

nmake /f Makefile.vc mode=dll VC=12 WITH_DEVEL=C:\OpenSSL-x64 WITH_SSL=dll ENABLE_SSPI=no ENABLE_WINSSL=no ENABLE_IPV6=yes MACHINE=x64



5. 컴파일이 완료되면 \curl-7.40.0\builds 안에 생성된 파일들이 있다.