[Kicad-developers] Any pointers to speed up the build
Hello Team, I don't know whether this is normal, but even for a small change, the application takes ~ 15 mins to build. $ time make -j 5 install ... ... real14m51.815s user0m8.017s sys 0m15.641s The most time is spent in the linking process. (Following steps) [ 98%] Linking CXX shared module _pcbnew.kiface [ 98%] Built target pcbnew_kiface [ 98%] Creating python's pcbnew native module _pcbnew.pyd for command line use. [ 98%] Built target pcbnew [ 98%] Linking CXX executable qa_pcbnew_tools.exe [ 98%] Linking CXX executable qa_pcbnew.exe [ 98%] Built target pcbnew_python_module [ 98%] Built target qa_pcbnew_tools [100%] Built target qa_pcbnew Is there a way to speed this up? Thanks! Best Regards, Pradeepa Senanayake. ___ 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] Help needed to configure gdb
Thanks Mikołaj! It works! For anyone who might come across this thread, following gdb usage works. >>> Build and install the debug build of kicad >>> From windows command prompt execute: $: I:\msys64\mingw64\bin\gdb.exe kicad >>> Then, from the gdb shell add the breakpoint in the required line. Answer 'y' to Make breakpoint pending on future (gdb) break I:/msys64/home/Pradeepa/kicad-source/pcbnew/dialogs/dialog_copper_zones.cpp:155 No source file named I:/msys64/home/Pradeepa/kicad-source/pcbnew/dialogs/dialog_copper_zones.cpp. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 2 (I:/msys64/home/Pradeepa/kicad-source/pcbnew/dialogs/dialog_copper_zones.cpp:155) pending. >>> Run the program using the following command (gdb) run Now your breakpoint is active and will get triggered accordingly. Cheers! Best Regards, Pradeepa Senanayake. On Thu, Jul 8, 2021 at 4:47 AM Mikołaj Wielgus wrote: > KiCad loads symbols dynamically on runtime. So Gdb may not see them until > KiCad starts running. > > Setting breakpoints works for me if I reply "y" to the "Make breakpoint > pending on future shared library load? (y or [n])" prompt when the source > file is not found. Gdb should also be able to find the source file if you > set the breakpoint after running then interrupting KiCad. > > Best, > Mikołaj > > > On Wed, Jul 7, 2021 at 3:49 PM pradeepa.kck > wrote: > >> Thanks Jon. I tried that and in that case gdb launched kicad, but it >> couldn't find the source file to set a breakpoint. >> >> If someone can give me an example of setting the breakpoint that would be >> great. I tried relative path and full path, but still couldn't set the >> breakpoint in copper_zone_dialog.cpp. >> >> - Pradeepa >> >> Sent on the go with Vodafone >> >> >> Original message >> From: Jon Evans >> Date: 7/7/21 11:28 pm (GMT+10:00) >> To: Pradeepa Senanayake >> Cc: KiCad Developers >> Subject: Re: [Kicad-developers] Help needed to configure gdb >> >> gdb ./kicad/kicad is starting KiCad from the build directory. >> >> This isn't a fully-supported way of debugging KiCad, but if you want to >> do this, you must set the environment variable >> >> KICAD_RUN_FROM_BUILD_DIR=1 >> >> Alternatively, since you are running `make install` above, you can use >> gdb to debug KiCad at the installed location, rather than inside the build >> directory. >> >> This will probably be a more reliable mechanism. >> >> -Jon >> >> On Wed, Jul 7, 2021 at 9:24 AM Pradeepa Senanayake < >> pradeepa@gmail.com> wrote: >> >>> Hello All, >>> >>> Sorry for the long mail. >>> >>> I'm trying to debug one of my changes using gdb and I've run into a >>> roadblock. >>> >>> This is what I did so far, >>> >>> >> Built KiCAD using following commands >>> >>> cmake -DCMAKE_BUILD_TYPE=Debug >>> -G "MSYS Makefiles" >>> -DCMAKE_PREFIX_PATH=/mingw64 >>>-DCMAKE_INSTALL_PREFIX=/mingw64 >>>-DDEFAULT_INSTALL_PATH=/mingw64 >>>-DOCC_INCLUDE_DIR=/mingw64/include/opencascade >>>-DPYTHON_INCLUDE_DIR=/mingw64/include/python3.8 >>>../../ >>> make -j 4 install >>> >>> >> Started gdb using the following command >>> >>> $: gdb ./kicad/kicad >>> >>> ... >>> ... >>> Reading symbols from ./kicad/kicad.exe... >>> (gdb) run >>> Starting program: >>> I:\msys64\home\Pradeepa\kicad-source\build\debug\kicad\kicad.exe >>> [New Thread 16296.0x41b0] >>> [New Thread 16296.0x3e0c] >>> [New Thread 16296.0x2130] >>> Python path configuration: >>> PYTHONHOME = (not set) >>> PYTHONPATH = (not set) >>> program name = 'python3' >>> isolated = 0 >>> environment = 1 >>> user site = 1 >>> import site = 1 >>> sys._base_executable = >>> 'I:/msys64/home/Pradeepa/kicad-source/build/debug/kicad/kicad.exe' >>> sys.base_prefix = 'D:/a/_temp/msys/msys64/mingw64' >>> sys.base_exec_prefix = 'D:/a/_temp/msys/msys64/mingw64' >>> sys.executable = >>> 'I:/msys64/home/Pradeepa/kicad-source/build/debug/kicad/kicad.exe' >>> sys.prefix = 'D:/a/_temp/msys/msys64/mingw64' >>> sys.exec_prefix = 'D:/a/_temp/msys/msys64/mingw64' >>> sys.path = [ >>> 'D:/a/_temp/msys/msys64/mingw64/l
[Kicad-developers] Help needed to configure gdb
Hello All, Sorry for the long mail. I'm trying to debug one of my changes using gdb and I've run into a roadblock. This is what I did so far, >> Built KiCAD using following commands cmake -DCMAKE_BUILD_TYPE=Debug -G "MSYS Makefiles" -DCMAKE_PREFIX_PATH=/mingw64 -DCMAKE_INSTALL_PREFIX=/mingw64 -DDEFAULT_INSTALL_PATH=/mingw64 -DOCC_INCLUDE_DIR=/mingw64/include/opencascade -DPYTHON_INCLUDE_DIR=/mingw64/include/python3.8 ../../ make -j 4 install >> Started gdb using the following command $: gdb ./kicad/kicad ... ... Reading symbols from ./kicad/kicad.exe... (gdb) run Starting program: I:\msys64\home\Pradeepa\kicad-source\build\debug\kicad\kicad.exe [New Thread 16296.0x41b0] [New Thread 16296.0x3e0c] [New Thread 16296.0x2130] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = 'python3' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = 'I:/msys64/home/Pradeepa/kicad-source/build/debug/kicad/kicad.exe' sys.base_prefix = 'D:/a/_temp/msys/msys64/mingw64' sys.base_exec_prefix = 'D:/a/_temp/msys/msys64/mingw64' sys.executable = 'I:/msys64/home/Pradeepa/kicad-source/build/debug/kicad/kicad.exe' sys.prefix = 'D:/a/_temp/msys/msys64/mingw64' sys.exec_prefix = 'D:/a/_temp/msys/msys64/mingw64' sys.path = [ 'D:/a/_temp/msys/msys64/mingw64/lib/python38.zip', 'D:/a/_temp/msys/msys64/mingw64/lib/python3.8', 'D:/a/_temp/msys/msys64/mingw64/lib/python3.8', 'D:/a/_temp/msys/msys64/mingw64/lib/lib-dynload', ] Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x3154 (most recent call first): warning: Fatal Python error: warning: failed to get the Python codec of the filesystem encoding warning: [Thread 16296.0x3e0c exited with code 1] [Thread 16296.0x2130 exited with code 1] [Thread 16296.0x41b0 exited with code 1] [Inferior 1 (process 16296) exited with code 01] (gdb) I've set the PYTHONHOME to /mingw64 Now I can launch KiCad in gdb. However, it now gives many errors, Ex: can't open file I:\msys64\home\Pradeepa\kicad-source\build\debug\share\kicad\resources\images.tar.gz I feel that it's something to do with paths, however, it's hard to figure out without knowing how everything fits together. Can someone please give me a hand? Thanks! Best Regards, Pradeepa Senanayake. ___ 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] Get wxWidgets 3.1.5 package for MSYS2
This did the trick! Thanks a lot! Best Regards, Pradeepa Senanayake. On Sat, Jul 3, 2021 at 9:21 PM Wayne Stambaugh wrote: > Add -DPYTHON_INCLUDE_DIR=/mingw64/include/python3.8 to the CMake command > line. You have msys2 python installed which for some reason, > FindPythonLibs.cmake detects instead of the mingw64 path. > > On 7/2/2021 11:55 PM, pradeepa.kck wrote: > > I am using MINGW64. > > > > > > > > Sent on the go with Vodafone > > > > > > Original message > > From: Brian Piccioni > > Date: 3/7/21 1:43 pm (GMT+10:00) > > To: kicad-developers@lists.launchpad.net > > Subject: Re: [Kicad-developers] Get wxWidgets 3.1.5 package for MSYS2 > > > > Are you doing this from an MSYS2 window or MinGW64 window? Because I was > > doing the former and had all sorts of problems like this. > > > > On 2021-07-02 11:39 p.m., Pradeepa Senanayake wrote: > >> One more issue in the build related to the crypt.h file in python. Are > >> there any other package changes from the doc? > >> > >> >>>> > >> [ 6%] Building CXX object > >> common/CMakeFiles/gal.dir/view/wx_view_controls.cpp.obj > >> In file included from > >> > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/detail/common.h:119, > >> from > >> I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/pytypes.h:12, > >> from > >> I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/cast.h:13, > >> from > >> I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/attr.h:13, > >> from > >> I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/pybind11.h:45, > >> from > >> I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/embed.h:12, > >> from I:/my_projects/kicad/include/pgm_base.h:41, > >> from > >> I:/my_projects/kicad/common/view/wx_view_controls.cpp:29: > >> C:/msys64/usr/include/python3.9/Python.h:44:10: fatal error: crypt.h: > >> No such file or directory > >>44 | #include > >> | ^ > >> compilation terminated. > >> make[2]: *** [common/CMakeFiles/gal.dir/build.make:272: > >> common/CMakeFiles/gal.dir/view/wx_view_controls.cpp.obj] Error 1 > >> make[1]: *** [CMakeFiles/Makefile2:2688: > >> common/CMakeFiles/gal.dir/all] Error 2 > >> make: *** [Makefile:146: all] Error 2 > >> <<<< > >> > >> Following are the python packages I have for python: > >> > >> Pradeepa@DESKTOP-OA7GTE5 MINGW64 /i/my_projects/kicad/build/release > >> $ pacman -Qs python > >> local/mingw-w64-x86_64-python 3.8.9-2 > >> A high-level scripting language (mingw-w64) > >> local/mingw-w64-x86_64-python-numpy 1.21.0-1 > >> Scientific tools for Python (mingw-w64) > >> local/mingw-w64-x86_64-python-pillow 8.3.0-1 > >> Python Imaging Library (PIL) fork Python3 version (mingw-w64) > >> local/mingw-w64-x86_64-python-six 1.16.0-1 > >> Python 2 and 3 compatibility utilities (mingw-w64) > >> local/mingw-w64-x86_64-python2 2.7.18-1 > >> A high-level scripting language (mingw-w64) > >> local/mingw-w64-x86_64-wxPython 4.1.1-1 > >> A wxWidgets GUI toolkit for Python (mingw-w64) > >> local/python 3.9.5-1 > >> Next generation of the python high-level scripting language > >> local/scons 3.1.2-6 (base-devel) > >> Extensible Python-based build utility > >> > >> Best Regards, > >> Pradeepa Senanayake. > >> > >> > >> On Sat, Jul 3, 2021 at 1:10 PM Pradeepa Senanayake > >> mailto:pradeepa@gmail.com>> wrote: > >> > >> Thanks! You are right. > >> > >> I had to remove the outdated wxWidgets package and clean up my > >> build folder. > >> > >> Best Regards, > >> Pradeepa Senanayake. > >> > >> > >> On Sat, Jul 3, 2021 at 1:03 PM Brian Piccioni > >> mailto:br...@documenteddesigns.com>> > >> wrote: > >> > >> Yes, I checked > >> > >> mingw-w64-x86_64-wxmsw3.1 gets you 3.1.5 > >> > >> > >> mingw64/mingw-w64-x86_64-wxmsw3.1 3.1.5-1 [installed] > >> A C++ library that lets developers create applications for > >> Windows, Linux and UNIX (ming
Re: [Kicad-developers] Get wxWidgets 3.1.5 package for MSYS2
Hello All, I retried the entire build setup and it looks like there is a problem. 1. Installed MSYS2 from scratch and synced packages 2. Cloned KiCAD 3. Installed required packages as per the documentation 4. CMake is successful 5. make fails Error: In file included from I:/msys64/home/Pradeepa/kicad-source/thirdparty/pybind11/include/pybind11/detail/common.h:119, from I:/msys64/home/Pradeepa/kicad-source/thirdparty/pybind11/include/pybind11/pytypes.h:12, from I:/msys64/home/Pradeepa/kicad-source/thirdparty/pybind11/include/pybind11/cast.h:13, from I:/msys64/home/Pradeepa/kicad-source/thirdparty/pybind11/include/pybind11/attr.h:13, from I:/msys64/home/Pradeepa/kicad-source/thirdparty/pybind11/include/pybind11/pybind11.h:45, from I:/msys64/home/Pradeepa/kicad-source/thirdparty/pybind11/include/pybind11/embed.h:12, from I:/msys64/home/Pradeepa/kicad-source/include/pgm_base.h:41, from I:/msys64/home/Pradeepa/kicad-source/common/view/wx_view_controls.cpp:29: I:/msys64/usr/include/python3.9/Python.h:44:10: fatal error: crypt.h: No such file or directory 44 | #include | ^ compilation terminated. I tried installing https://packages.msys2.org/package/libgcrypt-devel?repo=msys=x86_64 https://packages.msys2.org/package/libcrypt?repo=msys=x86_64 Still it fails. If anyone has some ideas, please let me know. Best Regards, Pradeepa Senanayake. On Sat, Jul 3, 2021 at 1:55 PM pradeepa.kck wrote: > I am using MINGW64. > > > > Sent on the go with Vodafone > > > Original message > From: Brian Piccioni > Date: 3/7/21 1:43 pm (GMT+10:00) > To: kicad-developers@lists.launchpad.net > Subject: Re: [Kicad-developers] Get wxWidgets 3.1.5 package for MSYS2 > > Are you doing this from an MSYS2 window or MinGW64 window? Because I was > doing the former and had all sorts of problems like this. > On 2021-07-02 11:39 p.m., Pradeepa Senanayake wrote: > > One more issue in the build related to the crypt.h file in python. Are > there any other package changes from the doc? > > >>>> > [ 6%] Building CXX object > common/CMakeFiles/gal.dir/view/wx_view_controls.cpp.obj > In file included from > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/detail/common.h:119, > from > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/pytypes.h:12, > from > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/cast.h:13, > from > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/attr.h:13, > from > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/pybind11.h:45, > from > I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/embed.h:12, > from I:/my_projects/kicad/include/pgm_base.h:41, > from > I:/my_projects/kicad/common/view/wx_view_controls.cpp:29: > C:/msys64/usr/include/python3.9/Python.h:44:10: fatal error: crypt.h: No > such file or directory >44 | #include > | ^ > compilation terminated. > make[2]: *** [common/CMakeFiles/gal.dir/build.make:272: > common/CMakeFiles/gal.dir/view/wx_view_controls.cpp.obj] Error 1 > make[1]: *** [CMakeFiles/Makefile2:2688: common/CMakeFiles/gal.dir/all] > Error 2 > make: *** [Makefile:146: all] Error 2 > <<<< > > Following are the python packages I have for python: > > Pradeepa@DESKTOP-OA7GTE5 MINGW64 /i/my_projects/kicad/build/release > $ pacman -Qs python > local/mingw-w64-x86_64-python 3.8.9-2 > A high-level scripting language (mingw-w64) > local/mingw-w64-x86_64-python-numpy 1.21.0-1 > Scientific tools for Python (mingw-w64) > local/mingw-w64-x86_64-python-pillow 8.3.0-1 > Python Imaging Library (PIL) fork Python3 version (mingw-w64) > local/mingw-w64-x86_64-python-six 1.16.0-1 > Python 2 and 3 compatibility utilities (mingw-w64) > local/mingw-w64-x86_64-python2 2.7.18-1 > A high-level scripting language (mingw-w64) > local/mingw-w64-x86_64-wxPython 4.1.1-1 > A wxWidgets GUI toolkit for Python (mingw-w64) > local/python 3.9.5-1 > Next generation of the python high-level scripting language > local/scons 3.1.2-6 (base-devel) > Extensible Python-based build utility > > Best Regards, > Pradeepa Senanayake. > > > On Sat, Jul 3, 2021 at 1:10 PM Pradeepa Senanayake > wrote: > >> Thanks! You are right. >> >> I had to remove the outdated wxWidgets package and clean up my build >> folder. >> >> Best Regards, >> Pradeepa Senanayake. >> >> >> On Sat, Jul 3, 2021 at 1:03 PM Brian Piccioni < >> br...@docume
Re: [Kicad-developers] Get wxWidgets 3.1.5 package for MSYS2
One more issue in the build related to the crypt.h file in python. Are there any other package changes from the doc? >>>> [ 6%] Building CXX object common/CMakeFiles/gal.dir/view/wx_view_controls.cpp.obj In file included from I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/detail/common.h:119, from I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/pytypes.h:12, from I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/cast.h:13, from I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/attr.h:13, from I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/pybind11.h:45, from I:/my_projects/kicad/thirdparty/pybind11/include/pybind11/embed.h:12, from I:/my_projects/kicad/include/pgm_base.h:41, from I:/my_projects/kicad/common/view/wx_view_controls.cpp:29: C:/msys64/usr/include/python3.9/Python.h:44:10: fatal error: crypt.h: No such file or directory 44 | #include | ^ compilation terminated. make[2]: *** [common/CMakeFiles/gal.dir/build.make:272: common/CMakeFiles/gal.dir/view/wx_view_controls.cpp.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:2688: common/CMakeFiles/gal.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 <<<< Following are the python packages I have for python: Pradeepa@DESKTOP-OA7GTE5 MINGW64 /i/my_projects/kicad/build/release $ pacman -Qs python local/mingw-w64-x86_64-python 3.8.9-2 A high-level scripting language (mingw-w64) local/mingw-w64-x86_64-python-numpy 1.21.0-1 Scientific tools for Python (mingw-w64) local/mingw-w64-x86_64-python-pillow 8.3.0-1 Python Imaging Library (PIL) fork Python3 version (mingw-w64) local/mingw-w64-x86_64-python-six 1.16.0-1 Python 2 and 3 compatibility utilities (mingw-w64) local/mingw-w64-x86_64-python2 2.7.18-1 A high-level scripting language (mingw-w64) local/mingw-w64-x86_64-wxPython 4.1.1-1 A wxWidgets GUI toolkit for Python (mingw-w64) local/python 3.9.5-1 Next generation of the python high-level scripting language local/scons 3.1.2-6 (base-devel) Extensible Python-based build utility Best Regards, Pradeepa Senanayake. On Sat, Jul 3, 2021 at 1:10 PM Pradeepa Senanayake wrote: > Thanks! You are right. > > I had to remove the outdated wxWidgets package and clean up my build > folder. > > Best Regards, > Pradeepa Senanayake. > > > On Sat, Jul 3, 2021 at 1:03 PM Brian Piccioni > wrote: > >> Yes, I checked >> >> mingw-w64-x86_64-wxmsw3.1 gets you 3.1.5 >> >> >> mingw64/mingw-w64-x86_64-wxmsw3.1 3.1.5-1 [installed] >> A C++ library that lets developers create applications for Windows, >> Linux and UNIX (mingw-w64) >> >> On 2021-07-02 10:51 p.m., Pradeepa Senanayake wrote: >> >> Hello, >> >> I'm trying to build the KiCad in MSYS2. >> >> I get the following error, >> >> Could NOT find wxWidgets: Found unsuitable version "3.0.5", but >> required is >> at least "3.1.5" >> >> I cannot download the required version through the suggested pacman >> -S mingw-w64-x86_64-wxWidgets command. ( >> https://packages.msys2.org/package/mingw-w64-x86_64-wxWidgets) >> >> Do I need to build wxWidgets from the source? >> >> Best Regards, >> Pradeepa Senanayake. >> >> ___ >> 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] Get wxWidgets 3.1.5 package for MSYS2
Thanks! You are right. I had to remove the outdated wxWidgets package and clean up my build folder. Best Regards, Pradeepa Senanayake. On Sat, Jul 3, 2021 at 1:03 PM Brian Piccioni wrote: > Yes, I checked > > mingw-w64-x86_64-wxmsw3.1 gets you 3.1.5 > > > mingw64/mingw-w64-x86_64-wxmsw3.1 3.1.5-1 [installed] > A C++ library that lets developers create applications for Windows, > Linux and UNIX (mingw-w64) > > On 2021-07-02 10:51 p.m., Pradeepa Senanayake wrote: > > Hello, > > I'm trying to build the KiCad in MSYS2. > > I get the following error, > > Could NOT find wxWidgets: Found unsuitable version "3.0.5", but required > is > at least "3.1.5" > > I cannot download the required version through the suggested pacman > -S mingw-w64-x86_64-wxWidgets command. ( > https://packages.msys2.org/package/mingw-w64-x86_64-wxWidgets) > > Do I need to build wxWidgets from the source? > > Best Regards, > Pradeepa Senanayake. > > ___ > 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
[Kicad-developers] Get wxWidgets 3.1.5 package for MSYS2
Hello, I'm trying to build the KiCad in MSYS2. I get the following error, Could NOT find wxWidgets: Found unsuitable version "3.0.5", but required is at least "3.1.5" I cannot download the required version through the suggested pacman -S mingw-w64-x86_64-wxWidgets command. ( https://packages.msys2.org/package/mingw-w64-x86_64-wxWidgets) Do I need to build wxWidgets from the source? Best Regards, Pradeepa Senanayake. ___ 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] Bug #1752298: Clean up sorting functions for mixed text and numbers
Hello All, I started working on the bug #1752298 and I would like to get an understanding on the requirements. I feel that this is not a bug, rather it is a requirement to have a unified function for sorting. There can be many requirements for sorting in KiCAD. Therefore, before jumping into implementation, I'd like to ask what requirements we are after. One sorting mechanism can look like below. A0, A1, A2, , B0, B1, B2 C1, C2, C3, ... , AA1, AA2, ..., AB0, AB1, ... etc This can possibly be used for pin sorting (PA0, PA1, etc.) and component sorting. (J1, J2, U1, U2, etc.) Also, where do we usually store utility functions? Is there a particular namespace? Thanks! Best Regards, Pradeepa Senanayake. ___ 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] Pointers to start contributing
Hello Guys, Thanks for the overwhelming response. I will start working on starter bugs. I'm planning to look into "Clean up sorting functions for mixed text and numbers" bug. It looks like a good place to start. Cheers! Best Regards, Pradeepa Senanayake. On Sat, Jun 29, 2019 at 6:10 AM Wayne Stambaugh wrote: > On 6/28/2019 2:23 PM, Seth Hillbrand wrote: > > On 2019-06-28 13:25, Gabriel Staples, ElectricRCAircraftGuy.com wrote: > >> Agreed! I was literally about to suggest the same thing. Add to this > >> page: http://kicad-pcb.org/contribute/developers/ > >> > >> That type of info (from Seth just now) would best be served I think > >> though on a KiCad wiki, where any developer or contributor with edit > >> access can just jump in and click an edit button and type that up or > >> make edits or improvements as they see fit. Would it be possible for > >> KiCad to get a wiki? > > > > > > Hi Gabriel/Ben- > > > > I'm happy that the summary is useful. I'll talk with others about if > > and where we might include a summary section or divide up the > > contributing site to make it more manageable. > > I don't see any issues with adding your summary to the contributing page > on the KiCad website. I would think a link to Jon's KiCon presentation > would also be useful. > > > > > On the wiki idea, we have pull requests for the kicad-website[1]. > > Personally, I find this setup preferable as it keeps our toolbase (git + > > markdown) consistent and the content moderated. Please give > > contributing a shot over there first. Github will even give you an > > inline markdown editor, so you don't need to learn git, just fork and go. > > > > Best- > > Seth > > > > > > [1] https://github.com/kicad/kicad-website/pulls > > > > ___ > > 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
[Kicad-developers] Pointers to start contributing
Hello, I've recently started using KiCAD and I absolutely love it. Since it is open-source, I though I'll contribute to the project in which ever way I can. I have been using Orcad, Altium and Eagle during my career as an Electronics Engineer and then I had to work in Software. Therefore, I'm well versed in C, C++ and Python too. I've already built the project referring the documentation. I'm planning to go through the source code to just understand the architecture. Is there an architectural document for KiCAD? If there is anyone who has time to give me any pointers, it would be greatly appreciated. You all have done an amazing job! Thanks! Best Regards, Pradeepa Senanayake. ___ 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 errors on Windows 10
Hello All, I tried to build the KiCad source in Windows 10 MSYS2 environment using the steps available in the http://docs.kicad-pcb.org/doxygen/md_Documentation_development_compiling.html location. However, the build fails with the following error. CMake Error: Could not create named generator MSYS Makefiles Generators * Unix Makefiles = Generates standard UNIX makefiles. Ninja= Generates build.ninja files. CodeBlocks - Ninja = Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. CodeLite - Ninja = Generates CodeLite project files. CodeLite - Unix Makefiles= Generates CodeLite project files. Sublime Text 2 - Ninja = Generates Sublime Text 2 project files. Sublime Text 2 - Unix Makefiles = Generates Sublime Text 2 project files. Kate - Ninja = Generates Kate project files. Kate - Unix Makefiles= Generates Kate project files. Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files. Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files. Is this a known error? Thanks! Best Regards, Pradeepa Senanayake. ___ 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