th's picture

OpenTK.Utilities || TextPrinter

hi,

Why in later versions are not supported TextPrinter? Why missing OpenTK.Utilities library in later versions?
Thank


Comments

Comment viewing options

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

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.

th's picture

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

nythrix's picture

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.

kanato's picture

You could also make the reference unambiguous by doing
using GL = OpenTK.Graphics.OpenGL.GL

th's picture

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??

the Fiddler's picture

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).