Menu

#77 ft2build.h: No such file or directory

1.04
closed
nobody
None
2022-12-29
2020-01-20
Parker Reed
No

Arch Linux

[parker@wolfcola ftequake-svn]$ pacman -Q freetype2 
freetype2 2.10.1-1
[parker@wolfcola ftequake-svn]$ pacman -Ql freetype2 | grep ft2
freetype2 /usr/include/freetype2/ft2build.h
gcc  -O3  -Wall -Wno-pointer-sign -Wno-unknown-pragmas -Wno-format-zero-length -Wno-strict-aliasing   -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/client -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/server -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/common -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/gl -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/d3d -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/qclib -I.  -I./dxsdk9/include -I./dxsdk7/include  -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/botlib -DBOTLIB -DBOTLIB_STATIC  -DSVNREVISION=5600 -DSVNDATE=2020-01-13T07:03:28.509751Z -DCONFIG_FILE_NAME=config_fteqw.h -DLINK_PNG -DLINK_JPEG -DLINK_FREETYPE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DFTEPLUGIN -o /home/parker/.cache/yay/ftequake-svn/src/trunk/engine/release/fteplug_models_amd64.so -shared -I../engine/libs-x86_64-pc-linux-gnu -fPIC -Wl,--no-undefined -Bsymbolic -fvisibility=hidden -static-libgcc -Imodels models/gltf.c models/exportiqm.c models/models.c plugin.c  -L../engine/libs-x86_64-pc-linux-gnu -L/usr/local/lib -Wl,-R/usr/local/lib -lm
/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/gl/gl_font.c:45:10: error: #include expects "FILENAME" or <FILENAME>
   45 | #include FT_FREETYPE_H
      |          ^~~~~~~~~~~~~
make[4]: [Makefile:1773: /home/parker/.cache/yay/ftequake-svn/src/trunk/engine/release/m_linux/gl_font.o] Error 1 (ignored)
/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/gl/gl_font.c:44:10: fatal error: ft2build.h: No such file or directory
   44 | #include <ft2build.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:1774: /home/parker/.cache/yay/ftequake-svn/src/trunk/engine/release/m_linux/gl_font.o] Error 1
make[3]: *** [Makefile:1846: _out-rel] Error 2
make[2]: *** [Makefile:1871: _clsv-rel] Error 2
make[1]: *** [Makefile:1959: m-tmp] Error 2
make: *** [Makefile:1968: m-rel] Error 2
make: *** Waiting for unfinished jobs....

Related

Tickets: #77

Discussion

  • Parker Reed

    Parker Reed - 2020-01-20

    This is with the make command

    make -C engine sv-rel gl-rel mingl-rel qcc-rel vk-rel
    
     
  • Xylemon

    Xylemon - 2022-03-03

    EDIT: Apologies, didn't see the "Arch Linux" bit above the log.

    If it still fails, try building FTEQuake like so:

    make -j4 gl-rel sv-rel plugins-rel CFLAGS+=' -fcommon -I/usr/include/freetype2'

    This was reported to be working on the AUR for ftequake:

    https://aur.archlinux.org/packages/ftequake

    If FTE still fails to compile on Arch, feel free to comment or open a new issue, otherwise I'm going to assume this should be closed.

     

    Last edit: Xylemon 2022-03-03
    • Parker Reed

      Parker Reed - 2022-03-03

      I thought I had mentioned Arch Linux at the start of the ticket. It's been
      so long now that I don't even remember doing this. It is fine to close this
      out, thanks.

      On Wed, Mar 2, 2022, 8:01 PM Xylemon xylemon@users.sourceforge.net wrote:

      Just letting you know that it would be helpful to list what system you are
      trying to compile on when reporting an issue like this, since this is
      dependency related. It seems that you're running Arch or an Arch-based
      system (since I see pacman and yay), if that's the case, try building like
      so:

      make -j4 gl-rel sv-rel plugins-rel CFLAGS+=' -fcommon
      -I/usr/include/freetype2'

      This was reported to be working on the AUR for ftequake:

      https://aur.archlinux.org/packages/ftequake

      If FTE still fails to compile on Arch, feel free to comment or open a new
      issue, otherwise I'm going to assume this should be closed.


      Status: open
      Milestone: 1.04
      Created: Mon Jan 20, 2020 02:51 AM UTC by Parker Reed
      Last Updated: Mon Jan 20, 2020 03:00 AM UTC
      Owner: nobody

      Arch Linux

      [parker@wolfcola ftequake-svn]$ pacman -Q freetype2 freetype2 2.10.1-1[parker@wolfcola ftequake-svn]$ pacman -Ql freetype2 | grep ft2freetype2 /usr/include/freetype2/ft2build.h

      gcc -O3 -Wall -Wno-pointer-sign -Wno-unknown-pragmas -Wno-format-zero-length -Wno-strict-aliasing -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/client -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/server -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/common -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/gl -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/d3d -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/qclib -I. -I./dxsdk9/include -I./dxsdk7/include -I/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/botlib -DBOTLIB -DBOTLIB_STATIC -DSVNREVISION=5600 -DSVNDATE=2020-01-13T07:03:28.509751Z -DCONFIG_FILE_NAME=config_fteqw.h -DLINK_PNG -DLINK_JPEG -DLINK_FREETYPE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DFTEPLUGIN -o /home/parker/.cache/yay/ftequake-svn/src/trunk/engine/release/fteplug_models_amd64.so -shared -I../engine/libs-x86_64-pc-linux-gnu -fPIC -Wl,--no-undefined -Bsymbolic -fvisibility=hidden -static-libgcc -Imodels models/gltf.c models/exportiqm.c models/models.c plugin.c -L../engine/libs-x86_64-pc-linux-gnu -L/usr/local/lib -Wl,-R/usr/local/lib -lm/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/gl/gl_font.c:45:10: error: #include expects "FILENAME" or <filename>
      45 | #include FT_FREETYPE_H
      | ^~~~~~~~~~~~~make[4]: [Makefile:1773: /home/parker/.cache/yay/ftequake-svn/src/trunk/engine/release/m_linux/gl_font.o] Error 1 (ignored)/home/parker/.cache/yay/ftequake-svn/src/trunk/engine/gl/gl_font.c:44:10: fatal error: ft2build.h: No such file or directory
      44 | #include <ft2build.h>
      | ^~~~~~~~~~~~compilation terminated.make[4]: *** [Makefile:1774: /home/parker/.cache/yay/ftequake-svn/src/trunk/engine/release/m_linux/gl_font.o] Error 1make[3]: *** [Makefile:1846: _out-rel] Error 2make[2]: *** [Makefile:1871: _clsv-rel] Error 2make[1]: *** [Makefile:1959: m-tmp] Error 2make: *** [Makefile:1968: m-rel] Error 2make: *** Waiting for unfinished jobs....</ft2build.h></filename>


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/fteqw/tickets/77/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #77

      • Xylemon

        Xylemon - 2022-03-03

        Yeah sorry about that, somehow missed it. Thanks for being understanding.

         
  • eukara

    eukara - 2022-03-03
    • status: open --> closed
     
  • Xylemon

    Xylemon - 2022-12-29
     

Log in to post a comment.

MongoDB Logo MongoDB