QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
297 stars 44 forks source link

Install on Windows 11 #52

Closed Veuchez closed 1 year ago

Veuchez commented 1 year ago

When I try to start neolink on Windows 11 I get these errors

dll error

In the gstreamer folder these dlls are actually not there. I tried to install both MSVC 64-bit version and MinGW 64-bit version, the result I get is the same. I tried with gstreamer 1.20.5 with gstreamer 1.20.6, 1.22.1 and many others Where am I wrong?

QuantumEntangledAndy commented 1 year ago

When you are installing gstreamer did you select the "Full" installation mode. It's not the default install and you need to activly select it

Veuchez commented 1 year ago

Yes sure, complete. Here is the list of files in the "bin" folder They all have "lib" written in front of the dll name that the errors say is missing libgstreamer

QuantumEntangledAndy commented 1 year ago

Wait so you do have them in the folder?

Just confirming because you said

| In the gstreamer folder these dlls are actually not there.

Anyways if they are there. Then you just need to set the PATH environmental variable. Do you know how to do this?

p.s. they are meant to have lib in front

Veuchez commented 1 year ago

variabili

I think it should be right.. Installation Path: C:\gstreamer\1.0\mingw_x86_64\bin

QuantumEntangledAndy commented 1 year ago

If you do it like this. Make sure you set GSTREAMER_ROOT_X86_64 variable too.

Veuchez commented 1 year ago

Isn't it right how I set it?

QuantumEntangledAndy commented 1 year ago

Your picture sets it as

%GSTREAMER_ROOT_X86_64%\bin

Written like this it means.

Read the environmental variable GSTREAMER_ROOT_X86_64 and replace %GSTREAMER_ROOT_X86_64% with the contents of that variable.

If you want to do it this way. Make sure that the environmental variable GSTREAMER_ROOT_X86_64 is set to the path where the root of gstreamer is

Veuchez commented 1 year ago

Not even if I set the environment variable so I solve the problem. I have also tried in Windows 10 and am getting the same errors. I don't understand where I'm wrong. variabili2

Veuchez commented 1 year ago

Fixed by installing the MSVC version and copying Neolink inside the gstreamer "bin" folder. From there Neolnk starts without dll errors.

MRobi1 commented 11 months ago

@QuantumEntangledAndy What is the proper PATH environment variable to set? I've tried all variations of %GSTREAMER_1_0_ROOT_X86_64%\bin GSTREAMER_1_0_ROOT_X86_64\bin %GSTREAMER_ROOT_X86_64% GSTREAMER_ROOT_X86_64

And I've set all variations of these paths to each C:\gstreamer C:\gstreamer\ C:\gstreamer\1.0 C:\gstreamer\1.0\ C:\gstreamer\1.0\msvc_x86_64 C:\gstreamer\1.0\msvc_x86_64\ C:\gstreamer\1.0\msvc_x86_64\bin C:\gstreamer\1.0\msvc_x86_64\bin\

Example: image

If I click on the .exe I get the same set of 4 dll's not found. When I execute ./neolink rtsp --config=neolink.toml via powershell I get no feedback. Installed gstreamer using "complete" and can confirm all needed files are in C:\gstreamer\1.0\msvc_x86_64\bin\

Moving the neolink files into the gstreamer bin directory and execute via powershell and neolink starts and runs without issue. So it's definitely something I'm doing wrong with the PATH Environment Variable

Edit: Uninstalled gstreamer. Removed all variables. Re-installed gstreamer and left the default PATH environment variable set by the gstreamer installer. Same results image

EDIT 2: SOLVED Through trial and error and for future searchers..... image image