Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread Brian Piccioni

Wayne

Thanks for the suggestion! It didn't take that much time to build. When 
it was done, the output file had a different extension.


pacman -U mingw-w64-x86_64-wxPython-3.0.2.0-9-any.pkg.tar.zst

I am now trying to compile origin/master.

On 2020-05-25 11:28 a.m., Wayne Stambaugh wrote:

I've had this problem the last couple of times that a new build of the
wxWidgets package was released.  You will have to checkout a copy of the
mingw package repo on github and rebuild the wxPython package with the
latest compiler (gcc 10) to fix the ABI warning.  It's not terribly
difficult just do the following:

* Launch the msys2 console.  This does not work with a mingw console.
* Run `cd /to/your/src/folder`
* Run `git clonehttps://github.com/msys2/MINGW-packages.git`
* Run `cd ./MINGW-packages/mingw-w64-wxPython`
* Run `makepkg-mingw`
* Wait a really long time for both 64 and 32 bit packages to build.
* Run `pacman -U mingw-w64-x86_64-wxPython-3.0.2.0-9-any.pkg.tar.xz` or
`pacman -U mingw-w64-i686-wxPython-3.0.2.0-9-any.pkg.tar.xz` depending
if you are using mingw64 or mingw32.
* Reconfigure your KiCad build.  You may have to do a clean configure.


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread Wayne Stambaugh
I've had this problem the last couple of times that a new build of the
wxWidgets package was released.  You will have to checkout a copy of the
mingw package repo on github and rebuild the wxPython package with the
latest compiler (gcc 10) to fix the ABI warning.  It's not terribly
difficult just do the following:

* Launch the msys2 console.  This does not work with a mingw console.
* Run `cd /to/your/src/folder`
* Run `git clone https://github.com/msys2/MINGW-packages.git`
* Run `cd ./MINGW-packages/mingw-w64-wxPython`
* Run `makepkg-mingw`
* Wait a really long time for both 64 and 32 bit packages to build.
* Run `pacman -U mingw-w64-x86_64-wxPython-3.0.2.0-9-any.pkg.tar.xz` or
`pacman -U mingw-w64-i686-wxPython-3.0.2.0-9-any.pkg.tar.xz` depending
if you are using mingw64 or mingw32.
* Reconfigure your KiCad build.  You may have to do a clean configure.


On 5/25/20 9:33 AM, Brian Piccioni wrote:
> Unfortunately, while we seem to get past the libngspice-0.dll problem
> with the fix, the old workaround  for the python problem no longer works.
> 
> cmake -DCMAKE_BUILD_TYPE=Debug \
> -DKICAD_SCRIPTING=OFF\  I believe this used to get
> around the pyhton mismatch.
> -G "Eclipse CDT4 - Unix Makefiles" \
> -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
> -DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
> -DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
> -DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
> -DMSYS=TRUE \
> ../kicad
> 
> 
> Throws the library mismatch error.
> 
> 
> $ cmake -DCMAKE_BUILD_TYPE=Debug \
>> -DKICAD_SCRIPTING=OFF\
>> -G "Eclipse CDT4 - Unix Makefiles" \
>> -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
>> -DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
>> -DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
>> -DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
>> -DMSYS=TRUE \
>> ../kicad
> -- Eclipse version is set to 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION
> if this is wrong.
> -- KiCad install dir: 
> -- Enabling warning -Wsuggest-override
> -- Enabling warning -Wduplicated-branches
> -- Enabling warning -Wduplicated-cond
> -- Enabling error for -Wvla
> -- Enabling warning -Wimplicit-fallthrough
> -- Enabling error for -Wreturn-type
> -- Enabling warning -Wshadow
> -- Check for installed GLEW -- found
> info: libngspice shared lib found: C:/msys64/mingw64/bin/libngspice-0.dll
> 
> -- Check for installed Python Interpreter -- found
> -- Python module install path: lib/python2.7/site-packages
> CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
>   wxPython/Phoenix does not appear to be installed on the system
> Call Stack (most recent call first):
>   CMakeLists.txt:740 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also
> "C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeOutput.log".
> 
> See also
> "C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeError.log".
> 
> 
> 
> 
> On 2020-05-25 6:55 a.m., jp charras wrote:
>> Le 23/05/2020 à 17:55, jp charras a écrit :
>>> Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :
 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.


