Bug 19315 - OpenTK library does not work
Summary: OpenTK library does not work
Status: RESOLVED FEATURE
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 4.13.x
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Radek Doulik
URL:
Depends on:
Blocks:
 
Reported: 2014-04-26 09:19 UTC by Rainer Mager
Modified: 2014-04-28 00:40 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Rainer Mager 2014-04-26 09:19:20 UTC
Two versions of the OpenTK library are included for Android: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v4.0.3\OpenTK.dll and OpenTK-1.0.dll in the same folder. The OpenTK-1.0.dll version does not work. For example if you create an OpenGL project it will include the OpenTK.dll version in the references. This will work correctly. If you change the reference to the other version then the app still runs, but the colored square of the demo project will not show up on the screen.

I don't know what'd different between these two versions of OpenTK, but it is confusing to have both, and if the second is truly not useful then it's a waste of space. There are also library incompatibilities between them. Some of the functions require slightly different parameters, etc.

What's also annoying is that both of these versions of OpenTK are not directly compatible with the OpenTK that's included for iOS.
Comment 1 Atsushi Eno 2014-04-28 00:40:00 UTC
Two different versions of OpenTK.dll are provided to not break compatibility for existing users. Removing one breaks their application. If you alter the dll from the one that the sample references, it would break behavior and not supported.

Incompatibility between iOS and Android is recorded on bug #7384, so we are not going to address it on this specific entry.

(Reassigning to rodo for any possible further messages.)