-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Using wxmac-3.0.2 and wxpython-3.0.2, I get this compiling error.
Should I be using a different version of wxwidgets?
[ 61%] Building CXX object CMakeFiles/kicadlibrarian.dir/libraryfunctions.cpp.o
/Users/x/dotcad/kicad/tools/KiCad-Librarian/src/libraryfunctions.cpp:1651:33: warning:
comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (footprint_attr_line < 0 && type != VER_INVALID) {
~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
[ 66%] Building CXX object CMakeFiles/kicadlibrarian.dir/pdfreport.cpp.o
/Users/x/dotcad/kicad/tools/KiCad-Librarian/src/pdfreport.cpp:804:23: error: no matching
constructor for initialization of 'wxSortedArrayString'
wxSortedArrayString SortedIndex(CompareFootprint);
^ ~~~~~~~~~~~~~~~~
/Users/x/.m3/envs/kicad/include/wx-3.0/wx/arrstr.h:377:24: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'int (const wxString &,
const wxString &)' to 'const wxSortedArrayString' for 1st argument
class WXDLLIMPEXP_BASE wxSortedArrayString : public wxArrayString
^
/Users/x/.m3/envs/kicad/include/wx-3.0/wx/arrstr.h:382:3: note: candidate constructor not
viable: no known conversion from 'int (const wxString &, const wxString &)' to
'const wxArrayString' for 1st argument
wxSortedArrayString(const wxArrayString& array) : wxArrayString(true)
^
/Users/x/.m3/envs/kicad/include/wx-3.0/wx/arrstr.h:380:3: note: candidate constructor not
viable: requires 0 arguments, but 1 was provided
wxSortedArrayString() : wxArrayString(true)
^
1 error generated.
make[2]: *** [CMakeFiles/kicadlibrarian.dir/pdfreport.cpp.o] Error 1
make[1]: *** [CMakeFiles/kicadlibrarian.dir/all] Error 2
make: *** [all] Error 2