Skip to content
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

Make error #48

Open
iw0red opened this issue Jan 12, 2020 · 1 comment
Open

Make error #48

iw0red opened this issue Jan 12, 2020 · 1 comment

Comments

@iw0red
Copy link

iw0red commented Jan 12, 2020

Hi,
I tried to compile ircddbgateway software on this machine:
Linux sserano 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux

But I had this error:

g++ -O2 -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/base-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -pthread -DLOG_DIR='"/var/log"' -DCONF_DIR='"/etc"' -DDATA_DIR='"/usr/share/ircddbgateway"' -I../Common -c -o AddressTextCtrl.o AddressTextCtrl.cpp
In file included from AddressTextCtrl.h:24,
from AddressTextCtrl.cpp:19:
RestrictedTextCtrl.h:24:47: error: expected class-name before '{' token
class CRestrictedTextCtrl : public wxTextCtrl {
^
RestrictedTextCtrl.h:26:77: error: 'wxPoint' does not name a type; did you mean 'wxJoin'?
CRestrictedTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style, const wxString& wantedChars);
^~~~~~~
wxJoin
RestrictedTextCtrl.h:26:97: error: 'wxSize' does not name a type; did you mean 'wxTimer'?
CRestrictedTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style, const wxString& wantedChars);
^~~~~~
wxTimer
In file included from AddressTextCtrl.cpp:19:
AddressTextCtrl.h:31:74: error: 'wxPoint' does not name a type; did you mean 'wxJoin'?
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L);
^~~~~~~
wxJoin
AddressTextCtrl.h:31:114: error: 'wxSize' does not name a type; did you mean 'wxTimer'?
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L);
^~~~~~
wxTimer
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);
^~~~~~~~~~~~~~~~~
AddressTextCtrl.h:31:89: note: suggested alternative: 'wxDefaultListKey'
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L);
^~~~~~~~~~~~~~~~~
wxDefaultListKey
In file included from AddressTextCtrl.cpp:19:
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);
^~~~~~~~~~~~~
AddressTextCtrl.h:31:129: note: suggested alternative: 'wxDefaultListKey'
CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0L);
^~~~~~~~~~~~~
wxDefaultListKey
AddressTextCtrl.cpp:21:91: error: 'wxPoint' does not name a type; did you mean 'wxJoin'?
CAddressTextCtrl::CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style) :
^~~~~~~
wxJoin
AddressTextCtrl.cpp:21:111: error: 'wxSize' does not name a type; did you mean 'wxTimer'?
CAddressTextCtrl::CAddressTextCtrl(wxWindow* parent, int id, const wxString& value, const wxPoint& pos, const wxSize& size, long style) :
^~~~~~
wxTimer
make[1]: *** [Makefile:13: AddressTextCtrl.o] Error 1
make[1]: Leaving directory '/root/ircDDBGateway/GUICommon'
make: *** [Makefile:54: GUICommon/GUICommon.a] Error 2

Thanks.
73 Marco IW0RED.

@fabianfrz
Copy link

I can confirm that the code compiles with wx 3.2. Please try to update wxwidgets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants