← Back to team overview

kicad-developers team mailing list archive

Re: build error on macos on 5.1 branch

 

Hi Adam-

This looks like the result of a cherry-pick I did the other day. Do you get this error in the master branch as well?

-S

On 2019-07-11 11:55, Adam Wolf wrote:
Hi folks!

Running into a build error on my macOS jobs for 5.1:

I'm adding what I think is the appropriate message...


05:46:01     default: [ 69%] Building CXX object
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/import_gfx/graphics_import_mgr.cpp.o
05:46:04     default: In file included from
/vagrant/build/kicad/src/kicad/pcbnew/import_gfx/graphics_import_mgr.cpp:27:
05:46:04     default:
/vagrant/build/kicad/src/kicad/pcbnew/import_gfx/dxf_import_plugin.h:
05:46:04     default: 151:16:
05:46:04     default: error: no matching constructor for
initialization of 'wxArrayString'
05:46:04     default:         return wxArrayString( 1,
formatWildcardExt( "dxf" ) );
05:46:04     default:                ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:54:
05:46:04     default: 5: note: candidate constructor not viable: no
known conversion from 'wxString' to 'const char **' for 2nd argument
05:46:04     default:
05:46:04     default:     wxArrayString(size_t sz, const char** a);
05:46:04     default:     ^
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:55:5:
05:46:04     default: note: candidate constructor not viable: no known
conversion from 'wxString' to 'const wchar_t **' for 2nd argument
05:46:04     default:     wxArrayString(size_t sz, const wchar_t** a);
05:46:04     default:     ^
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:56
05:46:04     default: :
05:46:04     default: 5: note: candidate constructor not viable: no
known conversion from 'wxString' to 'const wxString *' for 2nd
argument
05:46:04     default:     wxArrayString(size_t sz, const wxString* a);
05:46:04     default:     ^
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:53:5:
05:46:04     default: note: candidate constructor not viable: requires
single argument 'a', but 2 arguments were provided
05:46:04     default:     wxArrayString(const wxArrayString& a) :
wxArrayStringBase(a) { }
05:46:04     default:     ^
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:52:5: note
05:46:04     default: : candidate constructor not viable: requires 0
arguments, but 2 were provided
05:46:04     default:     wxArrayString() { }
05:46:04     default:     ^
05:46:04     default: In file included from
/vagrant/build/kicad/src/kicad/pcbnew/import_gfx/graphics_import_mgr.cpp:28:
05:46:04     default:
/vagrant/build/kicad/src/kicad/pcbnew/import_gfx/svg_import_plugin.h:49:16:
error: no matching constructor for initialization of 'wxArrayString'
05:46:04     default:         return wxArrayString( 1,
formatWildcardExt( "svg" ) );
05:46:04     default:                ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:54:5: note:
candidate constructor not viable: no known conversion from 'wxString'
to 'const char **' for 2nd argument
05:46:04     default:     wxArrayString(size_t sz, const char** a);
05:46:04     default:
05:46:04     default:     ^
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:55:5:
05:46:04     default: note: candidate constructor not viable: no known
conversion from 'wxString' to 'const wchar_t **' for 2nd argument
05:46:04     default:     wxArrayString(size_t sz, const wchar_t** a);
05:46:04     default:     ^
05:46:04     default:
/vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:56:
05:46:04     default: 5: note:
05:46:04     default: candidate constructor not viable: no known
conversion from 'wxString' to 'const wxString *' for 2nd argument
05:46:04     default:     wxArrayString(size_t sz, const wxString* a);
05:46:04     default:
05:46:04     default:     ^
05:46:04 default: /vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h
05:46:04     default: :53:5:
05:46:04     default:  note: candidate constructor not viable:
requires single argument 'a', but 2 arguments were provided
05:46:04     default:     wxArrayString(const wxArrayString& a) :
wxArrayStringBase(a) { }
05:46:04     default:     ^
05:46:04 default: /vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:
05:46:04     default: 52:5
05:46:04     default: : note
05:46:04     default: : candidate constructor not viable: requires 0
arguments, but 2 were provided
05:46:04     default:     wxArrayString() { }
05:46:04     default:     ^
05:46:05     default: 2 errors generated.
05:46:05     default: make[6]: ***
[pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/import_gfx/graphics_import_mgr.cpp.o]
Error 1
05:46:05     default: make[5]: ***
[pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2
05:46:05     default: make[4]: *** [all] Error 2

Thanks folks!

_______________________________________________
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