>>> I also tried the last msys version.
>>> I found 2 issues:
>>> this issue: libngspice-0.dll is not found even if it is in path.
>>> This is an issue but one can invoke cmake with option
>>> -DNGSPICE_DLL=
>>> The other issue is the fact the last msys version comes with
>>> wxWidgets 3.05 compiled with gcc10
>>> but wxPython was not rebuild and there is an ABI issue.
>>>
>>>
>> I just committed a fix for the libngspice-x.dll issue.
>> I am not entirely convinced this is a msys issue.
>> However, the wxPython problem is a msys issue.
>>
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread Brian Piccioni
I did  that and got a weird error from cmake to the effect it wanted to 
build MSVS make files (from long, long, long ago).


I deleted all CMakeCacke.txt on my system.

I decided to run pacman -Syuu and it did a small update.

I then ran the cmake script without scripting off

cmake -DCMAKE_BUILD_TYPE=Debug
 -G "Eclipse CDT4 - Unix Makefiles"
 -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE
 -DCMAKE_PREFIX_PATH=C:/msys64/mingw64
 -DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64
 -DDEFAULT_INSTALL_PATH=C:/msys64/mingw64
 -DMSYS=TRUE
 ../kicad

this completed with no errors. I am running

make -j install   presently.


perhaps they fixed the wxPython issue?



On 2020-05-25 10:57 a.m., jp charras wrote:

Le 25/05/2020 à 15:33, Brian Piccioni a écrit :

Unfortunately, while we seem to get past the libngspice-0.dll problem with the 
fix, the old workaround  for the python problem no longer works.

cmake -DCMAKE_BUILD_TYPE=Debug \
-DKICAD_SCRIPTING=OFF\  I believe this used to get around 
the pyhton mismatch.
-G "Eclipse CDT4 - Unix Makefiles" \
-DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
-DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
-DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
-DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
-DMSYS=TRUE \
../kicad


Throws the library mismatch error.


$ cmake -DCMAKE_BUILD_TYPE=Debug \

-DKICAD_SCRIPTING=OFF\
-G "Eclipse CDT4 - Unix Makefiles" \
-DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
-DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
-DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
-DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
-DMSYS=TRUE \
../kicad

-- Eclipse version is set to 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this 
is wrong.
-- KiCad install dir: 
-- Enabling warning -Wsuggest-override
-- Enabling warning -Wduplicated-branches
-- Enabling warning -Wduplicated-cond
-- Enabling error for -Wvla
-- Enabling warning -Wimplicit-fallthrough
-- Enabling error for -Wreturn-type
-- Enabling warning -Wshadow
-- Check for installed GLEW -- found
info: libngspice shared lib found: C:/msys64/mingw64/bin/libngspice-0.dll

-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/site-packages
CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
   wxPython/Phoenix does not appear to be installed on the system
Call Stack (most recent call first):
   CMakeLists.txt:740 (find_package)


-- Configuring incomplete, errors occurred!
See also 
"C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeOutput.log".
See also 
"C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeError.log".


I do not see this issue.

