Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libwebp]Fix static build. #6648

Merged
merged 1 commit into from
May 28, 2019
Merged

[libwebp]Fix static build. #6648

merged 1 commit into from
May 28, 2019

Conversation

JackBoosY
Copy link
Contributor

When I installed libwebp:x86-windows-static, the following link error occurred:

SDL.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp__timeSetEvent@20 referenced in function _SDL_SYS_TimerInit
SDL.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp__timeKillEvent@4 referenced in function _SDL_SYS_TimerQuit
SDL.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function _SDL_GetTicks
SDL.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp__timeBeginPeriod@4 referenced in function _SDL_SYS_TimerInit
SDL.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp__timeEndPeriod@4 referenced in function _SDL_SYS_TimerQuit
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_XAxis
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_YAxis
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_RxAxis
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_RyAxis
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_RzAxis
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_Slider
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_Key
SDL.lib(SDL_dx5video.obj) : error LNK2001: unresolved external symbol _GUID_POV

It shows that we lack to add dependent libraries dxguid winmm, so I added them.

Related: #6646.

@JackBoosY JackBoosY added the info:internal This PR or Issue was filed by the vcpkg team. label May 28, 2019
@JackBoosY JackBoosY changed the title [libwebp]Fix static build: add dependency libraries "dxguid winmm". [libwebp]Fix static build. May 28, 2019
@Rastaban Rastaban merged commit 3d4b4c0 into microsoft:master May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants