Re: [Kicad-developers] Build for software rendering only?
The only problem I have had is the OpenGL rendering mode in pcbnew requires an OpenGL version that is not available on one of my laptops. ___ 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] Turn key build system for poking and messing around with the sources
Le 09/10/2014 08:36, Lorenzo Marcantonio a écrit : On Wed, Oct 08, 2014 at 11:33:39PM +0200, Benoît Roehr wrote: Does someone have a turnkey solution for building and running eeschema alone ? Can it be done by tweaking winbuilder ? (help help !) Well, if you only touch eeschema the rebuild will only recompile that! So I see no needs for tweakings... You answered exactly my concern ! I was searching a way to speed up the compilation. Ok, so now, I'm digging into the cMake script to build kicad from local source. I'll find this I think. What is it that you are trying to do that you want a standalone eeschema? There are a lot of ideas I would like to see become real in KiCad. But for the moment, I need to dig into the sources and poke things around, seeing what is doing what, what is possible or not, and I prefer to do it locally because I'm a beginner for big projects and I want clean and working code, which follows coding style rules. I also need to learn more about wxWidget, openGL, Canvas, Cairos, boost...etc... ___ 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] Turn key build system for poking and messing around with the sources
On 9 October 2014 10:01, Benoît Roehr benoit.roehr...@gmail.com wrote: Le 09/10/2014 08:36, Lorenzo Marcantonio a écrit : On Wed, Oct 08, 2014 at 11:33:39PM +0200, Benoît Roehr wrote: Does someone have a turnkey solution for building and running eeschema alone ? Can it be done by tweaking winbuilder ? (help help !) Well, if you only touch eeschema the rebuild will only recompile that! So I see no needs for tweakings... You answered exactly my concern ! I was searching a way to speed up the compilation. Ok, so now, I'm digging into the cMake script to build kicad from local source. I'll find this I think. KiCad-Winbuilder is not a great way to develop code, but if you have it on your computer and you want to investigate the sources, you can at least do that. Once you've compiled once, use the enterenv.bat batch file to enter a console with the KiCad winbuilder environment setup. From here you can move to the build directory and use the command mingw32-make eeschema to build just eeschema, or else mingw32-make by itself to build everything (that requires building). Running make.bat is not going to be good if you're making local changes because you'll likely hit conflicts at some point and everything will become a mess. Just investigate and make changes, then when you want to update to the latest version of KiCad you can enter the kicad source directory and use bzr diff mychanges.diff to keep track of your changes in a diff file, followed by bzr revert to remove your changes from the tree. You can then safely run make.bat again to update and compile everything. As make.bat checks for the latest documentation and KiCad source code it is much quicker to enter the environment and issue the make commands directly. You'll have to run eeschema from the build directory, or else manually copy it across to the kicad\bin folder to use RunKiCad.bat Lastly, if you do want to develop KiCad I would strongly urge moving to Linux for development because it's just s much easier and faster! We always require heavy testing on Windows, but developing on Windows is a real pain. Good Luck anyway! Best Regards, Brian. ___ 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 for software rendering only?
This might be unrelated, but on most recent Macbook Pros there are two video cards, the Intel integrated GPU and a discrete, more powerful but more power hungry GPU. Usually you'll run on the lower power Intel GPU, unless an application (or external monitor) requires the discrete GPU to turn on. Currently, OpenGL mode in PCBNew requires the discrete card to turn on, but I'm curious if that's actually necessary. If it works with just the integrated GPU you could still use hardware rendering, assuming it has the required OpenGL extensions (which I think it does?). I'm not certain how this works, but it requires the use of an Info.plist file in the app bundle directory. See: https://developer.apple.com/library/mac/qa/qa1734/_index.html I might try to play around with this a little bit myself, but I'm not really sure how to get the Info.plist file to even be recognized, so it might take a while. On Thu, Oct 9, 2014 at 2:12 AM, Kaspar Emanuel kaspar.eman...@gmail.com wrote: The only problem I have had is the OpenGL rendering mode in pcbnew requires an OpenGL version that is not available on one of my laptops. ___ 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] Panelizing in python almost ready.
Hello Daniel When I try it on a random board of mine testing with a freshly built 5171 it fails with: 12:00:30: Debug: Skipping general section token 'links' 12:00:30: Debug: Skipping general section token 'area' 12:00:30: Debug: Skipping general section token 'drawings' 12:00:30: Debug: Skipping general section token 'tracks' 12:00:30: Debug: Skipping general section token 'zones' 12:00:30: Debug: Skipping general section token 'symbol' Traceback (most recent call last): File pcbPanelize, line 28, in lambda ui.buttonProceed.connect(clicked, lambda xargs: self.appPanelize()) File pcbPanelize, line 193, in appPanelize SolMsk=FromMils(4), angle=ui.rfAngle.get_value()) File pcbPanelize, line 96, in brdPanel self.brdItemize(pcb) File pcbPanelize, line 62, in brdItemize Item.remove = False AttributeError: 'NoneType' object has no attribute 'remove' 2014-10-07 17:12 GMT+02:00 LordBlick lordbl...@gmail.com: In response to a message written on 03.10.2014 16:08, from LordBlick: In response to a message written on 03.10.2014 15:11, from Wayne Stambaugh: can I hope on create something like a pcbnew.getConfigDir() to provide best configuration storage in all supported OS's ? ;) There's no hope… Since this is already sure that the expected method is pcbnew.GetKicadConfigPath() from common/common.cpp:308 Thank you for your attention. https://github.com/LordBlick/kicadPanelizer Next stop is opposite to wxWidgeting hard way. :D -- Best Regards, LordBlick ___ 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 for software rendering only?
On Oct 9, 2014, at 5:30 AM, Ian Woloschin i...@woloschin.com wrote: This might be unrelated, but on most recent Macbook Pros there are two video cards, the Intel integrated GPU and a discrete, more powerful but more power hungry GPU. Usually you'll run on the lower power Intel GPU, unless an application (or external monitor) requires the discrete GPU to turn on. Currently, OpenGL mode in PCBNew requires the discrete card to turn on, but I'm curious if that's actually necessary. If it works with just the integrated GPU you could still use hardware rendering, assuming it has the required OpenGL extensions (which I think it does?). I'm not certain how this works, but it requires the use of an Info.plist file in the app bundle directory. See: https://developer.apple.com/library/mac/qa/qa1734/_index.html I might try to play around with this a little bit myself, but I'm not really sure how to get the Info.plist file to even be recognized, so it might take a while. Interesting article! (I'm typing this on the last of the 17 MacBook Pros, too, so I am very interested in this.) I believe the Info.plist file is the one in /Applications/kicad/pcbnew/Contents/Info.plist and it's easily modified by hand with a text editor or Xcode. (Right-click on the application icon and choose Show Package Contents so the bundle's contents show up in the Finder. Or do it from the terminal.) I wonder how you can tell if the computer has switched to the discrete GPU. I can guess: it starts heating up and the fan starts spinning fast! -a ___ 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] Panelizing in python almost ready.
In response to a message written on 09.10.2014 15:59, from Nick Østergaard: Hello Daniel When I try it on a random board of mine testing with a freshly built 5171 it fails with: 12:00:30: Debug: Skipping general section token 'links' 12:00:30: Debug: Skipping general section token 'area' 12:00:30: Debug: Skipping general section token 'drawings' 12:00:30: Debug: Skipping general section token 'tracks' 12:00:30: Debug: Skipping general section token 'zones' 12:00:30: Debug: Skipping general section token 'symbol' Traceback (most recent call last): File pcbPanelize, line 28, in lambda ui.buttonProceed.connect(clicked, lambda xargs: self.appPanelize()) File pcbPanelize, line 193, in appPanelize SolMsk=FromMils(4), angle=ui.rfAngle.get_value()) File pcbPanelize, line 96, in brdPanel self.brdItemize(pcb) File pcbPanelize, line 62, in brdItemize Item.remove = False AttributeError: 'NoneType' object has no attribute 'remove' First six „Debug” lines are not from my script. Searching for regex:'Skipping general section token'... In:'~/rpm/BUILD/kicad-sources-BZR.5171-main/pcbnew/pcb_parser.cpp': 550:wxLogDebug( wxT( Skipping general section token %s ), Parser ads to objects list some NULL object, which is incorrect/non-sensible. List can be empty, but cannot have NULLs… My script on BZR5164 works fine… -- Best Regards, LordBlick ___ 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] Panelizing in python almost ready.
In response to a message written on 09.10.2014 15:59, from Nick Østergaard: Hello Daniel When I try it on a random board of mine testing with a freshly built 5171 it fails with: 12:00:30: Debug: Skipping general section token 'links' 12:00:30: Debug: Skipping general section token 'area' 12:00:30: Debug: Skipping general section token 'drawings' 12:00:30: Debug: Skipping general section token 'tracks' 12:00:30: Debug: Skipping general section token 'zones' 12:00:30: Debug: Skipping general section token 'symbol' Traceback (most recent call last): File pcbPanelize, line 28, in lambda ui.buttonProceed.connect(clicked, lambda xargs: self.appPanelize()) File pcbPanelize, line 193, in appPanelize SolMsk=FromMils(4), angle=ui.rfAngle.get_value()) File pcbPanelize, line 96, in brdPanel self.brdItemize(pcb) File pcbPanelize, line 62, in brdItemize Item.remove = False AttributeError: 'NoneType' object has no attribute 'remove' You force me to build BZR5171 too… :P On that build I have not found any problems too - script last git commit 2014 Oct 7. -- Best Regards, LordBlick ___ 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] Panelizing in python almost ready.
Hi LordBlick, It is my guess that the issue isn't with the particular build, but instead something you didn't expect in the input file. Adam Wolf Cofounder and Engineer WL On Thu, Oct 9, 2014 at 6:44 PM, LordBlick lordbl...@gmail.com wrote: In response to a message written on 09.10.2014 15:59, from Nick Østergaard: Hello Daniel When I try it on a random board of mine testing with a freshly built 5171 it fails with: 12:00:30: Debug: Skipping general section token 'links' 12:00:30: Debug: Skipping general section token 'area' 12:00:30: Debug: Skipping general section token 'drawings' 12:00:30: Debug: Skipping general section token 'tracks' 12:00:30: Debug: Skipping general section token 'zones' 12:00:30: Debug: Skipping general section token 'symbol' Traceback (most recent call last): File pcbPanelize, line 28, in lambda ui.buttonProceed.connect(clicked, lambda xargs: self.appPanelize()) File pcbPanelize, line 193, in appPanelize SolMsk=FromMils(4), angle=ui.rfAngle.get_value()) File pcbPanelize, line 96, in brdPanel self.brdItemize(pcb) File pcbPanelize, line 62, in brdItemize Item.remove = False AttributeError: 'NoneType' object has no attribute 'remove' You force me to build BZR5171 too… :P On that build I have not found any problems too - script last git commit 2014 Oct 7. -- Best Regards, LordBlick ___ 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