-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Sample Code Throws Debug Assertion Failed Exception #3
Comments
I wonder if there is an issue with how the GitHub Action is installing the build dependency or maybe Visual Studio's VC++ dependencies |
Right now the major difference I have noticed is I am using Visual Studio v16.10.3 and the build agent is using v16.11.0 local
GH action
|
I installed a fresh Virtual Machine with Visual Studio 2019 and followed the steps in Attached is a NuGet generated from my VM |
Root Cause -
|
This is now considered a duplicate of #2 closing issue |
I am going to reopen this issue as it isn't a problem with I did some research and have a proof of concept where I am returning a memory buffer instead of writing to disk. This approach will allow us to encode in C++ and then either return a byte[] or write to disk. |
Description
When using the generated NuGet
FileOnQ.Imaging.Heif.1.0.0-pr.20
I am unable to run theSave()
code as it fails with a VC++ Runtime Library error. See screenshot belowWhen I run the build locally it works without issue, it only fails when using the generated artifacts from the build.
Local Steps
The
build.yml
follows a similar set of instructions I am doing locally.FileOnQ.Imaging.Heif
this will also compile all native binariesThe console app will save correctly. If you swap the NuGet out for the generated one it will fail on the save.
Screenshot
Additional Information
I am working on putting together getting started docs to make is easier to get up and running. This hasn't been merged into the
main
branch and can be found in thedocs
branch.The text was updated successfully, but these errors were encountered: