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

List:       freetype-devel
Subject:    Re: Termios.h Error
From:       Hin-Tak Leung <htl10 () users ! sourceforge ! net>
Date:       2023-03-03 16:03:29
Message-ID: 124013067.5755786.1677859409388 () mail ! yahoo ! com
[Download RAW message or body]

Firstly, please keep freetype-devel in the cc. This is not a private consultation.
Already said yours is a user error. ttdebug needs old or posix termios functionality \
OR conio.h (on windows). Defining UNIX on mingw is just wrong. Cygwin provides \
termios, so you could use that . Cygwin is not mingw. The other possibility is \
windows sub-system for Linux, on newer window systems. AFAIK msys2 is just a wrapper \
around mingw, so ditto. OTOH, ttdebug is rather the deeper part of freetype-demo... \
if you are struggling with make/compiling, and you are only interested in learning \
about freetype on Windows in general, maybe you should first try to learn to skip it \
and NOT build it. That's quite easy - remove "ttdebug" from the EXES list in the top \
level Makefile, I think. The individual demo names are listed in the EXES, so you \
could do "make a, make b, make c..." etc to make the individual ones, instead of \
plain "make" (which makes all of EXES).  On Friday, 3 March 2023 at 10:52:17 GMT+8, \
Andrew Lakeland <alakeland1998@gmail.com> wrote:    
 Hi,I appreciate the answer. However, I've been looking through some StackOverflow \
threads and they seem to suggest that termios.h just doesn't exist on MSYS2 because \
MSYS2 Windows doesn't fully support POSIX. Sources \
below.https://stackoverflow.com/questions/20772965/where-to-obtain-termios-hhttps://st \
ackoverflow.com/questions/49622208/termios-h-error-on-linux-lftdi-error-on-windows-cro \
ss-compilinghttps://stackoverflow.com/questions/771756/what-is-the-difference-between-cygwin-and-mingwhttps://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/
 I'm currently using MSYS2. I'm pretty sure the issue is that MSYS2 just doesn't \
support POSIX, so I am currently trying to build in cygwin. Using cygwin solved the \
termios.h problem. 

However, I'm still getting errors with files not being found. Is there any \
installation process for Windows freetype-demos that has been confirmed to work? I'm \
still a little new to Make, compiling, etc, so please let me know if I'm missing \
something.  Thanks
  


[Attachment #3 (text/html)]

<html><head></head><body><div class="ydped06bea1yahoo-style-wrap" \
style="font-family:Helvetica Neue, Helvetica, Arial, \
sans-serif;font-size:16px;"><div></div>  <div>Firstly, please keep freetype-devel in \
the cc. This is not a private consultation.</div><div><br></div><div>Already said \
yours is a user error. ttdebug needs old or posix termios functionality OR conio.h \
(on windows). Defining UNIX on mingw is just wrong. Cygwin provides termios, so you \
could use that . Cygwin is not mingw. The other possibility is windows sub-system for \
Linux, on newer window systems. AFAIK msys2 is just a wrapper around mingw, so \
ditto.</div><div><br></div><div>OTOH, ttdebug is rather the deeper part of \
freetype-demo... if you are struggling with make/compiling, and you are only \
interested in learning about freetype on Windows in general, maybe you should first \
try to learn to skip it and NOT build it. That's quite easy - remove "ttdebug" from \
the EXES list in the top level Makefile, I think. The individual demo names are \
listed in the EXES, so you could do "make a, make b, make c..." etc to make the \
individual ones, instead of plain "make" (which makes all of \
EXES).</div><div><br></div>  
        <div id="ydped06bea1yahoo_quoted_8821582614" class="ydped06bea1yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, \
sans-serif;font-size:13px;color:#26282a;">  
                <div>
                    On Friday, 3 March 2023 at 10:52:17 GMT+8, Andrew Lakeland \
&lt;alakeland1998@gmail.com&gt; wrote:  </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydped06bea1yiv1343124525"><div \
dir="ltr"><div>Hi,</div><div>I appreciate the answer. However, I've been looking \
through some StackOverflow threads and they seem to suggest that termios.h just \
doesn't exist on MSYS2 because MSYS2 Windows doesn't fully support POSIX. Sources \
below.</div><div><a href="https://stackoverflow.com/questions/20772965/where-to-obtain-termios-h" \
rel="nofollow" target="_blank">https://stackoverflow.com/questions/20772965/where-to-obtain-termios-h</a></div><div><a \
href="https://stackoverflow.com/questions/49622208/termios-h-error-on-linux-lftdi-error-on-windows-cross-compiling" \
rel="nofollow" target="_blank">https://stackoverflow.com/questions/49622208/termios-h-error-on-linux-lftdi-error-on-windows-cross-compiling</a></div><div><a \
href="https://stackoverflow.com/questions/771756/what-is-the-difference-between-cygwin-and-mingw" \
rel="nofollow" target="_blank">https://stackoverflow.com/questions/771756/what-is-the-difference-between-cygwin-and-mingw</a></div><div><a \
href="https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/" rel="nofollow" \
target="_blank">https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/</a></div><div><br></div><div>I'm \
currently using MSYS2. I'm pretty sure the issue is that MSYS2 just doesn't support \
POSIX, so I am currently trying to build in cygwin. Using cygwin solved the termios.h \
problem. <br></div><div><br></div><div>However, I'm still getting errors with files \
not being found. Is there any installation process for Windows freetype-demos that \
has been confirmed to work?</div><div><br></div><div>I'm still a little new to Make, \
compiling, etc, so please let me know if I'm missing something. \
<br></div><div>Thanks<br></div></div> </div></div>
            </div>
        </div></div></body></html>



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

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