allentc / pgadmin3-lts

Other
29 stars 33 forks source link

Cannot install wxWidgets error #33

Open edrobal opened 9 months ago

edrobal commented 9 months ago

pgAdmin3.cpp: In member function ‘void frmDlgTest::OnSelect(wxCommandEvent&)’: pgAdmin3.cpp:198:34: error: no matching function for call to ‘pgDialog::LoadResource(frmDlgTest, wxString&)’ dlg->LoadResource(this, dlgName); ^ In file included from ../pgadmin/include/dlg/dlgFindReplace.h:15:0, from ../pgadmin/include/ctl/ctlSQLBox.h:21, from ../pgadmin/include/pgAdmin3.h:29, from pgAdmin3.cpp:13: ../pgadmin/include/dlg/dlgClasses.h:37:7: note: candidate: void pgDialog::LoadResource(wxWindow, const wxChar) void LoadResource(wxWindow parent, const wxChar name = 0); ^~~~ ../pgadmin/include/dlg/dlgClasses.h:37:7: note: no known conversion for argument 2 from ‘wxString’ to ‘const wxChar {aka const wchar_t}’ pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’: pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization }; ^ pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization pgAdmin3.cpp:320:2: error: cannot convert ‘const wxString’ to ‘const char’ in initialization

edrobal commented 9 months ago

I install wxGTK 2.8 and make finish with :+1: mv -f $depbase.Tpo $depbase.Po ctl/explainShape.cpp: In member function ‘virtual void ExplainLine::OnDraw(wxDC&)’: ctl/explainShape.cpp:527:57: error: ‘wxPENSTYLE_SOLID’ was not declared in this scope dc.SetPen(wxThePenList->FindOrCreatePen(wxBLACK, 1, wxPENSTYLE_SOLID)); ^~~~ ctl/explainShape.cpp:527:57: note: suggested alternative: ‘wxFONTSTYLE_SLANT’ dc.SetPen(wxThePenList->FindOrCreatePen(wxBLACK, 1, wxPENSTYLE_SOLID)); ^~~~ wxFONTSTYLE_SLANT ctl/explainShape.cpp:528:65: error: ‘wxBRUSHSTYLE_SOLID’ was not declared in this scope dc.SetBrush(wxTheBrushList->FindOrCreateBrush(wxLIGHT_GREY, wxBRUSHSTYLE_SOLID)); ^~~~~~ ctl/explainShape.cpp:528:65: note: suggested alternative: ‘wxBG_STYLE_COLOUR’ dc.SetBrush(wxTheBrushList->FindOrCreateBrush(wxLIGHT_GREY, wxBRUSHSTYLE_SOLID)); ^~~~~~ wxBG_STYLE_COLOUR make[3]: [Makefile:5391: ctl/explainShape.o] Error 1 make[3] : on quitte le répertoire « /tmp/pgadmin3-lts-master/pgadmin » make[2]: [Makefile:3469: all] Error 2 make[2] : on quitte le répertoire « /tmp/pgadmin3-lts-master/pgadmin » make[1]: [Makefile:582: all-recursive] Error 1 make[1] : on quitte le répertoire « /tmp/pgadmin3-lts-master » make: [Makefile:475: all] Error 2

proxy-m commented 4 months ago

_from ‘wxString’ to ‘const wxChar {aka const wchart}’

Wrong headers or version of dependencies.

99Percent commented 2 months ago

In debian12 I installed wxWidgets like this:

sudo apt install libwxgtk3.2-dev libxml2-dev libxslt-dev 
sudo apt install libwxgtk-webview3.2-1 libwxgtk-webview3.2-dev

But I am still getting errors and the query tool hangs while retrieving the results of a select query.