-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux compilation #8
Comments
Change the file pdfreport.cpp, line 804 to this:
|
This does not cure the problem. It just changes the error slightly:
|
@adjco Seems to depend on how the wxWidgets library was configured. It compiles fine on my system. Try changing the type of SortedIndex (wxSortedArrayString) to wxArrayString, with that change it still compiles and work fine on my system (debian testing). |
That did the trick. Thank you Fabian, you're a star. |
Hello,
I'm having some issues compiling in Linux. I'm using Debian Stretch and I get the error bellow when I try to compile. In cmake-gui I unchecked USE_CX3D since that library also has compilation errors.
I also tried to run KiCad-Librarian with wine and that somewhat works, although some menus and selection boxes are misplaced or squashed and the 3D viewer does not work.
Any help is appreciated
/home/tavi/src/KiCad-Librarian/src/pdfreport.cpp:804:51: error: no matching function for call to ‘wxSortedArrayString::wxSortedArrayString(int (&)(const wxString&, const wxString&))’
wxSortedArrayString SortedIndex(CompareFootprint);
^
In file included from /usr/include/wx-3.0/wx/filefn.h:15:0,
from /usr/include/wx-3.0/wx/utils.h:20,
from /usr/include/wx-3.0/wx/cursor.h:69,
from /usr/include/wx-3.0/wx/event.h:21,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
from /usr/include/wx-3.0/wx/toplevel.h:20,
from /usr/include/wx-3.0/wx/frame.h:18,
from /home/tavi/src/KiCad-Librarian/src/pdfreport.h:25,
from /home/tavi/src/KiCad-Librarian/src/pdfreport.cpp:26:
The text was updated successfully, but these errors were encountered: