-
Notifications
You must be signed in to change notification settings - Fork 298
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
Cannot build on Linux #14
Comments
Building for Linux has not tested yet. Details about Celestia for Linux. |
Here is how I did it:
You will probably need some of the 9 patches from my (unfortunately independent) maintentance fork https://github.com/anordal/celestia/commits if your distro is newer than 2013… I just discovered this project, so I'm hoping to reintegrate some fixes here! |
@anordal Your changes intersect with the changes that we made this year. Your changes intersect with the changes that we made this year. Do your changes give a stable version of Celestia for Linux along with Lua 5.3? |
Yes, Celestia runs fine here with Lua 5.3.3 on Linux as far as I can tell (dunno what lua specific issues to look for). I happen to also have Lua 5.2.4 and 5.1.5 installed, but 5.3.3 was the version I built against. |
@anordal Please install Lua Edu Tools, check the correctness of its work and check several (any) CELX scripts. |
That's some nice testing tips. I see the solution taken here (commit 0452b0a) is to bundle Lua 5.1. Note that my Lua 5.2 patch was made by Fedora maintainers back in 2013… So if you're saying that doesn't work, then at least the Fedora packages have been broken for years! I would assume other distros have applied equally desperate patches to keep it compiling in this decade. I patched it for Lua 5.3 because my distro (OpenSuse Tumbleweed) doesn't make devel packages for Lua < 5.3 anymore – if you have to build Lua to build Celestia, that makes building Celestia twice as hard, which I (like you) refused to accept. I hope we figure it out, but I don't know how cool those scripts are. I don't have time, and I'm a happy camper even if I broke them. |
@anordal Do you have full Celestia source code with Lua 5.2 or 5.3? We would like to get it to build for Windows for testing CELX scripts and LUA tools. |
Only what I cloned myself, I haven't tried upgrading Lua in this project (yet). |
4e947ef is the closest I can get to the last commit that actually builds on Linux: Dependency instructions are deb/ubuntu specific but the rest should be roughly platform-independent
HTH The most recent commit is broken and impossible to build. It apparently uses some proprietary windows-only Never mind the fact that a proprietary library in a GPL project makes the entire thing nonfree. |
Closed due to inactivity. |
Is support for Linux being dropped, then? |
I'll keep my fork building anyway. |
fyi: |
@munix9 Thanks, it works! My favourite distro. And qt5, wow! 🥇 Mouse interaction is very buggy in Xwayland though (unusable if the window is extended over two screens), but that might very well be a qt bug – my very stripped down version works fine. |
ok. xBase<OtherDerived>&) [with OtherDerived = Eigen::Product<const Eigen::Matrix<float, 4, 4>&, const Eigen::Matrix<float, 4, 4>&, 0>; _Scalar = float; int _Rows = 4; int _Cols = 4; int _Options = 2; int _MaxRows = 4; int _MaxCols = 4]’
../../thirdparty/Eigen/Eigen/src/Core/Product.h:204:30: required from ‘Eigen::Product<Lhs, Rhs, ProductMode>::Product(const Lhs&, const Rhs&) [with Lhs = Eigen::Product<const Eigen::Matrix<float, 4, 4>&, const Eigen::Matrix<float, 4, 4>&, 0>; Rhs = Eigen::Matrix<float, 4, 4>; LhsNested = Eigen::Matrix<float, 4, 4>; RhsNested = const Eigen::Matrix<float, 4, 4>&; int ProductMode = 0]’
../../thirdparty/Eigen/Eigen/src/Core/Product.h:298:60: required from ‘const typename Eigen::ProductReturnType<Derived, OtherDerived>::Type Eigen::MatrixBase<Derived>::operator*(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Matrix<float, 4, 4>; Derived = Eigen::Product<const Eigen::Matrix<float, 4, 4>&, const Eigen::Matrix<float, 4, 4>&, 0>; typename Eigen::ProductReturnType<Derived, OtherDerived>::Type = Eigen::Product<Eigen::Matrix<float, 4, 4>, const Eigen::Matrix<float, 4, 4>&, 0>]’
shadermanager.cpp:3419:92: required from here
../../thirdparty/Eigen/Eigen/src/Core/Product.h:260:14: warning: ignoring attributes on template argument ‘Eigen::MatrixBase<Eigen::Product<const Eigen::Matrix<float, 4, 4>&, const Eigen::Matrix<float, 4, 4>&, 0> >::PacketScalar {aka __vector(4) float}’ [-Wignored-attributes]
and more and more. is it ok? |
i hope it will install... |
ok, it works!!!! |
All of the instructions insist that you just need to run
However, there is no
configure
file, onlyconfigure.in
. Attempting to runautoconf
fails with all kinds of errors, so I can't seem to generate the configure file myself.The text was updated successfully, but these errors were encountered: