← Back to team overview

kicad-developers team mailing list archive

Re: Building KiCad on windows

 

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

-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/gcc.exe
-- Check for working C compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/g++.exe
-- Check for working CXX compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/glew-cmake/build_gcc_release
Scanning dependencies of target glew32
[  8%] Building C object CMakeFiles/glew32.dir/src/glew.c.obj
[ 16%] Building RC object CMakeFiles/glew32.dir/build/glew.rc.obj
Linking C shared library libglew32.dll
[ 16%] Built target glew32
Scanning dependencies of target glew32mx
[ 25%] Building C object CMakeFiles/glew32mx.dir/src/glew.c.obj
[ 33%] Building RC object CMakeFiles/glew32mx.dir/build/glew.rc.obj
Linking C shared library libglew32mx.dll
[ 33%] Built target glew32mx
Scanning dependencies of target glew32mxs
[ 41%] Building C object CMakeFiles/glew32mxs.dir/src/glew.c.obj
[ 50%] Building RC object CMakeFiles/glew32mxs.dir/build/glew.rc.obj
Linking C static library libglew32mxs.a
[ 50%] Built target glew32mxs
Scanning dependencies of target glew32s
[ 58%] Building C object CMakeFiles/glew32s.dir/src/glew.c.obj
[ 66%] Building RC object CMakeFiles/glew32s.dir/build/glew.rc.obj
Linking C static library libglew32s.a
[ 66%] Built target glew32s
Scanning dependencies of target glewinfo
[ 75%] Building C object CMakeFiles/glewinfo.dir/src/glewinfo.c.obj
[ 83%] Building RC object CMakeFiles/glewinfo.dir/build/glewinfo.rc.obj
Linking C executable glewinfo.exe
[ 83%] Built target glewinfo
Scanning dependencies of target visualinfo
[ 91%] Building C object CMakeFiles/visualinfo.dir/src/visualinfo.c.obj
[100%] Building RC object CMakeFiles/visualinfo.dir/build/glewinfo.rc.obj
Linking C executable visualinfo.exe
[100%] Built target visualinfo
CMake Warning:
  Manually-specified variables were not used by the project:

    USE_FP_LIB_TABLE


-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/gcc.exe
-- Check for working C compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/g++.exe
-- Check for working CXX compiler: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/mingw-w64/mingw32/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for installed OpenGL -- found
-- Found Glew: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/glew-cmake/lib/libglew32.dll.a
-- Check for installed GLEW -- found
-- Found CAIRO: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/cairo/cairo-1.10.2-2/lib/libcairo.dll.a 
-- Check for installed Cairo -- found
-- Found BZip2: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/lib/libbz2.dll.a (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/lib/libbz2.dll.a
-- Looking for BZ2_bzCompressInit in C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/lib/libbz2.dll.a - found
-- Check for installed wxWidgets -- found
-- Performing Test GXX_HAS_VISIBILITY_FLAG
-- Performing Test GXX_HAS_VISIBILITY_FLAG - Success
-- Performing Test GXX_HAS_VISIBILITY_INLINES_FLAG
-- Performing Test GXX_HAS_VISIBILITY_INLINES_FLAG - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for iso646.h
-- Looking for iso646.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strtok_r
-- Looking for strtok_r - not found
-- Looking for malloc
-- Looking for malloc - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Looking for asinh
-- Looking for asinh - found
-- Looking for acosh
-- Looking for acosh - found
-- Looking for atanh
-- Looking for atanh - found
-- Performing Test HAVE_CMATH_ISINF
-- Performing Test HAVE_CMATH_ISINF - Success
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getc_unlocked
-- Looking for getc_unlocked - not found
-- Found PythonInterp: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/python.exe (found version "2.7.4")
-- Check for installed Python Interpreter -- found
-- Python module install path: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/Lib/site-packages
-- Found PythonLibs: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/libpython2.7.dll (found version "2.7.4")
-- Bazaar version control system version  found.
-- Kicad Bazaar build version: (2014-02-02 BZR 4650)
-- Found SWIG: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/swig/swigwin-2.0.10/swig.exe (found version "2.0.10") 
-- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found version "1.8.6") 
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/build/Release
Running CMake to regenerate build system...
-- Check for installed OpenGL -- found
-- Found Glew: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/glew-cmake/lib/libglew32.dll.a
-- Check for installed GLEW -- found
-- Check for installed Cairo -- found
-- Check for installed wxWidgets -- found
-- Check for installed Python Interpreter -- found
-- Python module install path: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/env/python/Lib/site-packages
-- Bazaar version control system version  found.
-- Kicad Bazaar build version: (2014-02-02 BZR 4650)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Simon/Downloads/kicad-winbuilder-3.2/build/Release
bzr: ERROR: No such file: u'C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0/src/boost/doc/html/images/accumulators/structboost_1_1accumulators_1_1detail_1_1is__tail__variate__feature_3_01tag_1_1tail__variate_3_01bd5040caa5e48b0af425af2314206bf.png'
mingw32-make[2]: *** [C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_add_boost] Error 3
mingw32-make[1]: *** [CMakeFiles/boost.dir/all] Error 2
mingw32-make: *** [all] Error 2
Scanning dependencies of target boost
[  0%] Creating directories for 'boost'
[  0%] Performing download step (download, verify and extract) for 'boost'
-- downloading...
     src='http://downloads.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.bz2'
     dst='C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0.tar.bz2'
     timeout='600 seconds'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- downloading... done
-- verifying file...
     file='C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0.tar.bz2'
-- verifying file... done
-- extracting...
     src='C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0.tar.bz2'
     dst='C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0/src/boost'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[  0%] creating 'boost scratch repo' specifically for boost to track boost patches
[  0%] adding pristine boost files to 'boost scratch repo'
CMakeFiles\boost.dir\build.make:150: recipe for target 'C:/Users/Simon/Downloads/kicad-winbuilder-3.2/src/kicad/.downloads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_add_boost' failed
CMakeFiles\Makefile2:62: recipe for target 'CMakeFiles/boost.dir/all' failed
Makefile:115: recipe for target 'all' failed

Follow ups

References