ViveMediaDecoder icon indicating copy to clipboard operation
ViveMediaDecoder copied to clipboard

Building error for Nativescript, Header files are missing

Open spaul13 opened this issue 6 years ago • 3 comments

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 <d3d11.h> 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.

spaul13 avatar Feb 21 '19 02:02 spaul13

This plugin is based on d3d11 which is Windows only.

kyo8568131 avatar Mar 06 '19 05:03 kyo8568131

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?

spaul13 avatar Mar 06 '19 05:03 spaul13

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

kyo8568131 avatar Mar 06 '19 06:03 kyo8568131