Posted Sunday, 15 November, 2009 - 20:31 by nythrix
Are you using both OpenTK and OpenTK.Compatibility? If that is the case you need to specify the full path i.e.OpenTK.Graphics.GL or OpenTK.Graphics.OpenGL.GL. Or take out one of the using statements so the compiler knows what to do.
Posted Monday, 23 November, 2009 - 15:50 by the Fiddler
Make sure that all projects in your solution are using the same OpenTK version. (To be sure, remove all OpenTK references, rebuild the solution (it fails) and re-add the references).
Comments
Re: OpenTK.Utilities || TextPrinter
The TextPrinter has been moved into OpenTK.Compatibility and will eventually become a separate project from OpenTK.
I simply don't have the time or resources to maintain this code.
Re: OpenTK.Utilities || TextPrinter
How can I easy draw text?
OpenTK.Compatibility > TextPrinter can't used, because: 'GL' is an ambiguous reference between 'OpenTK.Graphics.GL' and 'OpenTK.Graphics.OpenGL.GL'.
-----------
Existing something for freetype .net? hm
Re: OpenTK.Utilities || TextPrinter
Are you using both OpenTK and OpenTK.Compatibility? If that is the case you need to specify the full path i.e.
OpenTK.Graphics.GLorOpenTK.Graphics.OpenGL.GL. Or take out one of theusingstatements so the compiler knows what to do.Re: OpenTK.Utilities || TextPrinter
You could also make the reference unambiguous by doing
using GL = OpenTK.Graphics.OpenGL.GL
Re: OpenTK.Utilities || TextPrinter
I try use OpenTK.Compatibility library to print tex on screen, but:
http://uploading.sk/informace/obrazek/i4vascn/exception.png
How i solved this problem??
Re: OpenTK.Utilities || TextPrinter
Make sure that all projects in your solution are using the same OpenTK version. (To be sure, remove all OpenTK references, rebuild the solution (it fails) and re-add the references).