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

Cannot compile on Linux Mint 19: invalid conversion from ‘char**’ to ‘void**’ #20

Closed
Cat5TV opened this issue May 3, 2019 · 3 comments

Comments

@Cat5TV
Copy link

Cat5TV commented May 3, 2019

Well, I've gotten this far, but am stumped.

  • All dependencies installed
  • Installed GTK3
  • Removed the included version of wxWidgets
  • Compiled wxWidgets 3.1.2 from source (successful)
  • autogen & configure eviacam 2.1.3 successfully (also tried the current commit just in case this was a known/fixed problem, but same result).

During the make process, it errors out with the following:

......

viacamcontroller.cpp: In member function ‘CCamera* CViacamController::SetUpCamera()’:
viacamcontroller.cpp:233:70: error: invalid conversion from ‘char**’ to ‘void**’ [-fpermissive]
     (char**)NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);
                                                                      ^
In file included from /usr/local/include/wx-3.1/wx/choicdlg.h:18:0,
                 from viacamcontroller.cpp:40:
/usr/local/include/wx-3.1/wx/generic/choicdgg.h:110:5: note:   initializing argument 5 of ‘wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow*, const wxString&, const wxString&, const wxArrayString&, void**, long int, const wxPoint&)’
     wxSingleChoiceDialog(wxWindow *parent,
     ^~~~~~~~~~~~~~~~~~~~
Makefile:865: recipe for target 'eviacam-viacamcontroller.o' failed
make[2]: *** [eviacam-viacamcontroller.o] Error 1
make[2]: Leaving directory '/tmp/eviacam/src'
Makefile:514: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/eviacam'
Makefile:423: recipe for target 'all' failed
make: *** [all] Error 2

Thoughts?

My arm is killing me... I'd really like to get eViacam working :)

Thanks!

@Cat5TV
Copy link
Author

Cat5TV commented May 3, 2019

Got it working by installing the old version of wxWidgets (manually compiled 3.0). So it seems this issue occurs only on current versions of wxWidgets.

@Cat5TV
Copy link
Author

Cat5TV commented May 8, 2019

Here is the installer script I wrote based on my findings: https://github.com/Cat5TV/eviacam

I will be featuring eViacam (on Linux Mint 19) on Episode 607 of Category5 Technology TV, if anyone would be interested in seeing the installation process and product demo.

@cmauri
Copy link
Owner

cmauri commented May 13, 2019

Thanks @Cat5TV. I've added a comment clarifying the situation and linking your script here:
#14 (comment)

@cmauri cmauri closed this as completed May 13, 2019
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