opentimelineio / otio-swift-example Goto Github PK
View Code? Open in Web Editor NEWMinimal example of using OpenTimelineIO in a Swift application
License: MIT License
Minimal example of using OpenTimelineIO in a Swift application
License: MIT License
Looks like a typo leftover from the C++ README.md file, the title should say Swift.
Line 1: # OpenTimelineIO C++ Example
Just did a fresh clone to try and build the example, but get errors around std::move:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/OpenTimelineIO/typeRegistry.cpp:1:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/typeRegistry.h:3:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/any.h:3:
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:117:18: error: no member named 'move' in namespace 'std'
any(std::move(rhs)).swap(*this);
~~~~~^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:26: error: no type named 'move' in namespace 'std'
any tmp(std::move(rhs));
~~~~~^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:20: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
any tmp(std::move(rhs));
^~~~~~~~~~~~~~~~
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:21: note: add a pair of parentheses to declare a variable
any tmp(std::move(rhs));
^
(
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:285:33: error: no member named 'move' in namespace 'std'; did you mean simply 'move'?
new (&dest.stack) T(std::move(reinterpret_cast<T&>(src.stack)));
^~~~~~~~~
move
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:281:21: note: 'move' declared here
static void move(storage_union& src, storage_union& dest) noexcept
^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:410:21: error: no member named 'move' in namespace 'std'
return std::move(*p);
~~~~~^
1 warning and 4 errors generated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.