Noob question: Having a hard time understanding the native codec binary build steps. #146
Replies: 1 comment
-
I'm a bit confused by this statement. Everything you need to use the library (and plugins) is included in the packages published on nuget.org. In fact, if you intend to run on Windows, you probably don't even need any of the native codec packages; the main MagicScaler library includes bindings for the codecs built in to Windows. The CI feed you linked includes the same packages, built from the latest commits. These are also ready to use, as is. The other feed you linked is for the vcpkg cache, which exists only to reduce build times in the event nothing changed in the native libraries or build environment between CI runs. Those packages do contain the binaries, but they are only for use by vcpkg. As the descriptions say, If you really do need to build the packages yourself (e.g. if you are making modifications to the code or building for a platform not included in the existing packages), you can save some build time by retrieving the expected You can then build the codec packages individually using |
Beta Was this translation helpful? Give feedback.
-
I followed all of the steps:
And then the build succeeded:
But I'm now confused about this:
I downloaded all of the artifacts from here:
https://dev.azure.com/saucecontrol/PhotoSauce/_artifacts/feed/photosauce_ci
And here:
https://dev.azure.com/saucecontrol/PhotoSauce/_artifacts/feed/photosauce_vcpkg
Am I supposed to place all of the
.nupkg
files inPhotoSauce\out\vcpkg\install\
and then rebuild withdotnet build
? Should I rundotnet build src\MagicScaler -c Dist
again?I just want to make sure that all of the native codec plugins are installed / working before I use the library.
Any guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions