Pretty sure it is a user error. The include is within a "#ifdef UNIX" and 
"#ifndef HAVE_POSIX_TERMIOS" block. 

UNIX defined and not HAVE_POSIX_TERMIOS is a a rather old unix box. I think the 
mingw compiler works either as a modern unix-like system or a non-unix system, 
not an old unix system.
     On Monday, 27 February 2023, 04:17:55 GMT, Andrew Lakeland 
<[email protected]> wrote:  
 
 Hi,I recently came across the FreeType project and was interested to learn 
about the library. I was able to successfully build ft2130 on a Windows 10 
system using MING-W64. However, when I tried to make ft2dmo2130, I came across 
the error "ft2demos/src/ttdebug.c:35:10: fatal error: termios.h: No such file o
r directory
   35 | #include <termios.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:493: 
/c/Users/james/Documents/GitHub/ft2demos/objs/ttdebug.o] Error 1"
After consulting the mailing list archives, I came across this message 
describing a similar issue with termios.h
"> > I was also able to fix a few msys build errors but I still cannot
> > build demos in msys due it trying to include termios.h which is not
> > available. For now, I've temporarily disabled building demos for that
> > platform."
Source - 
https://lists.nongnu.org/archive/html/freetype-devel/2020-08/msg00119.html
I realize the message is from 2020, but is this termios problem still present? 
I didn't see a fix in the attached thread. This is my first time getting 
involved with open source, so please let me know if there is anything I am 
missing. 

Thanks
  

Reply via email to