FindwxPython is not called if cmake is called with -DKICAD_SCRIPTING=OFF
(or DKICAD_SCRIPTING_WXPYTHON=OFF)
Try to delete CMakeCacke.txt and rerun cmake.




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread jp charras
Le 25/05/2020 à 15:33, Brian Piccioni a écrit :
> Unfortunately, while we seem to get past the libngspice-0.dll problem with 
> the fix, the old workaround  for the python problem no longer works.
> 
> cmake -DCMAKE_BUILD_TYPE=Debug \
> -DKICAD_SCRIPTING=OFF\  I believe this used to get around 
> the pyhton mismatch.
> -G "Eclipse CDT4 - Unix Makefiles" \
> -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
> -DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
> -DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
> -DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
> -DMSYS=TRUE \
> ../kicad
> 
> 
> Throws the library mismatch error.
> 
> 
> $ cmake -DCMAKE_BUILD_TYPE=Debug \
>> -DKICAD_SCRIPTING=OFF\
>> -G "Eclipse CDT4 - Unix Makefiles" \
>> -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
>> -DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
>> -DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
>> -DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
>> -DMSYS=TRUE \
>> ../kicad
> -- Eclipse version is set to 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if 
> this is wrong.
> -- KiCad install dir: 
> -- Enabling warning -Wsuggest-override
> -- Enabling warning -Wduplicated-branches
> -- Enabling warning -Wduplicated-cond
> -- Enabling error for -Wvla
> -- Enabling warning -Wimplicit-fallthrough
> -- Enabling error for -Wreturn-type
> -- Enabling warning -Wshadow
> -- Check for installed GLEW -- found
> info: libngspice shared lib found: C:/msys64/mingw64/bin/libngspice-0.dll
> 
> -- Check for installed Python Interpreter -- found
> -- Python module install path: lib/python2.7/site-packages
> CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
>   wxPython/Phoenix does not appear to be installed on the system
> Call Stack (most recent call first):
>   CMakeLists.txt:740 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also 
> "C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeOutput.log".
> See also 
> "C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeError.log".
> 

I do not see this issue.

FindwxPython is not called if cmake is called with -DKICAD_SCRIPTING=OFF
(or DKICAD_SCRIPTING_WXPYTHON=OFF)
Try to delete CMakeCacke.txt and rerun cmake.


-- 
Jean-Pierre CHARRAS

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread Brian Piccioni
Unfortunately, while we seem to get past the libngspice-0.dll problem 
with the fix, the old workaround  for the python problem no longer works.


cmake -DCMAKE_BUILD_TYPE=Debug \
-DKICAD_SCRIPTING=OFF\  I believe this used to get 
around the pyhton mismatch.

-G "Eclipse CDT4 - Unix Makefiles" \
-DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
-DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
-DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
-DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
-DMSYS=TRUE \
../kicad


Throws the library mismatch error.


$ cmake -DCMAKE_BUILD_TYPE=Debug \
> -DKICAD_SCRIPTING=OFF\
> -G "Eclipse CDT4 - Unix Makefiles" \
> -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \
> -DCMAKE_PREFIX_PATH=C:/msys64/mingw64 \
> -DCMAKE_INSTALL_PREFIX=C:/msys64/mingw64 \
> -DDEFAULT_INSTALL_PATH=C:/msys64/mingw64 \
> -DMSYS=TRUE \
> ../kicad
-- Eclipse version is set to 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION 
if this is wrong.

-- KiCad install dir: 
-- Enabling warning -Wsuggest-override
-- Enabling warning -Wduplicated-branches
-- Enabling warning -Wduplicated-cond
-- Enabling error for -Wvla
-- Enabling warning -Wimplicit-fallthrough
-- Enabling error for -Wreturn-type
-- Enabling warning -Wshadow
-- Check for installed GLEW -- found
info: libngspice shared lib found: C:/msys64/mingw64/bin/libngspice-0.dll

-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/site-packages
CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
  wxPython/Phoenix does not appear to be installed on the system
Call Stack (most recent call first):
  CMakeLists.txt:740 (find_package)


-- Configuring incomplete, errors occurred!
See also 
"C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeOutput.log".
See also 
"C:/msys64/home/Msys_bjpic/FixedFormatting/debug/CMakeFiles/CMakeError.log".




On 2020-05-25 6:55 a.m., jp charras wrote:

Le 23/05/2020 à 17:55, jp charras a écrit :

Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :

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.



I also tried the last msys version.
I found 2 issues:
this issue: libngspice-0.dll is not found even if it is in path.
This is an issue but one can invoke cmake with option 
-DNGSPICE_DLL=
The other issue is the fact the last msys version comes with wxWidgets 3.05 
compiled with gcc10
but wxPython was not rebuild and there is an ABI issue.



