Closed yurivict closed 1 year ago
Why?
I apologize for the inconvenience, but we no longer accept issues related to self-compiling. See the recently amended FAQ at #1175 for more information. Feel free to open a pull request if minor changes are necessary to build on certain environments, we will probably accept it.
Hi @itsmattkc ,
I understand your motivation behind the FAQ change, but the issues that I've reported are valid C++ issues in the code.
For example, this issue was reported because timecodefunctions.cpp
lacks #include <cmath>
.
Yuri
While it's probably true we should have that include explicitly stated, it is not an issue on any of our existing compiles (https://github.com/olive-editor/olive/actions), indicating a certain degree of platform specificity that we can't test for.
What concerns me is if there are other includes necessary for building on your platform too, we'll have to go back and forth on this adding includes one at a time, which is specifically the sort of thing that rule was introduced to prevent. That's why I encourage you to make a PR for any changes necessary to get it compiling on your platform.
[...] there are other includes necessary for building on your platform too [...]
Set of includes necessary for build does not depend on platform. It are defined by the STL functions that you use. But in different STL implementations these includes are already included from other STL includes, so you are lucky that this code works. And in other STL implementation this code would break.
Correct C++ code does not depend on STL implementation and always works.
Commit Hash 8ca1672
Platform FreeBSD 13.1
Summary
Did you forget to include
<cmath>
?