GTK#-2.12 Workaround: libgtk-win32-2.0-0.dll Not Found

Introduction

GTK# 2.12 does not run in Windows 7. Project build with GTK# is failed to run in debug mode with System.DllNotFoundException with message stated that libgtk-win32-2.0-0.dll not found.

Causes

This appear to be due to the long Environment Variables - PATH with long path list. 

Solution

Edit the PATH variable in System Properties > Advanced > Environment Variables to move the GTK# Path "C:\Program Files (x86)\GtkSharp\2.12\bin" to the front of all the path string. Restart Xamarin studio and everything should works find.

Reference


Popular posts from this blog

C# DSP Simulation - DSP Lab

C# DSP Toolbox: Digital Filters (Updated)