Struggling with installation on CentOS 7 (body of constexpr function ‘constexpr double opentime::v1_0::fabs(double)’ not a return-statement) #1676
Replies: 2 comments 1 reply
-
Hi, it looks like your commands are OK, but the error message is from an older compiler or C++ version. Is it possible that CMake is picking up an older compiler on your system? I don't have a CentOS 7 system but I am currently compiling v0.15 with g++ 11 on Ubuntu. Also the OpenTimelineIO CMake file will set the C++ version to 14 by default. |
Beta Was this translation helpful? Give feedback.
-
Ok so i use rez to create a new environment with:
And i re-got the same error but thanks to @darbyjohnston for the idea because, I know it's dirty, but that confirm the hypothesis about the wrong gcc version used in my environment. Anyway, i will close this discussion, thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
Environment
Context
I'm trying to install OpenTimelineIO from source on CentOS 7, like this:
(According to the documentation)
Logs
Things tried
then tried with c++11
Also in c++14 (just in case)
Also with
-DOTIO_SHARED_LIBS=OFF -DOTIO_CXX_COVERAGE=ON
(according to the Ubuntu github action build command)I also tried the same script as the GitHub action one
But i always got this same error, do you have an idea of what i'm doing wrong ?
Maybe it's an environment issue ?
Beta Was this translation helpful? Give feedback.
All reactions