More notes about spice-gtk on Mac

Thursday, March 9, 2017

Error message:

Undefined symbols for architecture x86_64:
  "_spice_usb_device_get_libusb_device", referenced from:
     -exported_symbol[s_list] command line option

The function is currently under #ifdef USE_USBREDIR, but is always exported PATCH.

In file included from spice-widget.c:42: ./spice-widget-priv.h:28:10: fatal error: 'epoxy/egl.h' file not found #include <epoxy/egl.h>

libepoxy is installed, but does not have epoxy/egl.h in it.

PATCH: Detect this in configure.ac, replace WIN32 with HAVE_EPOXY_EGL_H

In file included from vncdisplaykeymap.c:95: In file included from /usr/local/Cellar/gtk+3/3.22.7/include/gtk-3.0/gdk/gdkquartz.h:23: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:492:1: error: expected identifier or '(' @class NSString, Protocol; ^

Deferred to tomorrow.