← Back to team overview

kicad-developers team mailing list archive

Re: Paths on the Windows 4.0.0 RC1

 

On 9/17/2015 6:20 PM, Brian Sidebotham wrote:
> As mentioned in the bug report here
> https://bugs.launchpad.net/kicad/4.0/+bug/1496049 there's a problem
> with paths on the Windows 4.0.0-RC1.
> 
> So far the paths that don't work:
> 
>     (1) Searching for help files fails
>     (2) Default paths in the "Path configuration" dialog all point to
> places in c:\msys64\mingw64, etc.
>     (3) Python footprint wizards don't load
> 
> and probably more. Needless to say, the KiCad experience out of the
> box because of this is very poor.

Agreed.  The current situation is unacceptable and will need to be
resolved before the stable release.

> 
> We need to fix up the path search which started with the help in the
> bug report. The current consensus is to have (yet another) env var
> called something like KIHELP which can default on Windows to the
> literal string "${KICAD}\share\doc\kicad\help" which alleviates the
> previous problem of trying to guess the install path at compile time
> which is clearly flawed.
> 
> My personal preference would have just to have checked
> "BINDIR\..\share\doc\kicad\help" where BINDIR is gathered from
> ::wxStandardPaths::Get().GetExecutablePath();

I'm fine with this.  It used to be that way at one point but I'm not
sure what happened.

> 
> However, the decision appears to be to add another configurable path.

In the name of expediency, I recommend using the binary path fix above
if it resolves all of the issues.

> 
> While adding the new KIHELP env var solves part of the problem, the
> Windows installer should be updated to set the KICAD env var to the
> chosen install path while installing. et. voila, paths fixed.
> 
> Best Regards,
> 
> Brian.
> 
> _______________________________________________
> 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
> 



References