belijzajac / TermColor

Effortlessly generate color-schemes for terminal emulators by a single drop of an image!
MIT License
45 stars 2 forks source link

Error when importing image #6

Closed Hakkou3 closed 5 years ago

Hakkou3 commented 5 years ago

When trying to import an image into the program I get this following error: image

Running on Arch. Installing OpenCV from source didn't work so I installed opencv3-opt from the AUR, which did let me build TermColor properly.

belijzajac commented 5 years ago

I haven't tried reproducing the issue, however, I think I know what went wrong.

Could you please include #include <iostream> (at line 4) and std::cerr << "location=" << picLocationStr << "\n"; (at line 27) in the TermColor/src/ui/gui/widget/droparea/DropArea.cpp file? Then recompile and run the program again. I wonder what the output will be (you can as well change your username in the output to something else if you don't want to show it)

github_issue_01

belijzajac commented 5 years ago

While testing TermColor around different desktop environments, I finally came across the issue and fixed it