Anonymous's picture

X11KeyMap has a Windows.Forms dependancy

Project:The Open Toolkit library
Category:bug report

The X11KeyMap constructor includes a call to Windows Forms MessageBox. This renders the whole application dependant on Windows.Forms (even though this function isn't called at runtime). If I remove the call to MessageBox and uninstall winforms, my application seems to work alright.

I suppose this could be viewed as a feature request too, but imo its a minor bug that OpenTK requires Winforms even when they're not used.


Comment viewing options

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


Oh yeah, forgot to mention, I'm using Ubuntu 9.10

the Fiddler's picture


Version:0.9.9-2b» 0.9.x-dev
Status:open» fixed

Thanks for the report, this is fixed in rev. 2280.

There are other parts of OpenTK that depend on WinForms (which means OpenTK will not build without WinForms) but I'm removing those one by one. The next version (0.9.9-3) will not need WinForms at all (outside of the GLControl, of course).

the Fiddler's picture


Version:0.9.x-dev» 0.9.9-3
Status:fixed» closed

Closing issues fixed in 0.9.9-3.