I just committed a fix for the libngspice-x.dll issue.
I am not entirely convinced this is a msys issue.
However, the wxPython problem is a msys issue.



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread Nick Østergaard
I think you need to make a PR for msys2 with a pkgver bump, if they
merge it I assume it will appear in https://packages.msys2.org/queue
and it may be easier to poke them to let it rebuild. :/

On Mon, 25 May 2020 at 12:57, jp charras  wrote:
>
> Le 23/05/2020 à 17:55, jp charras a écrit :
> > Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :
> >> 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.
> >>
> >>
> > I also tried the last msys version.
> > I found 2 issues:
> > this issue: libngspice-0.dll is not found even if it is in path.
> > This is an issue but one can invoke cmake with option 
> > -DNGSPICE_DLL=
> > The other issue is the fact the last msys version comes with wxWidgets 3.05 
> > compiled with gcc10
> > but wxPython was not rebuild and there is an ABI issue.
> >
> >
>
> I just committed a fix for the libngspice-x.dll issue.
> I am not entirely convinced this is a msys issue.
> However, the wxPython problem is a msys issue.
>
> --
> Jean-Pierre CHARRAS
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-25 Thread jp charras
Le 23/05/2020 à 17:55, jp charras a écrit :
> Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :
>> 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.
>>
>>
> I also tried the last msys version.
> I found 2 issues:
> this issue: libngspice-0.dll is not found even if it is in path.
> This is an issue but one can invoke cmake with option 
> -DNGSPICE_DLL=
> The other issue is the fact the last msys version comes with wxWidgets 3.05 
> compiled with gcc10
> but wxPython was not rebuild and there is an ABI issue.
> 
> 

I just committed a fix for the libngspice-x.dll issue.
I am not entirely convinced this is a msys issue.
However, the wxPython problem is a msys issue.

-- 
Jean-Pierre CHARRAS

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-24 Thread Brian Piccioni

I am glad to hear it wasn't finger trouble on my part at least.

On 2020-05-23 11:55 a.m., jp charras wrote:

Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :

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.



I also tried the last msys version.
I found 2 issues:
this issue: libngspice-0.dll is not found even if it is in path.
This is an issue but one can invoke cmake with option 
-DNGSPICE_DLL=
The other issue is the fact the last msys version comes with wxWidgets 3.05 
compiled with gcc10
but wxPython was not rebuild and there is an ABI issue.




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-23 Thread Wayne Stambaugh
On 5/23/20 11:55 AM, jp charras wrote:
> Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :
>> 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.
>>
>>
> I also tried the last msys version.
> I found 2 issues:
> this issue: libngspice-0.dll is not found even if it is in path.
> This is an issue but one can invoke cmake with option 
> -DNGSPICE_DLL=
> The other issue is the fact the last msys version comes with wxWidgets 3.05 
> compiled with gcc10
> but wxPython was not rebuild and there is an ABI issue.

Thanks for the tip but I still don't understand why the library is not
being found by cmake.  I've pinged the msys2 devs more than once about
the wxPython ABI issue but they don't seem terribly interested in
keeping them synced up.  It's easy enough to rebuild wxPython with the
latest version of gcc although it takes a long time.

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-23 Thread jp charras
Le 23/05/2020 à 17:35, Wayne Stambaugh a écrit :
> 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.
> 
> 
I also tried the last msys version.
I found 2 issues:
this issue: libngspice-0.dll is not found even if it is in path.
This is an issue but one can invoke cmake with option 
-DNGSPICE_DLL=
The other issue is the fact the last msys version comes with wxWidgets 3.05 
compiled with gcc10
but wxPython was not rebuild and there is an ABI issue.


-- 
Jean-Pierre CHARRAS

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-23 Thread Wayne Stambaugh
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
>  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@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-20 Thread Nick Østergaard
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
 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@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build on msys2 fails : libngspice-x.dll not found in any executable path

2020-05-19 Thread Brian Piccioni

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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp