[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    Re: Make ft2dmo2130
From:       Hin-Tak Leung <htl10 () users ! sourceforge ! net>
Date:       2023-02-27 17:55:35
Message-ID: 879113484.2395207.1677520535866 () mail ! yahoo ! com
[Download RAW message or body]

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 \
<alakeland1998@gmail.com> 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
  


[Attachment #3 (text/html)]

<div>                Pretty sure it is a user error. The include is within a \
&quot;#ifdef UNIX&quot; and &quot;#ifndef HAVE_POSIX_TERMIOS&quot; block. \
<br><br>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.<br>            </div>            <div class="yahoo_quoted" \
style="margin:10px 0px 0px 0.8ex;border-left:1px solid #ccc;padding-left:1ex;">       \
<div style="font-family:'Helvetica Neue', Helvetica, Arial, \
sans-serif;font-size:13px;color:#26282a;">                                <div>       \
On Monday, 27 February 2023, 04:17:55 GMT, Andrew Lakeland \
&lt;alakeland1998@gmail.com&gt; wrote:                </div>                \
<div><br></div>                <div><br></div>                <div><div \
id="yiv6166948086"><div dir="ltr"><div>Hi,</div><div>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<br>r directory<br>&nbsp; &nbsp;35 | #include \
&lt;termios.h&gt;<br>&nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;^~~~~~~~~~~<br>compilation terminated.<br>make: *** [Makefile:493: \
/c/Users/james/Documents/GitHub/ft2demos/objs/ttdebug.o] Error \
1"</div><div><br></div><div>After consulting the mailing list archives, I came across \
this message describing a similar issue with termios.h</div><div><br></div><div>"&gt; \
&gt; I was also able to fix a few msys build errors but I still cannot<br>&gt; &gt; \
build demos in msys due it trying to include termios.h which is not<br>&gt; &gt; \
available. For now, I've temporarily disabled building demos for that<br>&gt; &gt; \
platform."</div><div><br></div><div>Source - <a rel="nofollow noopener noreferrer" \
target="_blank" href="https://lists.nongnu.org/archive/html/freetype-devel/2020-08/msg \
00119.html">https://lists.nongnu.org/archive/html/freetype-devel/2020-08/msg00119.html</a></div><div><br></div><div>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. \
<br></div><div><br></div><div>Thanks<br></div></div></div></div>            </div>    \
</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic