webmproject / sjpeg

SimpleJPEG: simple jpeg encoder
Apache License 2.0
69 stars 12 forks source link

vjpeg: Build failure for Windows Arm64 with MSVC #109

Open EwoutH opened 3 years ago

EwoutH commented 3 years ago

Currently building vjpeg.exe fails when using MSVC (Visual Studio) targeting the Arm64 platform. vjpeg.cc experiences a linking error:

vjpeg.cc
LINK : fatal error LNK1181: cannot open input file 'opengl32.lib' [C:\projects\sjpeg\vjpeg.vcxproj]

The error probably occurs because opengl32.lib is x86 specific.

Example builds can be found on AppVeyor: Arm64 (fails) | x64 (passes).

EwoutH commented 3 years ago

Seems to be similar to this issue: Opengl32.lib for Windows ARM64.

Edit: Maybe good to give some context: This issue was discovered trying to build JPEG-XL for Windows Arm64.