← Back to team overview

kicad-developers team mailing list archive

Re: Recent dependencies break builds.

 

On 2/8/2014 5:44 AM, Marco Serantoni wrote:
> Sorry Wayne,
> I apologize with you, wasn’t mine intention put dependencies on other platforms nor change
> the way other developers and other platforms wants to build their binaries.
> 
> This was an huge work propedeutic to others work, intentions are to take enough advantage to fix it and have the timeslot needed to face current and be ready for future changes.
> Tackling 3 processors archs, 3 version of OS, two compilers and two kind of binaries with their dependencies lib and fixing some their building systems has let me lost the focus on some parts, i’ll wish anyway to fix definitely those issues soon to minimize issues.
> 
> 
> Trying to be understood in intentions, I come in Peace,
> —
> Marco

Marco,

Not a problem.  Please keep in mind that downloading and building
dependencies like wxPython or swig from source should be the last option
even on OSX.  Always use find_package() first to see if it is already
installed on the system and only if it can not be found should you build
a dependency from source.  This saves a huge amount of time when the
dependency is already installed on the system.  There is no
FindwxPython.cmake that I'm aware of but someone should write one.

Wayne

> 
> 
> 
> 
> 
> 
> On 07/feb/2014, at 23:38, Wayne Stambaugh <stambaughw@xxxxxxxxxxx> wrote:
> 
>> Please use find_package() first and then if you need to download the
>> dependency source and build the dependency.  Some developers (me) prefer
>> to build project dependencies outside of KiCad source.  That way when I
>> do a make clean, I don't have to rebuild all of the dependencies as
>> well.  The only exception to this is to patch a bug that effects KiCad
>> like we have to do with Boost.  If it's a build fix only patch, always
>> use find_package() first.  I believe this was added to resolve OSX build
>> issues.  If this is an OSX only issue, please qualify this with a
>> platform check so as not to break building on other platforms.
>>
>> Thanks,
>>
>> Wayne
>>
>> _______________________________________________
>> 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
> 
> 




Follow ups

References