migueltk's picture

Problem on Ubuntu 11.10 with libXi and solution

I downloaded OpenTK from SVN and I found this problem when trying to run an application in Ubuntu 11.10

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer 
for OpenTK.Input.Mouse ---> System.DllNotFoundException: libXi

The solution is to add this line
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
to file 'OpenTK.dll.config'.

Regards, ...

Miguel


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gooberking's picture

You are may hero of the day.

Shouldn't this be an issue with Linux in general and not just Ubuntu?

migueltk's picture

I just tried it with Ubuntu.