Closed gnolooo closed 2 years ago
The linker can't find some of the symbols, so there is still a problem with the dependencies. Possible causes include wrong / unsupported versions of the external libraries, missing transitive dependencies, and not properly built dependencies (did you only build OpenTimelineIO or also install it to some place? This is required for certain libraries because the file layout of the build folder doesn't necessarily match the expected layout for using them, e.g. because of relative imports).
I built and installed them, I followed this procedure found in the official documentation: https://opentimelineio.readthedocs.io/en/latest/tutorials/quickstart.html#linux-mac. Also I don't think my problem is related to other libraries given that OTIO was the only one that gave me problems and error outputs both during preparation and building.
OpenTimelineIO is an optional dependency, if you don't need it and it's causing issues, you can leave it out.
If you do want OTIO support, make sure you're compiling a "stable" tag like v0.14.1 rather than master. We only test with tagged releases.
The first error from framehashcache.cpp
is unrelated to OTIO. It's caused by OpenEXR. The problem might be its Imath dependency. Did you let OpenEXR compile Imath or did you compile it separately or obtain a pre-built package? Anyway, it could be a version mismatch between Imf and Imath (3.1 vs 3.2). You should try matching versions of the releases (latest is 3.1.5 for both).
One of the errors from saveotio.cpp
might also be caused by a problem with Imath, the other possibly by the any
(AnyDictionary) dependency. The latter sounds familiar. You need to compile OTIO with C++17 support,
(-DCMAKE_CXX_STANDARD=17
in the call to CMake to configure the OTIO build). This might also solve the other issues, not sure.
Commit Hash 8b350bad
Platform Arch Linux
Summary Cannot build in Arch Linux. At first, I was having some problems while creating build files with CMake,related to the OpenTimelineIO package I installed from the community repo (basically it was missing some dependencies so it was throwing errors -
Couldn't find OpenTimelineIO
). Uninstalling it and building OTIO from source worked and I can create the build files and build the app, but in the last step it fails. This is the output it gives: