You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build was successful using the script copied from #104 (comment), with the only difference that llvm@13 is installed, and all environmental variables are changed accordingly.
However, when running c2ffi, it produced the following error:
dyld[11622]: Library not loaded: /opt/homebrew/opt/llvm@12/lib/libclang-cpp.dylib
Referenced from: /Users/xception/.local/bin/c2ffi
Reason: tried: '/opt/homebrew/opt/llvm@12/lib/libclang-cpp.dylib' (no such file), '/usr/local/lib/libclang-cpp.dylib' (no such file), '/usr/lib/libclang-cpp.dylib' (no such file)
zsh: abort c2ffi
It's trying to find llvm@12, whilst the configured llvm is versioned 13.
The actual build script used
mkdir -p build
cd build
export CPPFLAGS="-I/opt/homebrew/opt/llvm@13/include"
export LDFLAGS="-L/opt/homebrew/opt/llvm@13/lib"
export PATH="/opt/homebrew/opt/llvm@13/bin:$PATH"
LLVM_DIR=/opt/homebrew/opt/llvm@13/ CC="clang" CXX="clang++" cmake --install-prefix ~/.local/bin ..
make
make install
The text was updated successfully, but these errors were encountered:
Inc0n
changed the title
c2ffi build successful on macOS monterey but can't find old llvm@12 dylib
build successfully on macOS monterey but can't find old llvm@12 dylib
Jun 28, 2022
Build was successful using the script copied from #104 (comment), with the only difference that
llvm@13
is installed, and all environmental variables are changed accordingly.However, when running
c2ffi
, it produced the following error:It's trying to find llvm@12, whilst the configured llvm is versioned 13.
The actual build script used
The text was updated successfully, but these errors were encountered: