2013/9/12 Johan Engelen <jbc.engelen@...2592...>:
Hi all, compilation of /src/ui/clipboard.cpp fails on Windows:
Make error line 298: problem compiling: src/ui/clipboard.cpp: In member function 'Glib::ustring Inkscape::UI::ClipboardManagerImpl::_getBestTarget()': src/ui/clipboard.cpp:1245:20: error: 'CLIPBOARD_WIN32_EMF_TARGET' was not declared in this scope src/ui/clipboard.cpp:1253:16: error: 'CLIPBOARD_WIN32_EMF_TARGET' was not declared in this scope src/ui/clipboard.cpp: In member function 'void Inkscape::UI::ClipboardManagerImpl::_setClipboardTargets()': src/ui/clipboard.cpp:1317:42: error: 'CLIPBOARD_WIN32_EMF_MIME' was not declared in this scope
CLIPBOARD_WIN32_EMF_MIME should be replaced with "image/x-emf", and CLIPBOARD_WIN32_EMF_TARGET with "CF_ENHMETAFILE", iirc. I can do this change, but I'd rather it was done by someone who can build and test on Windows.
Regards, Krzysztof