Microsoft MVP성태의 닷넷 이야기
개발 환경 구성: 421. vcpkg 업데이트 [링크 복사], [링크+제목 복사]
조회: 14725
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 2개 있습니다.)

vcpkg 업데이트

vcpkg도 업데이트가 필요하군요. ^^

오픈 소스 라이브러리를 쉽게 빌드해 주는 "C++ Package Manager for Windows: vcpkg"
; https://www.sysnet.pe.kr/2/0/11409

명령어로 "vcpkg update"가 있긴 한데 실행해 보면,

c:\temp\vcpkg> vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.

지시에 따라 git pull을 사용해야 합니다.

c:\temp\vcpkg> git pull
...[생략]...

완료된 후 다시 update를 하려고 해도,

c:\temp\vcpkg> vcpkg update
Warning: Different source is available for vcpkg (0.0.100 -> 2018.10.20). Use .\bootstrap-vcpkg.bat to update.
Using local portfile versions. To update the local portfiles, use `git pull`.
The following packages differ from their port versions:
    ilmbase:x64-windows              2.2.0-1 -> 2.2.1-1
    ilmbase:x86-windows              2.2.0-1 -> 2.2.1-1
    libjpeg-turbo:x64-windows        1.5.2-2 -> 1.5.3-1
    libjpeg-turbo:x86-windows        1.5.2-2 -> 1.5.3-1
    libuv:x64-windows                1.18.0 -> 1.24.0
    openssl:x86-windows              1.0.2n-1 -> 0
    openssl:x64-windows              1.0.2n-1 -> 0

To update these packages and all dependencies, run
    .\vcpkg upgrade

To only remove outdated packages, run
    .\vcpkg remove --outdated

이번에는 bootstrap-vcpkg.bat를 실행하라고 합니다. ^^ 어쨌든 그대로 다시 실행하면 업데이트가 됩니다.

c:\temp\vcpkg>bootstrap-vcpkg.bat

Building vcpkg.exe ...

  pch.cpp
  archives.cpp
  checks.cpp
  chrono.cpp
  cofffilereader.cpp
  downloads.cpp
...[생략]..




그런데, vcpkg update 명령어가 좀 혼란스럽습니다. 지금 단계에서도 실행해 보면 다음과 같이 출력되는데,

c:\temp\vcpkg>vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
The following packages differ from their port versions:
    ilmbase:x64-windows              2.2.0-1 -> 2.2.1-1
    ilmbase:x86-windows              2.2.0-1 -> 2.2.1-1
    libjpeg-turbo:x64-windows        1.5.2-2 -> 1.5.3-1
    libjpeg-turbo:x86-windows        1.5.2-2 -> 1.5.3-1
    libuv:x64-windows                1.18.0 -> 1.24.0
    openssl:x64-windows              1.0.2n-1 -> 0
    openssl:x86-windows              1.0.2n-1 -> 0

To update these packages and all dependencies, run
    .\vcpkg upgrade

To only remove outdated packages, run
    .\vcpkg remove --outdated

가만 보면 업데이트는 이미 되었지만 패키지 버전들이 최신의 것들이 있다는 정보가 출력됩니다. 이들을 모두 업그레이드하려면 "vcpkg upgrade"를 실행해야 한다고 하는데,

c:\temp\vcpkg>vcpkg upgrade
The following packages will be rebuilt:
    ilmbase[core]:x64-windows
    ilmbase[core]:x86-windows
    libjpeg-turbo[core]:x64-windows
    libjpeg-turbo[core]:x86-windows
    libuv[core]:x64-windows
    openssl[core]:x64-windows
    openssl[core]:x86-windows
The following packages will be built and installed:
  * openssl-windows[core]:x64-windows
  * openssl-windows[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
If you are sure you want to rebuild the above packages, run this command with the --no-dry-run option.

그래서 ^^; 결국 업그레이드도 다음과 같이 실행해야 합니다.

c:\temp\vcpkg>vcpkg upgrade --no-dry-run

정리해 보면, "vcpkg update" 명령어가 직접적으로 하는 일이 없습니다. 그냥 다른 명령어들을 사용하라고 알려주는 창구에 불과한 것입니다. 어쨌든, 위와 같이 다 해주면 아래와 같은 정도의 출력만을 남기게 됩니다.

c:\temp\vcpkg>vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.

c:\temp\vcpkg>git pull
Already up to date.




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 11/17/2018]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 



2019-07-25 09시51분
정성태

1  2  3  4  5  6  7  8  9  10  11  12  [13]  14  15  ...
NoWriterDateCnt.TitleFile(s)
13297정성태3/26/20234354Windows: 235. Win32 - Code Modal과 UI Modal
13296정성태3/25/20233693Windows: 234. IsDialogMessage와 협업하는 WM_GETDLGCODE Win32 메시지 [1]파일 다운로드1
13295정성태3/24/20233958Windows: 233. Win32 - modeless 대화창을 modal처럼 동작하게 만드는 방법파일 다운로드1
13294정성태3/22/20234129.NET Framework: 2105. LargeAddressAware 옵션이 적용된 닷넷 32비트 프로세스의 가용 메모리 - 두 번째
13293정성태3/22/20234197오류 유형: 853. dumpbin - warning LNK4048: Invalid format file; ignored
13292정성태3/21/20234327Windows: 232. C/C++ - 일반 창에도 사용 가능한 IsDialogMessage파일 다운로드1
13291정성태3/20/20234739.NET Framework: 2104. C# Windows Forms - WndProc 재정의와 IMessageFilter 사용 시의 차이점
13290정성태3/19/20234244.NET Framework: 2103. C# - 윈도우에서 기본 제공하는 FindText 대화창 사용법파일 다운로드1
13289정성태3/18/20233437Windows: 231. Win32 - 대화창 템플릿의 2진 리소스를 읽어들여 자식 윈도우를 생성하는 방법파일 다운로드1
13288정성태3/17/20233550Windows: 230. Win32 - 대화창의 DLU 단위를 pixel로 변경하는 방법파일 다운로드1
13287정성태3/16/20233706Windows: 229. Win32 - 대화창 템플릿의 2진 리소스를 읽어들여 윈도우를 직접 띄우는 방법파일 다운로드1
13286정성태3/15/20234163Windows: 228. Win32 - 리소스에 포함된 대화창 Template의 2진 코드 해석 방법
13285정성태3/14/20233755Windows: 227. Win32 C/C++ - Dialog Procedure를 재정의하는 방법파일 다운로드1
13284정성태3/13/20233955Windows: 226. Win32 C/C++ - Dialog에서 값을 반환하는 방법파일 다운로드1
13283정성태3/12/20233496오류 유형: 852. 파이썬 - TypeError: coercing to Unicode: need string or buffer, NoneType found
13282정성태3/12/20233819Linux: 58. WSL - nohup 옵션이 필요한 경우
13281정성태3/12/20233721Windows: 225. 윈도우 바탕화면의 아이콘들이 넓게 퍼지는 경우 [2]
13280정성태3/9/20234477개발 환경 구성: 670. WSL 2에서 호스팅 중인 TCP 서버를 외부에서 접근하는 방법
13279정성태3/9/20234014오류 유형: 851. 파이썬 ModuleNotFoundError: No module named '_cffi_backend'
13278정성태3/8/20233975개발 환경 구성: 669. WSL 2의 (init이 아닌) systemd 지원 [1]
13277정성태3/6/20234637개발 환경 구성: 668. 코드 사인용 인증서 신청 및 적용 방법(예: Digicert)
13276정성태3/5/20234318.NET Framework: 2102. C# 11 - ref struct/ref field를 위해 새롭게 도입된 scoped 예약어
13275정성태3/3/20234676.NET Framework: 2101. C# 11의 ref 필드 설명
13274정성태3/2/20234260.NET Framework: 2100. C# - ref 필드로 ref struct 타입을 허용하지 않는 이유
13273정성태2/28/20233958.NET Framework: 2099. C# - 관리 포인터로서의 ref 예약어 의미
13272정성태2/27/20234218오류 유형: 850. SSMS - mdf 파일을 Attach 시킬 때 Operating system error 5: "5(Access is denied.)" 에러
1  2  3  4  5  6  7  8  9  10  11  12  [13]  14  15  ...