|Subject:||Re: [Tinycc-devel] Why doesn't this work in TCC?|
|Date:||Sat, 1 Apr 2017 07:38:21 +0200|
You’re missing Windows libs: tcc foo.c -luser32
From: Tinycc-devel [mailto:address@hidden On Behalf Of Ben Hutchinson
I just tried this code:
But then when I compiled it, I got this error:
I don't know where it's getting those errors. The windows.h include file is supposed to include all the correct definitions of all the Windows API functions. And the ones that aren't directly defined in windows.h are defined in other include files that windows.h has included in itself (there are other #include statements in windows.h). So they should ALL be defined, but these 2 very common ones for working with graphics, have either not been defined, or have been incorrectly defined (some kind of bug in one of the include files).
|[Prev in Thread]||Current Thread||[Next in Thread]|