-
Notifications
You must be signed in to change notification settings - Fork 63
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
Error compiling on Arch Linux #118
Comments
You must have WX widgets dev installed even for non GUI
…On Jan 19, 2017 00:07, "HyperDevil" ***@***.***> wrote:
Arch linux
ircddbgateway
./configure --without-gui
xtCtrl.otest -f 'GUICommon/AddressTextCtrl.cpp' || echo './'
GUICommon/AddressTextCtrl.cpp In file included from
GUICommon/AddressTextCtrl.h:24:0, from GUICommon/AddressTextCtrl.cpp:19:
GUICommon/RestrictedTextCtrl.h:24:47: error: expected class-name before
'{' token class CRestrictedTextCtrl : public wxTextCtrl { ^
GUICommon/RestrictedTextCtrl.h:26:77: error: 'wxPoint' does not name a
type CRestrictedTextCtrl(wxWindow* parent, int id, const wxString& value,
const wxPoint& pos, const wxSize& size, long style, const wxString&
wantedChars); ^~~~~~~ GUICommon/RestrictedTextCtrl.h:26:97: error:
'wxSize' does not name a type CRestrictedTextCtrl(wxWindow* parent, int id,
const wxString& value, const wxPoint& pos, const wxSize& size, long style,
const wxString& wantedChars); ^~~~~~ In file included from
GUICommon/AddressTextCtrl.cpp:19:0: GUICommon/AddressTextCtrl.h:31:74:
error: 'wxPoint' does not name a type CAddressTextCtrl(wxWindow* parent,
int id, const wxString& value, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0L); ^~~~~~~
GUICommon/AddressTextCtrl.h:31:114: error: 'wxSize' does not name a type
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const
wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long
style = 0L); ^~~~~~ GUICommon/AddressTextCtrl.h:31:89: error:
'wxDefaultPosition' was not declared in this scope
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const
wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long
style = 0L); ^~~~~~~~~~~~~~~~~ In file included from
GUICommon/AddressTextCtrl.cpp:19:0: GUICommon/AddressTextCtrl.h:31:129:
error: 'wxDefaultSize' was not declared in this scope
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const
wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long
style = 0L); ^~~~~~~~~~~~~ GUICommon/AddressTextCtrl.cpp:21:91: error:
'wxPoint' does not name a type CAddressTextCtrl::CAddressTextCtrl(wxWindow*
parent, int id, const wxString& value, const wxPoint& pos, const wxSize&
size, long style) : ^~~~~~~ GUICommon/AddressTextCtrl.cpp:21:111: error:
'wxSize' does not name a type CAddressTextCtrl::CAddressTextCtrl(wxWindow*
parent, int id, const wxString& value, const wxPoint& pos, const wxSize&
size, long style) : ^~~~~~ make: *** [Makefile:2788:
GUICommon/libGUICommon_a-AddressTextCtrl.o] Error 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#118>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGP0erP-sptEBYK5fvq4unihP9y7aRwfks5rTxndgaJpZM4Lnzwc>
.
|
In Arch linux there is no "dev" package, the main package include the dev libraries, just not the sources and examples.
|
I was finally able to compile it. |
@HyperDevil I am using Arch in pi3 too, will try Pacman from your info and recompile again as i download Wx from source and compile also without success, can you able to list steps in order for my arch linux Arm7 version to be able to compile? |
Arch linux 4.4.43-1-ARCH #1 Sun Jan 15 18:21:25 MST 2017 armv6l GNU/Linux
aur/wxbase 3.0.2-3 [installed]
wxWidgets base libraries for no X install (stable version)
ircddbgateway
./configure --without-gui
xtCtrl.o
test -f 'GUICommon/AddressTextCtrl.cpp' || echo './'GUICommon/AddressTextCtrl.cpp In file included from GUICommon/AddressTextCtrl.h:24:0, from GUICommon/AddressTextCtrl.cpp:19: GUICommon/RestrictedTextCtrl.h:24:47: error: expected class-name before '{' token class CRestrictedTextCtrl : public wxTextCtrl { ^ GUICommon/RestrictedTextCtrl.h:26:77: error: 'wxPoint' does not name a type CRestrictedTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style, const wxString& wantedChars); ^~~~~~~ GUICommon/RestrictedTextCtrl.h:26:97: error: 'wxSize' does not name a type CRestrictedTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style, const wxString& wantedChars); ^~~~~~ In file included from GUICommon/AddressTextCtrl.cpp:19:0: GUICommon/AddressTextCtrl.h:31:74: error: 'wxPoint' does not name a type CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L); ^~~~~~~ GUICommon/AddressTextCtrl.h:31:114: error: 'wxSize' does not name a type CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L); ^~~~~~ GUICommon/AddressTextCtrl.h:31:89: error: 'wxDefaultPosition' was not declared in this scope CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L); ^~~~~~~~~~~~~~~~~ In file included from GUICommon/AddressTextCtrl.cpp:19:0: GUICommon/AddressTextCtrl.h:31:129: error: 'wxDefaultSize' was not declared in this scope CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L); ^~~~~~~~~~~~~ GUICommon/AddressTextCtrl.cpp:21:91: error: 'wxPoint' does not name a type CAddressTextCtrl::CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style) : ^~~~~~~ GUICommon/AddressTextCtrl.cpp:21:111: error: 'wxSize' does not name a type CAddressTextCtrl::CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style) : ^~~~~~ make: *** [Makefile:2788: GUICommon/libGUICommon_a-AddressTextCtrl.o] Error 1
The text was updated successfully, but these errors were encountered: