607011 / clip2data2clip

Convert clipboard contents to Data URL
GNU General Public License v3.0
6 stars 0 forks source link

Compile Issue with 3rdparty Library under Linux (X11) #2

Closed jrw77 closed 1 year ago

jrw77 commented 1 year ago

The file clip_x11.cpp ist corrupted and does not compile. This file is probably only used under Linux with X11. A corrected file that compiles (format -> format f in line 244 and 1098) does not seem to work as expected.

original compile error:

./clip2png2clip/3rdparty/clip/clip_x11.cpp: In member function ‘bool clip::{anonymous}::Manager::get_mime_type(clip::format, std::__cxx11::string&) const’: ./clip2png2clip/3rdparty/clip/clip_x11.cpp:245:25: error: ‘f’ was not declared in this scope if (!is_convertible(f)) ^

607011 commented 1 year ago

A commit as of March 15th fixed the bug. But … when you git submodule update, not the main branch is checked out but some commit which is detached from HEAD. Please use git submodule update --remote --merge to update the local submodule.

607011 commented 1 year ago

Fixed (see 8dfba39ea84a0bf3b834a5a325ec6945f4c03eeb)