Issue 619 in webp: Error when compiling under windows arm64

675 views
Skip to first unread message

wangz… via monorail

unread,
Sep 8, 2023, 3:25:59 AM9/8/23
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 619 by wangz...@beyondsoft.com: Error when compiling under windows arm64
https://bugs.chromium.org/p/webp/issues/detail?id=619

What steps will reproduce the problem?
1.git https://github.com/microsoft/vcpkg.git
2.cd vcpkg && .\bootstrap-vcpkg.bat
3../vcpkg install libwebp[anim,core,img2webp,libwebpmux,mux,unicode]:arm64-windows

What is the expected output? What do you see instead?
Creating library libwebpdecoder.lib and object libwebpdecoder.exp
alpha_processing.c.obj : error LNK2019: unresolved external symbol WebPInitAlphaProcessingNEON referenced in function WebPInitAlphaProcessing_body
dec.c.obj : error LNK2019: unresolved external symbol VP8DspInitNEON referenced in function VP8DspInit_body
filters.c.obj : error LNK2019: unresolved external symbol VP8FiltersInitNEON referenced in function VP8FiltersInit_body
lossless.c.obj : error LNK2019: unresolved external symbol VP8LDspInitNEON referenced in function VP8LDspInit_body
rescaler.c.obj : error LNK2019: unresolved external symbol WebPRescalerDspInitNEON referenced in function WebPRescalerDspInit_body
upsampling.c.obj : error LNK2019: unresolved external symbol WebPInitUpsamplersNEON referenced in function WebPInitUpsamplers_body
yuv.c.obj : error LNK2019: unresolved external symbol WebPInitConvertARGBToYUVNEON referenced in function WebPInitConvertARGBToYUV_body

libwebpdecoder.dll : fatal error LNK1120: 7 unresolved externals

What version of the product are you using? On what operating system?
libwebp 1.3.1
arm64-windows
visual stadio 2022 msvc

Please provide any additional information below.

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

wangz… via monorail

unread,
Sep 8, 2023, 5:09:49 AM9/8/23
to webp-d...@webmproject.org

Comment #1 on issue 619 by wangz...@beyondsoft.com: Error when compiling under windows arm64
https://bugs.chromium.org/p/webp/issues/detail?id=619#c1

Can anyone help with this problem?

Vincent Rabaud

unread,
Sep 8, 2023, 11:37:30 AM9/8/23
to WebP Discussion
Thx for reporting. This is the upstrean issue: https://github.com/microsoft/vcpkg/issues/33603
It seems the NEON files are not part of the compilation right? The GitHub issue does not have the full logs.
Also, it seems there is a package for 1.3.0 so was it compiling then?  According to https://vcpkg.io/en/packages.html


You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/0000000000006dc0d60604d5561d%40google.com.

jz… via monorail

unread,
Sep 29, 2023, 6:30:15 PM9/29/23
to webp-d...@webmproject.org

Comment #2 on issue 619 by jz...@google.com: Error when compiling under windows arm64
https://bugs.chromium.org/p/webp/issues/detail?id=619#c2

Thanks for the report. How is the library being configured and built? We have a nightly cmake based build for arm64 that passes using something like `cmake.exe -G "Visual Studio 17 2022" -A Arm64`. This looks like the required "*_neon" object files weren't included.

wangz… via monorail

unread,
Oct 8, 2023, 9:53:23 PM10/8/23
to webp-d...@webmproject.org

Comment #3 on issue 619 by wangz...@beyondsoft.com: Error when compiling under windows arm64
https://bugs.chromium.org/p/webp/issues/detail?id=619#c3

You can reproduce this problem under Windows according to the above reproduction steps.

jz… via monorail

unread,
Oct 11, 2023, 6:44:14 PM10/11/23
to webp-d...@webmproject.org

Comment #4 on issue 619 by jz...@google.com: Error when compiling under windows arm64
https://bugs.chromium.org/p/webp/issues/detail?id=619#c4

Thanks for the response, I was hoping to isolate this to a libwebp issue or an issue with vcpkg itself, which we don't maintain.

jz… via monorail

unread,
Oct 19, 2023, 8:44:52 PM10/19/23
to webp-d...@webmproject.org

Comment #5 on issue 619 by jz...@google.com: Error when compiling under windows arm64
https://bugs.chromium.org/p/webp/issues/detail?id=619#c5

You can also try filing a bug at https://github.com/Microsoft/vcpkg so the maintainers can have a look at the issue.
Reply all
Reply to author
Forward
0 new messages