← Back to team overview

kicad-developers team mailing list archive

Re: Fwd: Re: Boost 1.57

 

Testing testing..

I went into the /usr/local/Library/Taps/metacollin/homebrew-kicad directory and made some changes to the kicad.rb file that controls the Homebrew build of kicad (see attached kicad-diff1.patch file)

These changes added a few build options - USE_WEBKIT, USE_IMAGES_IN_MENUS and changed BuildType to Debug from Release

The build took 81 minutes - up from 61 for the Release version

Changing to Debug made the little Terminal window that opens along with Kicad more useful. See attached k6debug.txt file.

(I did not create a new folder for the Kicad files, so other files on my Desktop are being watched by the FileWatcher.. I could have done this better.

When I tried to put a date into the eeschema-Page Settings (icon upper row to the left) -> There was a twitch in the little Terminal window - something needed a username and password. This was odd because I had changed the paper size in the same dialog window from A4 to US letter without the need for a superuser name and password.

(See KiCad-ScreenDump.tiff attachment for whole screen. The wxWidgets Debug Alert window might be referring to the need for a name and password - in the right Terminal window.

I put in the name and password and also clicked the 'Cancel' button - hoping that no more Alert windows would appear (see later..)

-----

I moved along trying to create a schematic and board. I added some components to my schematic, added a few wires to connect a few pins and clicked the icon to put proper labels on the components, clicked the 'generate netlist' icons and answered some of the questions.

Then I went to the pcbnew window and clicked on the 'Read Netlist' icon (upper row to the right). As you can see in the Dump2.tiff screen dump - It is looking for a file .cmp instead of the netlist file. Why is that? Where does the .cmp file come from and why is it read instead of the .net file?

In the Terminal window it looks like there are some argument type failures - perhaps one of the compile-time warning messages would give more information on this failure.

-----

Looking at the 3rd screen dump picture - I tried to add a footprint to the pcbnew window - this is where the lack of definition for KIGITHUB appears in another Error dialog box. It must be looking for footprints in a whole library - and giving an error message for each try. In any case, the 'Cancel', 'No', 'Yes' buttons at the bottom of the alert window don't appear on the screen because of the length of the error messages. Game over here - Force Quit.

I will figure out how to define the env variables and try again later.

Have fun

Bob G

On 01/30/2015 04:41 PM, Bob Gustafson wrote:
Hmm, following the 'Get Started..' script, when I get to the CvPCB step, I click on that icon, I get a dialog window showing a problem - unable to parse and it has undefined KIGITHUB symbols on the error lines.

This error window is taller than my screen. The only exit is a Force Quit from the Apple menu.

Since this is a double-click application, I need to define those environment variables.

Bob G

On 01/30/2015 03:09 PM, Bob Gustafson wrote:
OK, manually adding the soft link to the /Applications folder does the trick there (although a funny Terminal window opens up too - that never happened before).

When I click on the eeschema button on the Kicad screen, it successfully finds that sub-application.

Much better now.

I will try to actually do something with it - libraries and documentation - all that good stuff.

Bob G

On 01/30/2015 03:01 PM, Bob Gustafson wrote:
The build seemed to go fine. With the -vd option, Clang compile warnings are still visible. It took 61 minutes.

There may have been some changes that reduced the number of compiler warnings and notes - from thousands down to hundreds now. Running the bzr install -vd kicad --HEAD in a terminal, after the process is complete, it is possible to 'select all' the whole contents of the Terminal session and then paste it into a file. I ran the warning-histo.rb program on this file.

Some Problems:

It did not soft link the kicad executable to my /Applications directory - possibly because there was already a soft link there.

Also, clicking on the eeschema button did not bring up that plugin - gave an error that it could not find it. It seemed to be looking in the kicad.app/Contents/Plugins directory, but all the sub-apps appear in Contents/Applications.

I noticed that recent updates - 5397 had appeared in the bzr kicad download, but the bzr number didn't get copied to the Help -> Copy Version Information - that spot is occupied by 'unknown'

The build was done to a directory within ~/tmp - I wonder if I can get back to that build, so I don't have to do over some of the more time consuming pieces.

A work in progress..

Bob G

On 01/30/2015 12:21 PM, Bob Gustafson wrote:
The download was bunged up, so I did a 'cd /Library/Caches/Homebrew' and then whacked away the kicad--bzr, the kicad--wxpython, and kicad--patch directories. (This only a Cache..)

Redoing the brew install -vd kicad --HEAD step

I'm wondering if it will stumble on the patch of boost..

Waiting, waiting

Bob G


-------- Forwarded Message --------
Subject: 	Re: [Kicad-developers] Boost 1.57
Date: 	Fri, 30 Jan 2015 11:04:11 -0600
From: 	Bob Gustafson <bobgus@xxxxxxx>
To: 	kicad-developers@xxxxxxxxxxxxxxxxxxx



I'm going through with:

brew install -vd kicad --HEAD

The -vd option gives some visibility on what is happening.

If it has a problem, it halts with a request for user choice. I have chosen option 2 a few times so far and it is moving ahead (without patches though..)'

I will report how it ends up.

Bob G

On 01/30/2015 10:33 AM, Bob Gustafson wrote:
I thought I would have a go with your tap

The first time I did the brew install kicad --HEAD, it did take awhile (I think it was the downloading of kicad - no progress messages though). After the download, there was a file copy stage (seemed to be..), but all of the file movements were conflicted with something else on my disk - need to work that out.

On the second time - doing brew reinstall kicad --HEAD, your patch file (the boost.patch) is not finding the file it needs to patch and is failing.

Any guidance on what I might look for?

Bob G

On 01/30/2015 01:50 AM, Collin Anderson wrote:
On newer versions of OS X (maybe only Yosemite), building fails (and running a binary build on another, earlier system will crash on yosemite) if boost 1.54 is used, if I recall, it was something about this combo that made wxPython displeased and stop working.

So I have been building using -DKICAD_SKIP_BOOST and linking to my own system install of boost 1.57. This is also the strategy I use in the homebrew tap for KiCad.

Thanks to the helpful replies from bleeding-edge enthusiasts on the http://kicad.info forums, I discovered that this was a fatal mistake, as the 'mysterious' (to me) minkowski patch was vital so boost's handling of pointers doesn't make the push and shove router crash as soon as you have to go around a corner.

The rest of the patches have been merged with boost 1.57, so I modified the download_boost cmake module to use boost 1.57 and apply only the minkowski patch to it. After that, I've been push and shoving my heart out without a single issue! :D That router is amazing, by the way. I had to stop and route half a board I've been working on before I got around to making a proper branch.

I also cleaned up the mac sections a little and removed a bunch of PPC binary checks that are no longer needed (The last version of OS X to support PPC architectures was 10.5).

This change is only if the APPLE flag is set, it is isolated from the other platforms. Oh, and it's agnostic to and works for an all libc++ or all libstdc++ build of wxpython and boost (10.7-10.8 use libstdc++, while 10.9+ uses libc++ I believe). I've made a branch (~metacollin/kicad/boosting_boost) and merge request, but if anyone has issue with this, let me know and I'll do what is needed to address it. Thanks!

--
"Violence is the last refuge of the incompetent." - Isaac Asimov




Last login: Fri Jan 30 23:30:13 on ttys000
Bobs-MacBook-Air:~ bobgus$ /usr/local/Cellar/kicad/HEAD/kicad.app/Contents/MacOS/kicad ; exit;
LIB_ENV_VAR:'/usr/local/Cellar/kicad/HEAD/kicad.app/Contents/MacOS'
ElemsClear: clearing all _ELEMS for project 
SetProjectFullName: old:'' new:'/Users/bobgus/Desktop/SecondKicadProject.pro'
FileWatcherReset: add '/Users/bobgus/Desktop/China Trip 2014'
FileWatcherReset: add '/Users/bobgus/Desktop/conn_pc'
FileWatcherReset: add '/Users/bobgus/Desktop/FirstKiCadProject'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs'
FileWatcherReset: add '/Users/bobgus/Desktop/Osmond'
FileWatcherReset: add '/Users/bobgus/Desktop/PCB'
FileWatcherReset: add '/Users/bobgus/Desktop/TapeDrive'
FileWatcherReset: add '/Users/bobgus/Desktop/TapeDriveAdapter'
FileWatcherReset: add '/Users/bobgus/Desktop/WebDAV'
FileWatcherReset: add '/Users/bobgus/Desktop/WebDAV/webdavfs-352'
FileWatcherReset: add '/Users/bobgus/Desktop/TapeDrive/Software'
FileWatcherReset: add '/Users/bobgus/Desktop/PCB/TapeDriveTiffs'
FileWatcherReset: add '/Users/bobgus/Desktop/Osmond/Metric Library'
FileWatcherReset: add '/Users/bobgus/Desktop/Osmond/OsmondTutorialFiles'
FileWatcherReset: add '/Users/bobgus/Desktop/Osmond/Starter Library'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Air_Coils_SML_NEOSID.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Buzzers_Beepers.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Capacitors_Elko_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Capacitors_SMD.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Capacitors_Tantalum_SMD.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Capacitors_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Choke_Axial_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Choke_Common-Mode_Wurth.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Choke_Radial_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Choke_SMD.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Choke_Toroid_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Connect.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Connectors_Molex.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Converters_DCDC_ACDC.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Crystals.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Crystals_Oscillators_SMD.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Diodes_SMD.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Diodes_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Discret.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Display.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Displays_7-Segment.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Divers.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/EuroBoard_Outline.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Fiducials.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/LEDs.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Measurement_Points.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Measurement_Scales.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Mounting_Holes.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Pin_Headers.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Resistors_ThroughHole.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Resistors_Universal.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Wire_Connections_Bridges.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/fp_libs/Wire_Pads.pretty'
FileWatcherReset: add '/Users/bobgus/Desktop/FirstKiCadProject/doc'
FileWatcherReset: add '/Users/bobgus/Desktop/FirstKiCadProject/help'
FileWatcherReset: add '/Users/bobgus/Desktop/China Trip 2014/Bob Docs'
FileWatcherReset: add '/Users/bobgus/Desktop/China Trip 2014/Thyra Docs'
FileWatcherReset: watched paths:
 /Users/bobgus/Desktop/China Trip 2014/Bob Docs/
 /Users/bobgus/Desktop/FirstKiCadProject/help/
 /Users/bobgus/Desktop/FirstKiCadProject/doc/
 /Users/bobgus/Desktop/fp_libs/Wire_Connections_Bridges.pretty/
 /Users/bobgus/Desktop/fp_libs/Connect.pretty/
 /Users/bobgus/Desktop/fp_libs/Resistors_Universal.pretty/
 /Users/bobgus/Desktop/fp_libs/Resistors_ThroughHole.pretty/
 /Users/bobgus/Desktop/fp_libs/Wire_Pads.pretty/
 /Users/bobgus/Desktop/TapeDrive/
 /Users/bobgus/Desktop/fp_libs/Capacitors_Tantalum_SMD.pretty/
 /Users/bobgus/Desktop/fp_libs/Measurement_Points.pretty/
 /Users/bobgus/Desktop/fp_libs/Fiducials.pretty/
 /Users/bobgus/Desktop/fp_libs/Display.pretty/
 /Users/bobgus/Desktop/fp_libs/Divers.pretty/
 /Users/bobgus/Desktop/fp_libs/Discret.pretty/
 /Users/bobgus/Desktop/fp_libs/Choke_SMD.pretty/
 /Users/bobgus/Desktop/fp_libs/Mounting_Holes.pretty/
 /Users/bobgus/Desktop/fp_libs/
 /Users/bobgus/Desktop/fp_libs/Diodes_ThroughHole.pretty/
 /Users/bobgus/Desktop/fp_libs/Pin_Headers.pretty/
 /Users/bobgus/Desktop/fp_libs/Diodes_SMD.pretty/
 /Users/bobgus/Desktop/fp_libs/Crystals.pretty/
 /Users/bobgus/Desktop/fp_libs/Air_Coils_SML_NEOSID.pretty/
 /Users/bobgus/Desktop/fp_libs/Converters_DCDC_ACDC.pretty/
 /Users/bobgus/Desktop/TapeDrive/Software/
 /Users/bobgus/Desktop/fp_libs/Connectors_Molex.pretty/
 /Users/bobgus/Desktop/fp_libs/Measurement_Scales.pretty/
 /Users/bobgus/Desktop/Osmond/OsmondTutorialFiles/
 /Users/bobgus/Desktop/fp_libs/Choke_Toroid_ThroughHole.pretty/
 /Users/bobgus/Desktop/PCB/TapeDriveTiffs/
 /Users/bobgus/Desktop/fp_libs/Displays_7-Segment.pretty/
 /Users/bobgus/Desktop/fp_libs/Choke_Radial_ThroughHole.pretty/
 /Users/bobgus/Desktop/FirstKiCadProject/
 /Users/bobgus/Desktop/Osmond/
 /Users/bobgus/Desktop/China Trip 2014/
 /Users/bobgus/Desktop/fp_libs/Capacitors_SMD.pretty/
 /Users/bobgus/Desktop/
 /Users/bobgus/Desktop/fp_libs/Capacitors_Elko_ThroughHole.pretty/
 /Users/bobgus/Desktop/China Trip 2014/Thyra Docs/
 /Users/bobgus/Desktop/fp_libs/Buzzers_Beepers.pretty/
 /Users/bobgus/Desktop/fp_libs/LEDs.pretty/
 /Users/bobgus/Desktop/fp_libs/Choke_Axial_ThroughHole.pretty/
 /Users/bobgus/Desktop/fp_libs/Choke_Common-Mode_Wurth.pretty/
 /Users/bobgus/Desktop/fp_libs/Capacitors_ThroughHole.pretty/
 /Users/bobgus/Desktop/Osmond/Metric Library/
 /Users/bobgus/Desktop/WebDAV/webdavfs-352/
 /Users/bobgus/Desktop/TapeDriveAdapter/
 /Users/bobgus/Desktop/PCB/
 /Users/bobgus/Desktop/WebDAV/
 /Users/bobgus/Desktop/fp_libs/EuroBoard_Outline.pretty/
 /Users/bobgus/Desktop/fp_libs/Crystals_Oscillators_SMD.pretty/
 /Users/bobgus/Desktop/conn_pc/
 /Users/bobgus/Desktop/Osmond/Starter Library/
08:55:12: Debug: wxMacLaunch Bad bundle: /usr/local/Cellar/kicad/HEAD/kicad.app/Contents/Applications/bitmap2component.app/Contents/MacOS/bitmap2component
LIB_ENV_VAR:'/usr/local/Cellar/kicad/HEAD/kicad.app/Contents/Applications/bitmap2component.app/Contents/MacOS:/usr/local/Cellar/kicad/HEAD/kicad.app/Contents/MacOS'
kiface SEARCH_STACK:
  [ 0]:/Users/bobgus/Library/Application Support/kicad/library
  [ 1]:/Users/bobgus/Library/Application Support/kicad/template
  [ 2]:/Library/Application Support/kicad/library
  [ 3]:/Library/Application Support/kicad/template
  [ 4]:/usr/local/Cellar/kicad/HEAD/kicad.app/Contents/SharedSupport/template
LoadAllLibraries SEARCH_STACK:
  [ 0]:/Users/bobgus/Desktop
  [ 1]:/Users/bobgus/Library/Application Support/kicad/library
  [ 2]:/Users/bobgus/Library/Application Support/kicad/template
  [ 3]:/Library/Application Support/kicad/library
  [ 4]:/Library/Application Support/kicad/template
  [ 5]:/usr/local/Cellar/kicad/HEAD/kicad.app/Contents/SharedSupport/template
LoadAllLibraries: lib_names:
 power
 device
 transistors
 conn
 linear
 regul
 74xx
 cmos4000
 adc-dac
 memory
 xilinx
 special
 microcontrollers
 dsp
 microchip
 analog_switches
 motorola
 texas
 intel
 audio
 interface
 digital-audio
 philips
 display
 cypress
 siliconi
 opto
 atmel
 contrib
 valves
 SecondKicadProject-cache
OpenProjectFiles: loading schematic /Users/bobgus/Desktop/SecondKicadProject.sch
kiface SEARCH_STACK:
  [ 0]:/Users/bobgus/Library/Application Support/kicad/modules
  [ 1]:/Users/bobgus/Library/Application Support/kicad/modules/packages3d
  [ 2]:/Users/bobgus/Library/Application Support/kicad/template
  [ 3]:/Library/Application Support/kicad/modules
  [ 4]:/Library/Application Support/kicad/modules/packages3d
  [ 5]:/Library/Application Support/kicad/template
  [ 6]:/usr/local/Cellar/kicad/HEAD/kicad.app/Contents/SharedSupport/template
08:55:36: Debug: Adding duplicate image handler for 'PNG file'
08:55:36: Debug: Adding duplicate image handler for 'JPEG file'
08:55:36: Debug: Adding duplicate image handler for 'TIFF file'
08:55:36: Debug: Adding duplicate image handler for 'GIF file'
08:55:36: Debug: Adding duplicate image handler for 'PNM file'
08:55:36: Debug: Adding duplicate image handler for 'PCX file'
08:55:36: Debug: Adding duplicate image handler for 'IFF file'
08:55:36: Debug: Adding duplicate image handler for 'Windows icon file'
08:55:36: Debug: Adding duplicate image handler for 'Windows cursor file'
08:55:36: Debug: Adding duplicate image handler for 'Windows animated cursor file'
08:55:36: Debug: Adding duplicate image handler for 'TGA file'
08:55:36: Debug: Adding duplicate image handler for 'XPM file'
08:55:47: Debug: Loading project '/Users/bobgus/Desktop/SecondKicadProject.pro' settings.
08:55:56: Debug: Status: Using GLEW 1.11.0
/private/tmp/kicad-qWNu3Z/wx/src/osx/menuitem_osx.cpp(109): assert "IsCheckable() && !IsSeparator()" failed in Check(): only checkable items may be checked
Collecting stack trace information, please wait...An admin user name and password is required to enter Developer Mode.
Admin user name (bobgus): 
Password:
/private/tmp/kicad-qWNu3Z/wx/src/osx/menuitem_osx.cpp(109): assert "IsCheckable() && !Is
[truncated for moderation]

References