← Back to team overview

kicad-developers team mailing list archive

Re: Building KiCad on windows

 

Hi Guys,

It's always worth when you can filling in bug reports against
KiCad-Winbuilder. It helps focus my time and makes we aware of things
I don't know about. Although I can't fix the internal MinGW error
(Which I've never seen!), seeing a bug report means I probably would
have bumped the compiler up to 4.8.2 which has been out for a while
now.

I didn't move to the next release of MinGW in KiCad-Winbuilder-3.3
because I'd never seen any problems with 4.8.1 - it's likely 4.8.2 has
a tonne of bugfixes in it though.

KiCad-Winbuilder tries to be as isolated as is possible under Windows
so as not to be affected by any system versions or settings, but
clearly differences can still be present.

Out of interest Travis, how much RAM do you have installed? Sometimes
problem arise because of lower spec's. I have an Intel Core i7 (so
essentially 8 cores), and 16Gb RAM with a PCIe SSD - it's a quick and
capable system. Building KiCad is intensive on RAM use, particularly
when using parallel build jobs. Usually you get out-of-memory errors,
but sometimes you just get odd behaviour and crashes instead depending
on each allocation's error handling.

Best Regards,

Brian.

On 3 February 2014 04:31, Travis Ayres <trayres@xxxxxxxxx> wrote:
> It looks like one of the errors is an internal MinGW error when I try to
> build.
> Attached are some of my logs from the build process of Kicad-Winbuilder.
>
> -Travis
>
>
> On Sun, Feb 2, 2014 at 9:49 AM, Simon Turner
> <simon@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> OK build success but I have to start kicad with the runkicad.bat file ?
>>
>> What have I actually done ? can I transfer this to other computers or move
>> it on my current computer ?
>>
>> I opened the CvPCB program and it can't find any pcb footprints, is this
>> all due to upgrading to the latest version that does things differently or
>> is something broken ?
>>
>> Simon
>>
>>
>>
>> On 02/02/2014 15:49, Simon Turner wrote:
>>
>> whoops might be I got in a muddle and used the old winbuilder version,
>> trying again.......
>>
>> Simon
>>
>>
>> On 02/02/2014 15:44, Simon Turner wrote:
>>
>> OK It's been running, yes on windows 7
>>
>> I now have:
>>
>> CMake error at kicadwinbuilder.cmake:1110 <file>: file COPY cannot find
>> "C:/kicad-winbuilder-3.2/src/library/library"-
>> press any key to continue
>>
>> So I got some sort of a build out of it, the layout of the kicad manager
>> window is a bit messed up, the program icons are too far left and encroach
>> on the file list and some are missing.
>>
>>
>> The PCB program won't start because it can't find libcairo-2.dll, the
>> icons for the programs to the left of it are missing. Oh and does it really
>> need to take up 2.5GB of space ?
>>
>>
>> Simon
>>
>>
>> On 02/02/2014 13:54, Milan Horák wrote:
>>
>> Hi,
>>
>> I'm happy to hear this.
>>
>> Did look into your logs - it seems like there was problem with too long
>> path to a file required to compile process.
>>
>> Shortening the path should help (seems it did).
>>
>> Milan
>>
>> Dne 2.2.2014 14:29, Simon Turner napsal(a):
>>
>> Well I put it in C: and it's still building long after it would have
>> died so must be working. Thank you, let you know how it turns out.
>>
>> Simon
>>
>> On 02/02/2014 12:42, Simon Turner wrote:
>>
>> I have, and the previous logs were from it but I was not in C: so I'm
>> running again from C:
>>
>> Simon
>>
>> On 02/02/2014 12:35, Milan Horák wrote:
>>
>> Hi,
>>
>> you should download latest kicad-winbuilder (version 3.3) -
>> https://launchpad.net/kicad-winbuilder
>>
>> Milan
>>
>> Dne 2.2.2014 12:43, Simon Turner napsal(a):
>>
>> See coments below
>> On 02/02/2014 11:28, Milan Horák wrote:
>>
>> Hi,
>>
>> it should be simple (read 'Works for me'):
>>
>> - Enter 'kicad-winbuilder/env' directory and run 'make.bat' *No
>> make.bat in this folder, using the one from the main folder does
>> not work*
>> - Wait for the script to finish
>> - In 'kicad-winbuilder' directory run 'make.bat' *Thats all i was
>> trying but got errors, log files attached*
>> - In 'kicad-winbuilder' directory run 'RunKiCad.bat' *ok haven't done
>> that yet and the make fails*
>>
>> Milan
>>
>> Dne 2.2.2014 11:50, Simon Turner napsal(a):
>>
>> I tried but got errors and was told to check the logs that told me
>> nothing other than error2 and error3, I just gave up. I ended up with
>> 1.25GB of cmake files and stuff and noactual programs.
>>
>> I found the instructions a bit minimal, any chance of a better
>> instruction being written for it ?
>>
>> Simon
>>
>>
>> On 01/02/2014 21:52, Ed Johns wrote:
>>
>>
>> Simon,
>>
>> Have you tried using  kicad winbuilder? It has the full build
>> environment which downloads the latest source.
>>
>> It is on launchpad as well.
>>
>> - Ed
>>
>> On Feb 1, 2014 4:47 PM, "Simon Turner"
>> <simon@xxxxxxxxxxxxxxxxxxxxxxxx
>> <mailto:simon@xxxxxxxxxxxxxxxxxxxxxxxx>> wrote:
>>
>>     Hello All
>>
>>     Just thought I'd raise something. It seems that the time between
>>     releases is lengthening as more work is being done to make
>> things
>>     much better. I did once manage to build a fresh version of KiCAD
>>     on ubuntu and was very pleased with the progress but this was
>> the
>>     only way of getting the most up to date features. I have since
>>     abandoned ubuntu (thout shalt now screw with my hardware
>> thank you
>>     on pain of being removed !) and have tried to build the latest
>>     version on windows to no avail. I'm no programming expert (mcu's
>>     in arduino is my limit so far) but I'm no idiot and can follow
>>     instructions but instructions for windows builds seem to lack
>> and
>>     everything bangs on about ubuntu.
>>
>>     Is there any chance of making it easier to build KiCAD on
>> windows
>>     or am I missing some information out there ?
>>
>>     Thanks for all your work,
>>
>>     Simon
>>
>>     _______________________________________________
>>     Mailing list: https://launchpad.net/~kicad-developers
>> <https://launchpad.net/%7Ekicad-developers>
>>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>     Unsubscribe : https://launchpad.net/~kicad-developers
>> <https://launchpad.net/%7Ekicad-developers>
>>     More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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