KiCad / kicad-winbuilder

Windows builder for the KiCad project based on the MSYS2 MinGW system [moved to https://gitlab.com/kicad]
51 stars 24 forks source link

Missing dll(s) prevent KiCad from starting #43

Closed milzec closed 7 years ago

milzec commented 8 years ago

PROBLEM: After fresh build (Win7 Pro, 64bit) and installing, KiCad won't start. The file kicad.exe reports an error: "The program can't start because libnghttp2-14.dll is missing from your computer. Try reinstalling the program to fix this problem".

I am using the latest Winbuilder (commit 488af83).

SOLUTION: Copying libnghttp2-14.dll from ..\msys64\mingw64\bin to C:\Program Files\KiCad\bin resolved the issue.

nickoe commented 8 years ago

So did you enable KICAD_SPICE by any chance?

milzec commented 8 years ago

Hi nickoe,

Silly question: how to check if KICAD_SPICE is enabled? Feel free to reject this issue due to my incomplete actions.

BR, Miloje

nickoe commented 8 years ago

Ignore the comment about spice. I just thought it was ng-spice because of the ng.

It seems that there is a package called mingw-w64-x86_64-nghttp2.

Please try to start the msys shell and check if it is installed. Pleade paste the output of pacman -Ss nghttp2

And then after than try to install it, because I suspect that is might not be installed. Maybe we need to add that to the depends array.

milzec commented 8 years ago

Hi nickoe,

Here is the output: _$ pacman -Ss nghttp2 mingw32/mingw-w64-i686-nghttp2 1.13.0-1 [installed] Framing layer of HTTP/2 is implemented as a reusable C library (mingw-w64) mingw64/mingw-w64-x8664-nghttp2 1.13.0-1 [installed] Framing layer of HTTP/2 is implemented as a reusable C library (mingw-w64)

I've deleted everything so I'll run the latest commit of winbuilder once again.

BR

nickoe commented 8 years ago

Hmm, sonehow it looks for nghttp2 1.14, while you have 1.13 installed. Looks like there have been performed a partial upgrade.

You could likely just run pacman -Sy and then pacman -S and then rebuild.

milzec commented 8 years ago

Hi nickoe,

It doesn't resolve this. It says that minigw32, minigw64 and msys are up to date but still remains with 1.13 installed. I'll try to look for the problem.

nickoe commented 8 years ago

Ok, I can see that the dll is indeed provided by those versions of nghttp2 you have installed, but I don't understand what it is used for. I would like to understand that.

I mean, I don't copy that dll on the nightlies and they work without it.

nickoe commented 7 years ago

Apparently it seems to be curl that requires it...

nickoe commented 7 years ago

https://github.com/Alexpux/MINGW-packages/commit/72a7e23e0cb5a6d55e75ccabd652c8215593b6c2#diff-b1c5d370af281c25aed48dd38c3dda51