-
Notifications
You must be signed in to change notification settings - Fork 786
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
Linux build fixes #112
Linux build fixes #112
Conversation
Thank you for working on this! I've given it a try with:
but I get something like:
|
Yeah, that's why it's still in draft. It requires changes to https://github.com/ange-yaghi/delta-studio too which is where you're seeing all of the errors. Check the discord for the current progress. |
I read about that "discord", but no clue what it is? URL? ah https://discord.gg/chKreEmXw6 thanks for the explanation discord has never worked for me, can't join, invalid invite code, my account is not working, whatever. is there a matrix room, or irc channel for this? |
cb55f72
to
4544d7c
Compare
I don't believe so. If it's not mentioned in the repo README or the youtube video then it's probably not a thing. |
4544d7c
to
79dbbb1
Compare
I'm trying to ask about adding an IRC / Matrix channel rn, I'll link the Matrix if it gets added |
Okay well I was given permission to create my own Matrix channel to discuss it, at address #unofficial-engine-sim:matrix.org |
79dbbb1
to
7880d5f
Compare
So does this compile on Linux in way yet ? Seen your demo video on YouTube … you made an incredible program, really. Great work, and don't ever let yourself discourage by some "would-like-to-be"-expert-reddit users ! ;) |
e3073af
to
36f4e97
Compare
constexpr is for values known at compile time so there's no reason for these to be extern since they can't be defined externally.
These work on all platforms rather than \ which only works on Windows.
I'm not 100% sure why GCC wants this but it has something to do with aggregate initialisation (= {}) and default values for members.
This is never called and GCC warns that the Type template on the method conflicts with the Type template on the class.
GCC picks up the static_assert(false) even if the template isn't instantiated, and =delete-ing the method has the same effect of notifying the caller if it's not specialised later in this header. Also remove extraneous extern that GCC doesn't like.
These are presumably pulled in by other stdlib headers on Windows.
start() is a function so this check was wrong, however it looks like this method is never called so it's probably not been an issue.
powf() is a C function but std::pow() is the thin C++ wrapper that delegates to pow(), powf(), or powl() dependent on argument type. Most of these are already acting on floats, and those that aren't have been fixed up to do so.
Compiler smart. Usually.
This currently links to a prebuilt Windows library which we can't use on Linux.
Also add missing include.
This is an odd fix, but it works and means that symbols in engine-sim don't disappear.
36f4e97
to
a2885f5
Compare
This allows the code to build since it brings in fixes that those submodules need merging.
a2885f5
to
4629870
Compare
Replaced by #346 which is more feature complete. |
This doesn't get us all the way there, but the remaining parts are either hacks or require additional functionality from
delta-studio
.Note that 908103b4a10c7a874d21418ecf5aa0844602a876 depends on a similar change in https://github.com/ange-yaghi/delta-studio so merging this would fail as-is unless that's been merged.
This hasn't been tested on Windows but it should Just Work.
This addresses #2.
Blocked on ange-yaghi/delta-studio#34.