Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues on apple silicon Mac #15

Open
rum1887 opened this issue Mar 30, 2023 · 2 comments
Open

Build issues on apple silicon Mac #15

rum1887 opened this issue Mar 30, 2023 · 2 comments

Comments

@rum1887
Copy link

rum1887 commented Mar 30, 2023

System details
Mac M1
Lua-5.4.4
Architecture : arm64

Issue
After cloning the repository.
I tried the following command
make ../Source
I get the following error

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libluacpp.dylib] Error 1
make[1]: *** [CMakeFiles/luacpp.dir/all] Error 2
make: *** [all] Error 2

I also tried specifying the architecture using the flag, but the error persists.

please suggest a fix for the lua5.4.4 and the arm64 compatibility issues, so I can build the libluacpp.dylib successfully!

@rum1887
Copy link
Author

rum1887 commented Mar 30, 2023

@jordanvrtanoski help please

@ShaharHD
Copy link

have you tried installing via vcpkg?

vcpkg install lua[cpp]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants