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

Does not install in linux #10

Open
ghost opened this issue Oct 3, 2019 · 8 comments
Open

Does not install in linux #10

ghost opened this issue Oct 3, 2019 · 8 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2019

No description provided.

@BoAnd
Copy link

BoAnd commented Oct 4, 2019

"Does not install in linux" does not help the developer fixing the problem. So maybe try this template:

Expected behavior

Actual behavior

Steps to reproduce the bahavior

Or maybe I can fix the problem then.

Best regards BoAnd

@P4ulJC
Copy link

P4ulJC commented Sep 7, 2020

Hi,

The install failed for me on CentOS 8 (x86_64 ) with the below error. I'm installing from the /tmp directory.

/tmp//src/tools/PaletteTool.cpp: In member function ‘void PaletteTool::AddColor(const wxColour&, const wxString&)’:
/tmp/colorgrab/src/tools/PaletteTool.cpp:176:35: error: call of overloaded ‘wxVariant(const wxColour&)’ is ambiguous
data.push_back(wxVariant(color));

In file included from /usr/include/wx-3.0/wx/any.h:605,
from /usr/include/wx-3.0/wx/event.h:29,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
from /usr/include/wx-3.0/wx/toplevel.h:20,
from /usr/include/wx-3.0/wx/frame.h:18,
from /tmp/colorgrab/src/ToolWindow.h:9,
from /tmp/colorgrab/src/tools/PaletteTool.h:9,
from /tmp/colorgrab/src/tools/PaletteTool.cpp:6:
/usr/include/wx-3.0/wx/variant.h:187:5: note: candidate: ‘wxVariant::wxVariant(bool, const wxString&)’
wxVariant(bool val, const wxString& name = wxEmptyString);

@nielssp
Copy link
Owner

nielssp commented Sep 7, 2020

@P4ulJC Could you try building the develop branch instead? I think I've seen the error before and fixed it in this commit.

@P4ulJC
Copy link

P4ulJC commented Sep 7, 2020

I tried building the develop branch and it compiled without errors! But unfortunately I can't use it because no colour pickers work on CentOS 8. I've tried 5 different ones! The picker does not work outside of the app window - so it can't pick anything apart from the app itself (and even then colours are not picked - same with all apps). This is common to all programs - including the Gimp's colour picker. It's related to Wayland I think - I know nothing about Wayland apart from the fact you can't use colour pickers with it!

@nielssp
Copy link
Owner

nielssp commented Sep 7, 2020

Yeah, unfortunately I don't think Wayland allows applications to take screenshots/read pixels from the screen. Last time I looked into it I couldn't find a way around that.

@P4ulJC
Copy link

P4ulJC commented Sep 7, 2020

Yes you are right about Wayland and I wish I'd known that before I started installing 5 different colour pickers! I think Grim is the thing to use with Wayland to grab the screen. I'm part way through installing dependencies for it - but have given up for the moment after a dependency of a dependency needed updating and I couldn't get the new version to install without a few other dependencies.... I think it's called Grim because it's such a grim task trying to install it...

@RokeJulianLockhart
Copy link

If the problem is caused by Wayland and/or CentOS, why not report this problem to the developers of those projects and consequently close this issue?

@P4ulJC
Copy link

P4ulJC commented Mar 30, 2022

I forgot all about this because I ditched Wayland the following day due to how many issues I was having. Apologies for leaving it so long. I know nothing about Github apart from making the occasional comment like this - not sure if I close the issue or what...

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

4 participants