Closed MCJOHN974 closed 10 hours ago
I found solution, this steps helped me:
sp1up
without any flags (just run sp1up
)which clang
showing /opt/homebrew/opt/llvm/bin/clang
and clang --version
showing
some later version (while writing this doc I used clang 19.1.0 and it worked).
Hi all! I'm very new to sp1 so sorry for noob questions.
I installed sp1 with instruction from sp1 book and cloned example repo. Than I added some code to main which depends on
bitcoin
crate, and got the following compiler error:And I have such error with pretty any code which depends on
bitcoin
crate. I tried thissp1up --c-toolchain
but it didn't help. I tried it on macos and ubuntu, same behaviour on both.Do I miss some setup steps, or this
bitcoin
crate can not be added to sp1 program this way??