ViveSoftware / ViveMediaDecoder

A high performance video decoding Unity plugin for Windows.
http://u3d.as/usf
Other
129 stars 36 forks source link

Building error for Nativescript, Header files are missing #18

Open spaul13 opened 5 years ago

spaul13 commented 5 years ago

while building the native code to generate ViveMediaDecoder.dll, getting errors of header files are missing

The command used in ubuntu terminal for building the native code gcc -shared -o ViveMediaDecoder.all ViveMediaDecoder.cpp

#include is missing after adding that some other header files which are called from d3d11.h showing as missing elements like rpc.h, rpcndr.h

Can anyone (@kyo8568131, @OlafZwe) please help regarding how to resolve this issue? Any help regarding this will be highly appreciated.

kyo8568131 commented 5 years ago

This plugin is based on d3d11 which is Windows only.

spaul13 commented 5 years ago

I tried to build it on windows using visual studio also. I can't build the native scripts. Can @kyo8569131 please guide me how to build the native scripts?

kyo8568131 commented 5 years ago

Please check the libraries and headers are linked properly. If you encounter other problem, please help to provide more information. Thanks.