Le 17/11/2015 17:32, Eldar Khayrullin a écrit :
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);
^
When you have an issue relative to pcbnewPYTHON_wrap.cxx (this is a
frequent case), just delete it and restart the compilation.