kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43901
Re: Build on msys2 fails : libngspice-x.dll not found in any executable path
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Sat, 23 May 2020 11:35:32 -0400
-
Autocrypt:
addr=stambaughw@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBEM0hxQRBAC2fNh3YOVLu1d5GZ0SbrTNldGiGnCJPLqzEnqFX9v6jmf33TMt6EmSLkl6 Wtfkoj0nVwKxcYmJkA8DX0QAokBkwNIzhSsBzQvthBLIk/5LnPVVKrEXOcL4mUyH1doKlkaE slgJozNa6Av+oavcvD02o1zJOloBbaHlNlyRt7fKswCgtIFlVjWggVH/15KfWk+Qo5JVPbME AIUBAQyL2OAx0n60AWec2WHnO9buHuG0ibtICgUMkE+2MRmYyKwYRdyVwGoIUemFuOyHp0AJ InX4T+vy2E7vkwODqjtMLfIoRkokW74Fi4nrvjlhOAw/vdq/twLbAmR9MOfPTpR4y7kQy1O2 /n+RkkRvh26vTzfbQmrH7cBJhk6aA/9Uwvu3E4zNJgHVZeS0HyWtmR1eOPPRbnkPgJTToX5O KMKzTJI/FX6kT7cFoCamitHrW3BJP4Dx+cMMsa47EGxqVTdbVJ4LjogsXTXxb+0Fn1u4zBdx x3Cer6O7+hqWy7zvpzeC6nSREjqDKa5CgHtv/GLm5uFPOmsjAsnHj2tlBrQmV2F5bmUgU3Rh bWJhdWdoIDxzdGFtYmF1Z2h3QGdtYWlsLmNvbT6IeAQTEQIAOBYhBOffs6CbblRzBkv33BtR cWlZ+CReBQJbFBS2AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBtRcWlZ+CReMI8A nRbrLkzp7+c2f0vX7sfg4ICX8LAKAJ9uClo4uJajmZa5zZrL2nKdZlUwIrkCDQRDNIcxEAgA gCru+3/aOC6RCjpvYC72wY+d5SmHphC6yeiV2/mOumyt5MLo/Ps2GznZr11JspqFk5K/Zpvp MMLqqjDZ39+50a2iKRQFJ6NlK+hJWMmj6eJygQrCwYo3Gjc6CqfrqUv+8VSnf/i5sIZmtOVA 4ZjML18MuBvMSsNdVLFJd5HNnYb1iOECpvqdPVh/21LLCEw7MUUGGnHBhCrmk2aJe5hFmcSN g4ldBcXrgMQBwf7aMVoobXBMFDb/IENByXn0llB7Gr2IFMRmNS9/p8s/II1Yl2bTqyX4FSz8 cfn7C9KEz7faZ7wzAcpwHFC/zs3JoAjJ0IEKdNUpIwAlKMzT3CzctwADBQf/cxpG28MKyrqk nNmq/8LQLy+x6FSYXBLjxQz9BiBNYeesDZQ6J5UbL1mjpJzMa5tLZypPYo4bbGyR22hrbyDF K7m6AcVaMIJKl98g4ukMutFfAJyRDaREH5Zl/X1P4u1Z/yaAIy9mKaNbaK1/5djNJ5wCTFen TUgAp9xdc30kGkFDdLJFp5uxDY4P0vaZiZdjUCvDM3Zjv5IzpNOfxVqTUBQNUP/BnnKhkk0p DTD6s3X8S+D0rOtEBQ8K0cwERI/E8EFa8nj0TNw4e2MYGR8wg+SxqJ7z5f0zPY0bO6G9DDFB wYCqzzPWGqdAh9vA5971TAbPERtdFybhkurozp2SfYhJBBgRAgAJBQJDNIcxAhsMAAoJEBtR cWlZ+CResHUAniULLCWiT26ieRTl7N2vS6vBo/DuAJ4m7Ss/gyiW6ybTn1ctDXAUgm2QVQ==
-
In-reply-to:
<CAOuK9LgsbG=VeGrJVO2pwC_WQvMT=8Ap_sxbY1i+EuXNva_fvw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
There is definitely something wrong but I'm not sure where the issue is.
I downgraded both cmake a couple of versions but cmake started
complaining about missing libraries. I even modified Findngspice.cmake
with the absolute path to libngspice-0.dll and it still didn't work so
something is definitely broken. I'm may try a full clean reinstall of
msys2 when I have a *lot* of free time so I don't know when that will
happen. For all of you windows devs using msys2, you might want to hold
off updating until this issue is resolved.
On 5/20/20 3:13 AM, Nick Østergaard wrote:
> Hi Brian
>
> Mmm, it sound more like you are not updating msys2 properly...
>
> But please attach pkglist_with_s.txt.
> pacman -Qs > pkglist_with_s.txt
>
> It looks like msys2 also recommends an update script (update-core) to
> workaround the issues with the runtime. [1] Especially note:
>
> "Run update-core. If one of the packages is updated during script run
> you MUST restart MSYS2"
>
> After this, please try a clean (read new) build dir and run cmake afresh.
>
> Nick
>
> [1] https://www.msys2.org/wiki/MSYS2-installation/
>
> On Wed, 20 May 2020 at 03:53, Brian Piccioni
> <brian@xxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> Hello
>>
>> I updated Msys2 (pacman -Syuu) and it borked the terminal (basically when building the nice percentages, etc., became more or less random strings).
>>
>> I decided to reinstall Msys2. I wiped the directory and reinstalled.
>>
>> After doing so and following the directions at https://docs.kicad-pcb.org/doxygen/md_Documentation_development_compiling.html#build_windows
>>
>> cmake -DCMAKE_BUILD_TYPE=Release \
>> -G "MSYS Makefiles" \
>> -DCMAKE_PREFIX_PATH=/mingw64 \
>> -DCMAKE_INSTALL_PREFIX=/mingw64 \
>> -DDEFAULT_INSTALL_PATH=/mingw64 \
>> ../../
>>
>> Fails with
>>
>> -- Found Boost: C:/msys64/mingw64/include (found suitable version "1.72.0", minimum required is "1.59.0")
>> ERROR:
>> ***** libngspice-x.dll not found in any executable path *****
>>
>>
>> CMake Error at C:/msys64/mingw64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
>> Could NOT find ngspice (missing: NGSPICE_DLL)
>> Call Stack (most recent call first):
>> C:/msys64/mingw64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
>> CMakeModules/Findngspice.cmake:63 (find_package_handle_standard_args)
>> CMakeLists.txt:628 (find_package)
>>
>> ================================
>>
>> However, I do have C:\msys64\mingw64\bin\libngspice-0.dll and my path is PATH=C:\msys64;C:\msys64\mingw64\bin; ... (in the cmake file there is a remark
>>
>> # Note: libngspice-0.dll or libngspice-1.dll must be in a executable path
>>
>>
>> Any suggestions how to fix this would be appreciated.
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References