kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43875
Build on msys2 fails : libngspice-x.dll not found in any executable path
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.
Follow ups