← Back to team overview

kicad-developers team mailing list archive

Re: kicad does not compile anymore, could it be my setup? (too old)

 

Can you build it in Release mode?


On 05/02/2013 12:31 PM, Edwin van den Oetelaar wrote:
> bzr pull
> 
> Using saved parent location:
> http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/
>  M  pcbnew/netlist.cpp
>  M  pcbnew/specctra_export.cpp
> All changes applied successfully.
> Now on revision 4129.
> 
> 
> rm -rf build
> mkdir build
> build
> cmake ../ -DKICAD_TESTING_VERSION=ON -DKICAD_SCRIPTING=ON
> -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
> -DCMAKE_BUILD_TYPE=Debug
> make
> 
> [ 47%] Building CXX object
> cvpcb/CMakeFiles/cvpcb.dir/__/pcbnew/board_items_to_polygon_shape_transform.cpp.o
> /home/oetelaar/kicad_dev/kicad/cvpcb/../pcbnew/class_drawsegment.h: In
> member function ‘void
> MODULE::TransformGraphicShapesWithClearanceToPolygonSet(LAYER_NUM,
> std::vector<CPolyPt, std::allocator<CPolyPt> >&, int, int, double)’:
> /home/oetelaar/kicad_dev/kicad/cvpcb/../pcbnew/class_drawsegment.h:53:
> error: ‘STROKE_T DRAWSEGMENT::m_Shape’ is protected
> /home/oetelaar/kicad_dev/kicad/pcbnew/board_items_to_polygon_shape_transform.cpp:146:
> error: within this context
> make[2]: *** [cvpcb/CMakeFiles/cvpcb.dir/__/pcbnew/board_items_to_polygon_shape_transform.cpp.o]
> Error 1
> make[1]: *** [cvpcb/CMakeFiles/cvpcb.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> gcc -v
> Using built-in specs.
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
> 4.4.3-4ubuntu5.1'
> --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --enable-shared --enable-multiarch --enable-linker-build-id
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
> --program-suffix=-4.4 --enable-nls --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-plugin --enable-objc-gc
> --disable-werror --with-arch-32=i486 --with-tune=generic
> --enable-checking=release --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
> 
> Thanks for your time,
> Edwin van den Oetelaar
> 
> _______________________________________________
> 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