dturing / node-gstreamer-superficial

Superficial gstreamer binding
MIT License
130 stars 45 forks source link

unable to find gst/gst.h #46

Closed Andrewiski closed 3 years ago

Andrewiski commented 3 years ago

Not sure if its just the version of gstreamer I have installed in windows or not but the environment variable on my windows 10 and fresh install of gstreamer is GSTREAMER_1_0_ROOT_MSVC_X86_64=C:\gstreamer\1.0\msvc_x86_64\

I had to duplicate it for GSTREAMER_1_0_ROOT_X86_64=C:\gstreamer\1.0\msvc_x86_64\ inorder to get npm to install gstreamer-superficial.

dturing commented 3 years ago

Thanks for this hint.

We're using GSTREAMER_1_0_ROOT_X86_64 to find gst, in https://github.com/dturing/node-gstreamer-superficial/blob/4662b3e49b522f87d317f77f82fc0f8ebd01a2d6/binding.gyp#L39 . I'm not acquainted to Windows enough to judge if this should be changed to GSTREAMER_1_0_ROOT_MSVC_X86_64.

Anyone?

dturing commented 3 years ago

... since i could see the same fix in a fork of this project, i went ahead and added the _MSVC.

bb8feb778ea3bf2f43899ac28ae1a6bba92ecc45 and release 1.7.3

thanks for reporting.

crossan007 commented 1 year ago

I'm having this same issue, and I'm not quite sure what's happening.

I have the environment variable GSTREAMER_1_0_ROOT_MSVC_X86_64 set to C:\gstreamer\1.0\msvc_x86_64\ and it's not finding it.

🤔

I'm going to keep digging, and will update this when I figure it out.

crossan007 commented 1 year ago

Update: I resolved this.

It was a mixture of:

Thanks!

Andrewiski commented 1 year ago

Thanks for fixing.