Entering edit mode
24 months ago
Marcella
▴
10
Hi,
I'm trying to install the software r8s on a MacBook pro (M1). When trying to use the command make in the src folder (as explained in the manual and README) I get this error:
make: *** No rule to make target '/usr/include/string.h', needed by 'DrawTree.o'. Stop.
I have searched online for a solution but I was not able to find one. Some of you has any idea on how to resolve this?
Thank you in advance
Marcella
See if this helps: https://andreasfertig.blog/2021/02/clang-and-gcc-on-macos-catalina-finding-the-include-paths/
I assume you have
Xcode
and command line tools installed.Yes I have both Xcode and command line tools installed. It seems that it's the thing I need to do, but I'm quite new to mac and informatics in general and I can't understand what I need to do
Looks like you need to edit
.zshrc
file in your account (https://osxdaily.com/2021/11/18/where-the-zshrc-file-is-located-on-mac/ ) and add the following line to it. Open a new terminal after you do this.It does not work. I'm still using bash, so I edited my .bashrc and opened a new terminal.
If I use the command make I get the same error