← Back to team overview

kicad-developers team mailing list archive

Compile error rev.6320

 

Today after recompile I have compile error.

Compile cmd:
mkdir build
cd build
cmake   -DKICAD_SKIP_BOOST=ON \
              -DCMAKE_INSTALL_PREFIX=/usr \
-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON \
             -DCMAKE_BUILD_TYPE=Debug ../
make


Log:
[ 64%] Built target pnsrouter
pcbnew/CMakeFiles/_pcbnew.dir/build.make:82: warning: overriding recipe for target 'pcbnew/pcbnew.py' pcbnew/CMakeFiles/_pcbnew.dir/build.make:59: warning: ignoring old recipe for target 'pcbnew/pcbnew.py' pcbnew/CMakeFiles/_pcbnew.dir/build.make:82: warning: overriding recipe for target 'pcbnew/pcbnew.py' pcbnew/CMakeFiles/_pcbnew.dir/build.make:59: warning: ignoring old recipe for target 'pcbnew/pcbnew.py' [ 64%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbnewPYTHON_wrap.cxx.o /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/build/pcbnew/pcbnewPYTHON_wrap.cxx: In function 'PyObject* _wrap_new_DRILL_TOOL(PyObject*, PyObject*)': /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/build/pcbnew/pcbnewPYTHON_wrap.cxx:125528:49: error: no matching function for call to 'DRILL_TOOL::DRILL_TOOL(int&)'
       result = (DRILL_TOOL *)new DRILL_TOOL(arg1);
                                                 ^
In file included from /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/build/pcbnew/pcbnewPYTHON_wrap.cxx:5993:0: /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/pcbnew/./exporters/gendrill_Excellon_writer.h:50:5: note: candidate: DRILL_TOOL::DRILL_TOOL(int, bool)
     DRILL_TOOL( int aDiameter, bool a_NotPlated )
     ^
/home/eldar/Dev/BUILD/kicad/kicad-source-mirror/pcbnew/./exporters/gendrill_Excellon_writer.h:50:5: note: candidate expects 2 arguments, 1 provided /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/pcbnew/./exporters/gendrill_Excellon_writer.h:41:7: note: candidate: DRILL_TOOL::DRILL_TOOL(const DRILL_TOOL&)
 class DRILL_TOOL
       ^
/home/eldar/Dev/BUILD/kicad/kicad-source-mirror/pcbnew/./exporters/gendrill_Excellon_writer.h:41:7: note: no known conversion for argument 1 from 'int' to 'const DRILL_TOOL&' /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/build/pcbnew/pcbnewPYTHON_wrap.cxx: In function 'PyObject* _wrap_EXCELLON_WRITER_SetOptions(PyObject*, PyObject*)': /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/build/pcbnew/pcbnewPYTHON_wrap.cxx:127314:40: error: no matching function for call to 'EXCELLON_WRITER::SetOptions(bool&, bool&, SwigValueWrapper<wxPoint>&)'
       (arg1)->SetOptions(arg2,arg3,arg4);
                                        ^
In file included from /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/build/pcbnew/pcbnewPYTHON_wrap.cxx:5993:0: /home/eldar/Dev/BUILD/kicad/kicad-source-mirror/pcbnew/./exporters/gendrill_Excellon_writer.h:210:10: note: candidate: void EXCELLON_WRITER::SetOptions(bool, bool, wxPoint, bool) void SetOptions( bool aMirror, bool aMinimalHeader, wxPoint aOffset, bool aMerge_PTH_NPTH )
          ^
/home/eldar/Dev/BUILD/kicad/kicad-source-mirror/pcbnew/./exporters/gendrill_Excellon_writer.h:210:10: note: candidate expects 4 arguments, 3 provided pcbnew/CMakeFiles/_pcbnew.dir/build.make:92: recipe for target 'pcbnew/CMakeFiles/_pcbnew.dir/pcbnewPYTHON_wrap.cxx.o' failed
make[2]: *** [pcbnew/CMakeFiles/_pcbnew.dir/pcbnewPYTHON_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:1312: recipe for target 'pcbnew/CMakeFiles/_pcbnew.dir/all' failed
make[1]: *** [pcbnew/CMakeFiles/_pcbnew.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2


Follow ups