-
Notifications
You must be signed in to change notification settings - Fork 121
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
Lua and QT version after MacOS brew upgrade #176
Comments
Thanks for the bugreport @freedomcondor! I don't have Big Sur on my Macs, so it's useful to know that compilation doesn't work. To fix the problem, once you install Qt5 to circumvent the bugs of Qt6, you don't need to change anything in ARGoS. Just set the variable
The code is written to honor the value of that variable if it's set (see here). |
Regarding Lua 5.4, I don't see the need to revert to Lua 5.3. This check only asks for Lua >= 5.3, so 5.4 and later are fine. |
If the issue is with your own code, just uninstall Lua 5.4 from your system and install Lua 5.3 instead. ARGoS won't mind, as long as you recompile it. |
I think I got the answer: For lua5.3, the easiest way is to unlink lua and link [email protected] (brew unlink lua, brew link [email protected]), then lua5.3 will be the default lua and found by argos. For the tips about |
Yes, this is an acceptable workaround.
You're right indeed! I'll fix it as you suggest. |
Hi, Carlo,
I'm working with argos3 on a Macbook. Today I did "brew upgrade", and it automatically upgraded my lua to lua5.4, and qt to qt6. After that, when cmaking, argos is able to find lua5.4 and qt6.
Lua5.4 hasn’t shown its problem yet.
However, for qt6, after I recompiled and installed when I try to run argos, it says :
“Sorry, argos3 cannot run on this computer. Qt requires macOS 11.0.0 or later, you have macOS 10.16.0.”
That doesn't sound right, because I just upgraded my system to 11.3.1.
I tried to downgrade qt back by "brew remove qt", and "brew install qt5", but then argos don't find qt when cmaking.
I made a trick by changing this line from qt to qt@5 :
https://github.com/ilpincy/argos3/blob/master/src/cmake/FindARGoSQTOpenGL.cmake#L43
and then everything works. (with qt5 and lua5.4)
I also tried to downgrade lua to lua5.3, but I cannot manage to make argos find [email protected].
I guess the qt6 problem is between qt and macOS. Before they sort it out, do we have a better way to switch to qt5?
Also for lua, we haven't test our code with lua5.4, it would be safer to work with lua5.3. Is there a way to switch to lua5.3?
Best
Weixu
The text was updated successfully, but these errors were encountered: