-
Notifications
You must be signed in to change notification settings - Fork 100
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
Error when running require "lanes".configure() #231
Comments
I don't find the string "unexpected symbol near" anywhere in the Lua or Lanes code, so I have no idea where it comes from. That being said I see that you load a Lanes module apparently built for Lua 5.1 (based on the path where it comes from) into a Lua 5.4 VM. This is not going to end well. As for building lanes manually, I would hope that the makefile is enough, but if there are fixes to do I can only count on external help because I don't have a mac at hand nor plan to buy one. |
This looks remarkably similar to #230. You should see the discussion there. @benoit-germain writes:
Not true! The Makefile boilerplate for luarocks sets the destination for the lanes shared library to:
(probably to maintain some kind of implicit compatibility with LuaJIT). The actual shared library being built is for Lua5.4:
I'm pretty sure @kkrime -- Unless you are prepared to:
I'd abandon this effort right now and engage a skilled dominatrix. The dominatrix will be a better value... |
The fact is, this half-luarocks support that exists in the makefile is something that very likely broke over time. I'm not the original author of all that part, because my understanding of the interactions between luarocks and the makefile is very lacking. That's why the rockpec uses the "builtin" build model, so that I let luarocks do its magic. I am a PC world guy, so for development purposes I have Visual Studio projects and solutions, because the IDE and integrated debugger are what I know and find most convenient. Lanes should be pretty straightforward to build: point the includes and libs towards the Lua flavor you build against, compile all cpp, link everything in a DLL/so, and you should be good to go. I tried to remove as much platform-specific code as I could, but If some compilers need to be massaged to do the right thing, this has to be done by someone gifted with the knowledge and the availability of the target development environment. Similarly, if the makefile can be improved on, I'll gladly accept the input of anyone more knowledgeable than me. |
Getting:
This is probably related;
I'm running on a m1 mac with MacOS 14.5 installed
also, for the life of me I cannot get lanes to compile when I try to compile it manually
Any help would be greatly appreciated
The text was updated successfully, but these errors were encountered: