← Back to team overview

kicad-developers team mailing list archive

Re: Failed to build: CreatePythonShellWindow

 

Right.., something is wrong with the merges :/

Still looks like that function need another parameter ;)

Thanks
Mario
________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of jp charras [jp.charras@xxxxxxxxxx]
Sent: 08 January 2016 11:52
To: kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] Failed to build: CreatePythonShellWindow

Le 08/01/2016 11:36, Mário Luzeiro a écrit :
> 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


Looks like pcbframe.cpp was not correctly merged.
pcbframe.cpp line 73 does not include python_console_frame.h.

--
Jean-Pierre CHARRAS

_______________________________________________
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


References