Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Allegro 5 compiling from source error

This thread is locked; no one can reply to it. rss feed Print
Allegro 5 compiling from source error
iheartcoffee
Member #16,518
August 2016
avatar

I'm not able to compile the ttf part of allegro. I get the following error form cmake
Performing Test TTF_COMPILES - Failed
and it disables the ttf part of allegro. How do I get this to work? I followed Edgar Reynolds guide to compiling allegro 5 on MinGW.

This is my full cmake configure

Guessed MinGW directory: C:/MinGW/mingw32
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Performing Test ALLEGRO_HAVE_PROCFS_ARGCV
Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed
Performing Test ALLEGRO_HAVE_SV_PROCFS_H
Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed
Using OpenGL
Could NOT find GDIPLUS (missing: GDIPLUS_INCLUDE_DIR)
WARNING: cannot use GDI+. Will try other libraries.
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find WebP (missing: WEBP_INCLUDE_DIRS WEBP_LIBRARIES)
WARNING: libwebp not found, disabling support
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Could NOT find OPENSL (missing: OPENSL_INCLUDE_DIR OPENSL_LIBRARY)
Could NOT find OPUS (missing: OPUS_INCLUDE_DIR OPUS_LIBRARY OPUSFILE_LIBRARY)
WARNING: libopus not found or compile test failed, disabling support.
Performing Test TTF_COMPILES
Performing Test TTF_COMPILES - Failed
Performing Test TTF_COMPILES_WITH_EXTRA_DEPS
Performing Test TTF_COMPILES_WITH_EXTRA_DEPS - Failed
CMake Warning at addons/CMakeLists.txt:135 (message):
FreeType doesn't compile. Disabling support.

Configuring done

I also don't understand why it's not detecting GDI Plus

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

My guide mentions you need to tick the check box for HAVE_PNG and HAVE_ZLIB or something in CMake under FreeType2.

The GDI plus error is a error with the build script not looking where mingw-w64 has its file. It's in with the i686_blah/include and /lib folders. Just search for libdxguid.a and you'll find it.

Go to: