vcpkg 2020.04를 사용중이였는데
2020.06 이 릴리즈되어서 업데이트를 했다.
그런데 프로젝트 빌드가 실패해서 이슈를 올리고 답변을 받은 내용을 정리 하자면
static triplet을 사용하는 방법이 .vcxproj 에 직접 수정을 해야 하는 방식에서
프로젝트 설정으로 변경되었다는 것이다.
내경우엔 x86-windows-static-md를 사용해야 해서 위와 같이 설정을 했다.
Triplet의 기본값은 $(VcpkgPlatformTarget)-$(VcpkgOSTarget) 이며
static 만 사용할 경우 Use Static libraries 를 예 로 설정 하면 된다.
.vcxproj 를 열여보면 다음과 같이 설정이 추가되어 있는것을 확인 할 수 있다.
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<VcpkgEnabled>true</VcpkgEnabled>
<VcpkgUserTriplet>$(VcpkgPlatformTarget)-$(VcpkgOSTarget)-static-md</VcpkgUserTriplet>
</PropertyGroup>
<VcpkgEnabled>true</VcpkgEnabled>
<VcpkgUserTriplet>$(VcpkgPlatformTarget)-$(VcpkgOSTarget)-static-md</VcpkgUserTriplet>
</PropertyGroup>
ps.
신규 업데이트가 있는것으로 착각 하고 git pull 로 업데이트 했는데
UI가 달라졌다.
'지식창고 > 삽질' 카테고리의 다른 글
socket bind error 10013 , intellij, hyper-v (0) | 2020.06.22 |
---|---|
vcpkg 설치 및 사용설정 (0) | 2020.06.05 |
윈도우10 시작 메뉴 문제 (0) | 2016.10.25 |
phpstorm gulp 설정 (0) | 2016.07.01 |
DUMMY blog더미씨의 유쾌한 놀이터