← Back to team overview

kicad-developers team mailing list archive

Failed to build: CreatePythonShellWindow

 

Hi all,

Ive just uploaded my branch with latest trunk and try to build in on windows msys2 and got this error on building:

[ 70%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/block_module_editor.cpp.obj
In file included from C:/msys64/home/m_luzeiro/kicad_new3d-viewer/pcbnew/pcbframe.cpp:73:0:
C:/msys64/home/m_luzeiro/kicad_new3d-viewer/pcbnew/scripting/python_console_frame.h: In constructor 'PYTHON_CONSOLE_FRAME::PYTHON_CONSOLE_FRAME(wxWindow*, const wxString&)':
C:/msys64/home/m_luzeiro/kicad_new3d-viewer/pcbnew/scripting/python_console_frame.h:61:55: error: too few arguments to function 'wxWindow* CreatePythonShellWindow(wxWindow*, const wxString&)'
         m_pythonPanel = CreatePythonShellWindow( this );
                                                       ^
In file included from C:/msys64/home/m_luzeiro/kicad_new3d-viewer/pcbnew/scripting/python_console_frame.h:33:0,
                 from C:/msys64/home/m_luzeiro/kicad_new3d-viewer/pcbnew/pcbframe.cpp:73:
C:/msys64/home/m_luzeiro/kicad_new3d-viewer/scripting/python_scripting.h:34:13: note: declared here
 wxWindow*   CreatePythonShellWindow( wxWindow* parent, const wxString& aFramenameId );
             ^

Looks like it is missing one argument in that functions.

Why this is an issue only(?) for me?

Thanks!
Mario



Follow ups