Page 1 of 1

"Initializer_List" -Datei nicht gefunden

Posted: 25 Feb 2025, 08:01
by Anonymous
Versuch, Phash-Image für Knoten zu installieren, aber ich erhalte diesen Fehler: < /p>

> [email protected] install /Users/jong/Workspace/mgmtio/phash-image
> node-gyp rebuild

CXX(target) Release/obj.target/pHash/phash.o
In file included from ../phash.cpp:4:
In file included from /usr/local/Cellar/phash/0.9.6_1/include/pHash.h:50:
/usr/local/include/CImg.h:160:10: fatal error: 'initializer_list' file not found
#include
^
1 error generated.
make: *** [Release/obj.target/pHash/phash.o] Error 1
< /code>

Wie behebe ich das? Ich bin auf OS X 10.10.3 und habe Phash mit Homebrew