Author Topic: Building KiCAD for Windows  (Read 31339 times)

0 Members and 2 Guests are viewing this topic.

Offline hairykiwi

  • Contributor
  • Posts: 21
  • Country: gb
Re: Building KiCAD for Windows
« Reply #25 on: November 14, 2012, 07:08:17 pm »
Which tutorials did you try? The Teho labs one got me going well enough. The yahoo groupmail is also very active and full of helpful people - including the developers sometimes. I can't compare KiCad with much as I didn't want to get bogged down with proprietary formats - so I persevered with learning KiCad. It is quirky, but seems quite powerful. The FreeRouter it links with can autoroute - but also good for dragging components around while maintaining netclass rules.
 

Offline ElektroQuark

  • Supporter
  • ****
  • Posts: 1209
  • Country: es
    • ElektroQuark
Re: Building KiCAD for Windows
« Reply #26 on: November 14, 2012, 08:20:30 pm »
Is it just me or current rev 3800 doesn't compliles using kicadwinbuilder script?

I've attached error logs.

Solved on rev 3801

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #27 on: March 11, 2013, 08:07:59 pm »
I've been posting daily builds here: http://escalalibre.com/edwt/ as well as Walter's libraries (http://smisioto.no-ip.org/elettronica/kicad/kicad-en.htm) in a single 7zip file and some random tools I've made for myself, but feel free to use them. Any comments please send me PM. Hope they're useful for you guys.
 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #28 on: June 05, 2013, 07:47:37 am »
The Kicad-WinBuilder script has been updated, since some months it comes in a handy zip file with a bat file, just double click and everything starts. I guess the only other thing needed is cmake, but I'm not sure. Now, building you own testing versions is easier than ever ;)

https://launchpad.net/kicad-winbuilder
 

Offline ElektroQuark

  • Supporter
  • ****
  • Posts: 1209
  • Country: es
    • ElektroQuark
Re: Building KiCAD for Windows
« Reply #29 on: June 05, 2013, 08:29:52 am »
... as well as Walter's libraries (http://smisioto.no-ip.org/elettronica/kicad/kicad-en.htm) ...

Hi Carlos:

Do you update them regularly?
Thank you.

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #30 on: June 05, 2013, 08:37:21 am »
Yes I do, In less than 2 days there's a new release, or Walter posts new libraries I upload a new package
 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #31 on: November 09, 2013, 08:32:04 am »
Latest testing build Rev.4448 with scripting, footprint library table and CERN's contributions is available at http://escalalibre.com/edwt/kicad_testingBinaries/ not sure if scripting works correctly as I don't know how to use it and/or test it.
 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #32 on: November 09, 2013, 11:50:37 am »
its a bad sign ;)

 :-DD Why you say so?

I must admit sometimes it takes me more days to update them :P but as he made them available via github, my packages are nearly useless ;)
 

Offline Icchan

  • Regular Contributor
  • *
  • Posts: 68
  • Country: fi
Re: Building KiCAD for Windows
« Reply #33 on: February 21, 2014, 01:19:38 am »
I wonder why it's even a requirement to build it for windows yourself? One big wrinkle in otherwise ok package... hopefully it's not there because people are lazy to make it more accessible?
« Last Edit: February 22, 2014, 01:14:37 am by Icchan »
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 1931
  • Country: au
Re: Building KiCAD for Windows
« Reply #34 on: April 01, 2014, 05:03:00 am »
Quote
I wonder why it's even a requirement to build it for windows yourself? One big wrinkle in otherwise ok package... hopefully it's not there because people are lazy to make it more accessible?

I dont think it's because they are lazy, it's probably the Linux/Geda origin of the project.

I must admit I can't get Bazaar to work properly with my Subversion so I don't build either.

But if you look up the thread a bit.
Latest testing build Rev.4448 with scripting, footprint library table and CERN's contributions is available at http://escalalibre.com/edwt/kicad_testingBinaries/ not sure if scripting works correctly as I don't know how to use it and/or test it.

That link has all the windows binaries and I think you can just drop them in and run them. Well it works for me anyway.




« Last Edit: April 02, 2014, 01:23:04 am by HackedFridgeMagnet »
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 1931
  • Country: au
Re: Building KiCAD for Windows
« Reply #35 on: April 02, 2014, 01:27:42 am »
^ I will take that back

PCBNew doesn't work with the library table. I can't figure out why.

From what I can gather the library table is held in the users home directory. Except I haven't got this file, if I create it, it isn't used anyway.

I will go back to the last stable build for while.



 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #36 on: April 02, 2014, 04:26:25 am »
Did you filled the lib table correctly? Here an example:


To be able to use those environment variables you may set them up on a bat file, which will be the new (temporary) way you run kicad:
« Last Edit: April 02, 2014, 06:00:04 am by carloscuev »
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 1931
  • Country: au
