Skip to content

"fatal error: 'future' file not found" when make #8201

Answered by Dexter-Wx
Dexter-Wx asked this question in Q&A
Discussion options

You must be logged in to vote

Error fixed!
We should save the path of c++ library in environment variable:
export CXXFLAGS=-I/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include/c++/v1
Or use another way:
Change a variable in the file "Makefile" of llama.cpp:
add -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include/c++/v1 behind
MK_CPPFLAGS = -Iggml/include -Iggml/src -Iinclude -Isrc -Icommon

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Dexter-Wx
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Dexter-Wx
Comment options

You must be logged in to vote
1 reply
@Dexter-Wx
Comment options

Comment options

You must be logged in to vote
1 reply
@sebastianczech
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants