nim-lang / ui

Beginnings of what might become Nim's official UI library.
MIT License
240 stars 32 forks source link

OSX histogram.nim DrawTextFontDescriptor compilation error #26

Closed rustomax closed 5 years ago

rustomax commented 5 years ago

histogram.nim in the samples folder doesn't compile with the following error on OSX

$ nim c -d:useLibUiDll histogram.nim
...
histogram.nim(25, 18) Error: undeclared identifier: 'DrawTextFontDescriptor'

$ nim --version
Nim Compiler Version 0.20.2 [MacOSX: amd64]

Note: all other sample programs compile and execute fine.

ziotom78 commented 5 years ago

The same happens under Linux.

rustomax commented 5 years ago

@Araq and @ba0f3, thanks for fixing this