opentimelineio / opentimelineio-c-bindings Goto Github PK
View Code? Open in Web Editor NEWC bindings for the OpenTimelineIO Library (http://opentimeline.io)
Home Page: http://opentimeline.io
License: Apache License 2.0
C bindings for the OpenTimelineIO Library (http://opentimeline.io)
Home Page: http://opentimeline.io
License: Apache License 2.0
It works fine on Mac however on Ubuntu 21.04 I got this error.
/usr/bin/ld: ../src/copentimelineio/libcopentimelineio.a(track.cpp.o):(.data+0x8): multiple definition of `TrackKind_Audio'; CMakeFiles/COTIOCompositionTests.dir/OTIOCompositionTests.c.o:(.bss+0x60): first defined here
/usr/bin/ld: ../src/copentimelineio/libcopentimelineio.a(track.cpp.o):(.data+0x0): multiple definition of `TrackKind_Video'; CMakeFiles/COTIOCompositionTests.dir/OTIOCompositionTests.c.o:(.bss+0x58): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [tests/CMakeFiles/COTIOCompositionTests.dir/build.make:103: tests/COTIOCompositionTests] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1341: tests/CMakeFiles/COTIOCompositionTests.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
/home/runner/work/OpenTimelineIO-C-Bindings/OpenTimelineIO-C-Bindings/src/copentimelineio/serializableObject.cpp: In function ‘bool SerializableObject_to_json_file(OTIOSerializableObject*, const char*, OTIOErrorStatus*, int)’:
[88](https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings/actions/runs/4299901107/jobs/7495571690#step:5:89)
/home/runner/work/OpenTimelineIO-C-Bindings/OpenTimelineIO-C-Bindings/src/copentimelineio/serializableObject.cpp:57:13: error: invalid conversion from ‘int’ to ‘const schema_version_map*’ {aka ‘const std::unordered_map<std::__cxx11::basic_string<char>, long int>*’} [-fpermissive]
[89](https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings/actions/runs/4299901107/jobs/7495571690#step:5:90)
57 | indent);
[90](https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings/actions/runs/4299901107/jobs/7495571690#step:5:91)
| ^~~~~~
[91](https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings/actions/runs/4299901107/jobs/7495571690#step:5:92)
| |
[92](https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings/actions/runs/4299901107/jobs/7495571690#step:5:93)
| int
Example program demonstrating correct use of API.
Should exercise the majority of object types, and demonstrate proper memory management
Unify string handling. cf. AcademySoftwareFoundation/OpenTimelineIO@fdc9570 Convert all string returning functions to return an OpenTimelineIO string pointer, and replace all string destroy functions with a single OTIO string destroy function.
Replace TimeInterval* with a pass-by-value TimeInterval struct containing an opaque data packet and associated accessors
Can we add the file from this PR:
AcademySoftwareFoundation/OpenTimelineIO#707
Manually export individual functions, rather than using nested export "C" blocks. The export macro will be useful later when we add visibility attributes. c.f. AcademySoftwareFoundation/OpenTimelineIO@5b86f24
Simplify typedef forward declarations. c.f. AcademySoftwareFoundation/OpenTimelineIO@e17be4f
Add NULL checks as needed. c.f. AcademySoftwareFoundation/OpenTimelineIO@9fbf870
Replace RationalTime* with a pass-by-value RationalTime struct containing an opaque time packet and associated accessors
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.