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

Error: Failed loading jpeg_calc_output_dimensions #365

Open
yunline opened this issue Jun 4, 2023 · 0 comments
Open

Error: Failed loading jpeg_calc_output_dimensions #365

yunline opened this issue Jun 4, 2023 · 0 comments

Comments

@yunline
Copy link

yunline commented Jun 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant