kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #14124
PATCH: opening *.pro in current directory gives error message
Hi,
Opening a foo.pro file in the current directory
kicad foo.pro
gives an error message ("Directory not found").
The reason is simple: calling wxSetWorkingDirectory() with an empty string
causes that problem.
This might be due to version of wxwidgets; I have version 3.0 whatever is
currently on debian testing.
Arguably, that should be fixed in wxwidgets (I'll check out that code later
and look for a solution there).
But for now, a fix for the immediate problem
View patch:
https://github.com/hzeller/kicad/compare/fix-error-message-on-opening-file-in-cwd
Download diff:
https://github.com/hzeller/kicad/compare/fix-error-message-on-opening-file-in-cwd.diff
This is against current head.
Cheers,
Henner.
Follow ups