Closed adrianmay closed 4 years ago
Just tried it with wxWidgets 3.1.3 from source. Same result. Perhaps you're just not supposed to include both of those headers.
The problem turned out to be that wxWidgets had been compiled against gtk2, not 3. Now I'm just dusting away warnings which become errors under gcc 9.2
index 26f1a25..8b3c650 100755
--- a/src/viacamcontroller.cpp
+++ b/src/viacamcontroller.cpp
@@ -230,7 +230,7 @@ CCamera* CViacamController::SetUpCamera()
wxSingleChoiceDialog choiceDlg(
NULL, _("Choose the camera to use"), _T("Enable Viacam"), strArray,
- (char**)NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);
+ NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);
if (choiceDlg.ShowModal ()!= wxID_OK) return NULL;
Hi, I'm getting the exact same error here, also under Arch Linux. How did you solve that?
On arch linux I'm getting:
The problem remains after removing arch's package wxgtk3 and leaving only 2. I can't remove gtk3 without wrecking my box.