With the 14.2 I get the same error.
So with devel I now get
nim --version
Nim Compiler Version 0.14.3 (2016-07-11) [Linux: amd64]
Copyright (c) 2006-2016 by Andreas Rumpf
git hash: b668c5e2aaf8db3f646bab0b20239fcb0529dac3
active boot switches: -d:release
...
CC: stdlib_oids
CC: stdlib_endians
Error: execution of an external compiler program 'gcc -c -w -pthread
-Iinstalls/Nim/lib -o ./nimcache/ttf_ttf.o ./nimcache/ttf_ttf.c' failed with
exit code: 256
./nimcache/ttf_ttf.c: In function ‘stbtt_InitFont’:
./nimcache/ttf_ttf.c:2132:16: error: ‘data’ undeclared (first use in this
function)
info0->data = data;
^
./nimcache/ttf_ttf.c:2132:16: note: each undeclared identifier is reported
only once for each function it appears in
Compilation exited abnormally with code 1 at Mon Jul 11 22:41:40
I haven't tried OderWat's suggestion yet.
What setup are you running?