Re: Building KiCAD for Windows
« Reply #37 on: April 02, 2014, 05:44:44 am »
Thanks for the help.

I can get the PCB library Tables as demonstrated but I cannot find the file(s). I would like to directly edit them. They are supposed to be in my "home" directory which in windows should be under \Users\, but I cannot find them.

Anyway they must be somewhere as the information remains after restarting Kicad.

I am using Windows 8.1 but for some reason I have no %HOME% Environment Variable, maybe this is a problem.

Anyway I will try loading the new pretties from github and see what happens.

Anyway different versions of Kicad seem to be playing happily together.


 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #38 on: April 02, 2014, 06:04:31 am »
The file is here: C:\Users\<name>\AppData\Roaming\kicad\fp-lib-table and it's filled like this:
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 1931
  • Country: au
Re: Building KiCAD for Windows
« Reply #39 on: April 02, 2014, 06:15:45 am »
Excellent, it is there. Roaming, why wouldn't put it there???. Surprised that the indexed search didn't find it.


So anyway I downloaded a .pretty file and placed it on a PCB all good.


I am not sure whether to work live with Libraries or to manually update local copies of them.
I saw some scripts written to do this, when I get the chance I will try it out.

Thanks for the input.
 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1190
  • Country: be
  • New Low
Re: Building KiCAD for Windows
« Reply #40 on: April 02, 2014, 07:09:57 am »
i'll check if the same steps will solve my broken KICad on Linux. As soon as I switched to source builds the library thingy stopped working :)
 

Offline Rigby

  • Super Contributor
  • ***
  • Posts: 1476
  • Country: us
  • Learning, very new at this. Righteous Asshole, too
Re: Building KiCAD for Windows
« Reply #41 on: April 04, 2014, 02:28:25 pm »
I tried building with kicad-winbuilder last night and it failed.

I've attached the stderr.log; can anyone make heads or tails of this?

edit: nevermind.  answered in this thread: https://www.eevblog.com/forum/open-source-kicad-geda/problem-building-kicad-for-windows/
« Last Edit: April 04, 2014, 02:30:23 pm by Rigby »
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2321
  • Country: gr
Re: Building KiCAD for Windows
« Reply #42 on: April 10, 2014, 11:05:17 am »
Today (10-04-2014) I successfully built KiCad r4793 using Winbuilder on Windows 7.

Alexander.
Become a realist, stay a dreamer.

 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #43 on: April 10, 2014, 03:42:40 pm »
To anyone building Kicad rev 4793 you will get this error when running cvpcb, eeschema, pcbnew, gerbview, pcbcalculator or pl_editor:



You need to manually copy:

"kicad-winbuilder-3.3\build\Release\cvpcb\_cvpcb.kiface"
"kicad-winbuilder-3.3\build\Release\eeschema\_eeschema.kiface"
"kicad-winbuilder-3.3\build\Release\gerbview\_gerbview.kiface"
"kicad-winbuilder-3.3\build\Release\pcb_calculator\_pcb_calculator.kiface"
"kicad-winbuilder-3.3\build\Release\pcbnew\_pcbnew.kiface"
"kicad-winbuilder-3.3\build\Release\pagelayout_editor\_pl_editor.kiface"

to your "kicad-winbuilder-3.3\kicad\bin\" folder

EDIT: cvpcb and pcbnew still fail to run  :palm:
« Last Edit: April 10, 2014, 03:52:53 pm by carloscuev »
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2321
  • Country: gr
Re: Building KiCAD for Windows
« Reply #44 on: April 10, 2014, 05:13:44 pm »
Can you check if  _pcbnew.pyd exists?

Alexander.
Become a realist, stay a dreamer.

 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #45 on: April 10, 2014, 05:17:04 pm »
Yes, it's there.
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2321
  • Country: gr
Re: Building KiCAD for Windows
« Reply #46 on: April 10, 2014, 05:29:45 pm »
The process completed successfully? No errors at all?

Alexander.
Become a realist, stay a dreamer.

 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #47 on: April 10, 2014, 05:46:39 pm »
No errors, I'll try to rebuild from scratch.
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2321
  • Country: gr
Re: Building KiCAD for Windows
« Reply #48 on: April 10, 2014, 06:53:55 pm »
After manually copying *.kiface files everything seems fine for me.



Alexander.
Become a realist, stay a dreamer.

 

Offline carloscuev

  • Regular Contributor
  • *
  • Posts: 122
  • Country: mx
    • Spanish Freescale Developers Forum
Re: Building KiCAD for Windows
« Reply #49 on: April 10, 2014, 10:31:10 pm »
Nope, built from scratch and the problem persists
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf