-
Notifications
You must be signed in to change notification settings - Fork 698
Problem during installing and simulation on MacOS #2437
Copy link
Copy link
Open
Description
Hi!
I encountered a few issues when installing the litex on MacOS. I am listing them here in case someone encountered the same problem as mine and may need a righ away solution. I also hope maybe there could be someone to fix this, or maybe me myself in the future😀.
- When executing
./litex_setup.py --gcc=riscvon MacOS, get prompt "No formulae or casks found for riscv-tools." My temporary solution is to execute "brew install riscv64-elf-gcc riscv64-elf-binutils" manually.
Possible once for all solution: Modification onlitex_setup.pyscript will solve this problem. Or refer to https://github.com/riscv-software-src/homebrew-riscv. - There is a bug with executing
litex_sim, possibily caused by verilator, that whenever I run litex_sim, I get an error prompt:
dyld[78842]: Library not loaded: @rpath/libz.1.dylib Referenced from: <CAF4FD3A-72E8-39B5-A19B-57912CAAC8E0> /Users/yilin/playground/litex/build/sim/gateware/obj_dir/Vsim Reason: no LC_RPATH's found zsh: abort ./Vsim. My temporary solution is to addexport LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/path-to-where-libz.1.dylib-existsto~/.zshrc. May someone solve this?
I am using MacOS sequoia 15.7.4, homebew version 5.1.1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels