Closed shawnxinyaoz closed 1 year ago
This is an interesting issue. It's not clear to me why it occurs for arm/osx but not for x86/osx (which was tested once upon a time - perhaps that also broke in the meantime).
Unfortunately, I don't have any osx computer to test. But can you please try the following?
In "src/Makefile", there is a line stating:
LINK = g++
Can you change this to?:
LINK = clang++
Since the symbol not found appears to be clang/llvm only (according to my Google search), but this line asks for the GNU linker, I am suspecting that in the GNU version of libc++, this symbol does not exist, and it is only referenced because clang++/llvm is used for compiling the source files. Hence my request.
If that does not work, please paste the complete compilation/linking error here, including the command that was used for trying to build the actual executable (which is the step that appears to fail in your case). Thanks!
I changed the line of the LINK to clang++, and it worked like a charm. Thank you so much for your timely response 🙇♂️
Dear maintainer,
Thank you for making this tool. I'm trying to use this on m1 mac osx and got this error after hitting "make":
I am not familiar with osx under arm. Is this an error caused by architecture?
Thanks again.