SDL_image icon indicating copy to clipboard operation
SDL_image copied to clipboard

Error: ` Failed loading jpeg_calc_output_dimensions`

Open yunline opened this issue 1 year ago • 0 comments

Version: Current SDL2 branch

Compile command:

[
'cmake',
'--no-warn-unused-cli', 
'-S./build\\SDL2_image', 
'-B./build\\SDL2_image\\build', 
'-GVisual Studio 17 2022', 
'-A x64', 
'-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE', 
'-DSDL2IMAGE_BACKEND_STB=OFF', 
'-DSDL2IMAGE_TIF=ON', 
'-DSDL2IMAGE_WEBP=ON', 
'-DSDL2IMAGE_JPG_SHARED=ON', 
'-DSDL2IMAGE_WEBP_SHARED=ON', 
'-DSDL2_DIR=./prebuilt-x64\\SDL2-2.26.4', 
'-DSDL2_INCLUDE_DIR=./prebuilt-x64\\SDL2-2.26.4\\include', 
'-DSDL2_LIBRARY=./prebuilt-x64\\SDL2-2.26.4\\lib/x64/SDL2.lib', 
'-DSDL2_MAIN_LIBRARY=./prebuilt-x64\\SDL2-2.26.4\\lib/x64/SDL2main.lib', 
'-DAWK=AWK-NOTFOUND'
]
cmake --build ./build\SDL2_image\build --config Release --target showimage -j 18 --

Error: Unable to load jpeg and webp. Other formats don't have this issue.

PS C:\Users\yunline\Desktop\showimg> .\showimage.exe C:\Users\yunline\Pictures\sun.jpeg
INFO: Couldn't load C:\Users\yunline\Pictures\sun.jpeg: Failed loading jpeg_calc_output_dimensions: 找不到指定的程序。

PS C:\Users\yunline\Desktop\showimg> .\showimage.exe C:\Users\yunline\Pictures\scarlet.webp
INFO: Couldn't load C:\Users\yunline\Pictures\scarlet.webp: Failed loading WebPDemuxInternal: 找不到指定的程序。

Files: image

I noticed that libjpeg-9.dll is only 21KB, and webpdemux.dll is only 14KB. These dlls may be compiled incorrectly.

yunline avatar Jun 04 '23 07:06 yunline