Posts for boldwren

Joined: 2/6/2017
Posts: 1
When I load a rom (I have tried NES and megadrive) and then try to open Tools -> TAStudio it silently crashes and closes the app. When I run the app in a shell and do the same thing:
~/Downloads/BizHawk.app/contents/MacOS$ ./BizHawk
I get:
2017-02-06 19:40:29.464 BizHawk[20749:9608647]
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.EntryPointNotFoundException: CreateFontIndirect
  at (wrapper managed-to-native) BizHawk.Client.EmuHawk.CustomControls.GDIRenderer:CreateFontIndirect (BizHawk.Client.EmuHawk.CustomControls.GDIRenderer/LOGFONT)
  at BizHawk.Client.EmuHawk.CustomControls.GDIRenderer.CreateNormalHFont (System.Drawing.Font font, Int32 width) [0x0001b] in /Users/sappharad/Documents/Coding/BizHawk/BizHawk.Client.EmuHawk/CustomControls/GDIRenderer.cs:151
  at BizHawk.Client.EmuHawk.InputRoll..ctor () [0x0007f] in /Users/sappharad/Documents/Coding/BizHawk/BizHawk.Client.EmuHawk/CustomControls/InputRoll.cs:65
  at (wrapper remoting-invoke-with-check) BizHawk.Client.EmuHawk.InputRoll:.ctor ()
  at BizHawk.Client.EmuHawk.TAStudio.InitializeComponent () [0x00559] in /Users/sappharad/Documents/Coding/BizHawk/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs:157
  at BizHawk.Client.EmuHawk.TAStudio..ctor () [0x000e9] in /Users/sappharad/Documents/Coding/BizHawk/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs:130
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:644
  --- End of inner exception stack trace ---
(snipped two other stack traces that I assume are the exception handler blowing up)
CreateFontIndirect appears to be defined as:
		[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
		private static extern IntPtr CreateFontIndirect(
			[In, MarshalAs(UnmanagedType.LPStruct)]LOGFONT lplf
			);
but I have no idea where gdi32.dll is supposed to live. The only files matching '*32.dll' in /usr/local are all named 'Mono.Security.Win32.dll'. Any ideas? (This is on OSX Sierra (10.12) with the osx build of BizHawk 1.11.7 and "mono: stable 4.6.2.16 (bottled)" from homebrew.)