emscripten-core / emscripten-core/emscripten

Using -s "USE_LIBJPEG=1" as part of emcc command line, I get error: "emcc: error: Unexpected hash: <include hash here>"

Open
#14,760 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

When using either the SDL2 (with JPEG option turned on) library as part of a build, or trying to to use the ` -s "USE_LIBJPEG=1"` option, I get the error:
`system_libs:INFO: retrieving port: libjpeg from https://dl.bintray.com/homebrew/mirror/jpeg-9c.tar.gz
emcc: error: Unexpected hash: 4e5568cf1d284bee9a993d160a4fa1caeefe20e7ad8289891aaf74ea9b44865324059b682d861e0e0e8c21ccd6d9e8b2c7b3e6bdd9608f52d315c835a8dd63e8
If you are updating the port, please update the hash in the port module.`

This is being used with the emcc command on Windows 10.

How do I clear the hash, or reset it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.