I've gotten the source to build for both x86 and ARM successfully. I've created my own C++ UWP app and managed to load all the libraries properly just like in your sample (Raspberry Pi ARM sample). It runs fine on my phone.
However, as soon as I try to do the same thing using a WinRT Component instead of directly into a C++ UWP app, I get exceptions. Specifically, in managed code, I get System.IO.FileNotFoundException. There's something extra that I probably need to do to get this working in a component, but I can't figure it out for the life of me.
Steps so far:
Added dlls (both debug & release) to component project and set as 'Content'.
Added include directories in the C/C++-->General menu.
Added correct directory to "Additional Library Directories" under Linker-->General
Added all the lib files I'm using to "Additional Dependencies" under Linker-->Input
Of course, I've referenced my component in the c# project. But as soon as I try to call the main constructor for my class in the component within my C# project, it throws that FileNotFoundException.
What's missing? Thanks! Hopefully, this project is still being supported....
I've gotten the source to build for both x86 and ARM successfully. I've created my own C++ UWP app and managed to load all the libraries properly just like in your sample (Raspberry Pi ARM sample). It runs fine on my phone.
However, as soon as I try to do the same thing using a WinRT Component instead of directly into a C++ UWP app, I get exceptions. Specifically, in managed code, I get System.IO.FileNotFoundException. There's something extra that I probably need to do to get this working in a component, but I can't figure it out for the life of me.
Steps so far:
Of course, I've referenced my component in the c# project. But as soon as I try to call the main constructor for my class in the component within my C# project, it throws that FileNotFoundException.
What's missing? Thanks! Hopefully, this project is still being supported....