Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » CMake Error Log -- What config options should I be using?

This thread is locked; no one can reply to it. rss feed Print
CMake Error Log -- What config options should I be using?
ZoriaRPG
Member #16,714
July 2017
avatar

Update 2
I had the SDL backend enabled, like an idiot, so, never mind that one. I managed to get the config files to generate, so I'm going to try to build now.

update:

I'm down to this.

#SelectExpand
1Adding C:/Users/DELL/Desktop/ZC_2.54/allegro/deps/enet-1.3.13 to CMAKE_PREFIX_PATH 2Adding C:/Users/DELL/Desktop/ZC_2.54/allegro/deps/enet-master to CMAKE_PREFIX_PATH 3Adding C:/Users/DELL/Desktop/ZC_2.54/allegro/deps/freetype-2.3.5-1-bin to CMAKE_PREFIX_PATH 4Adding C:/Users/DELL/Desktop/ZC_2.54/allegro/deps/freetype-2.8 to CMAKE_PREFIX_PATH 5Guessed MSVC directory: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC 6CMake Error at CMakeLists.txt:336 (include): 7 include could not find load file: 8 9 FindSDL2 10 11 12Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 13Performing Test ALLEGRO_HAVE_PROCFS_ARGCV 14Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed 15Performing Test ALLEGRO_HAVE_SV_PROCFS_H 16Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed 17Performing Test ALLEGRO_HAVE_VA_COPY 18Performing Test ALLEGRO_HAVE_VA_COPY - Failed 19S3TC locking disabled. You will not be able to load/save pre-compressed textures with OpenGL. 20Performing Test SUPPORT_GDIPLUS 21Performing Test SUPPORT_GDIPLUS - Failed 22WARNING: cannot use GDI+. Will try other libraries. 23Configuring incomplete, errors occurred! 24See also "C:/Users/DELL/Desktop/ZC_2.54/allegro/CMakeFiles/CMakeOutput.log". 25See also "C:/Users/DELL/Desktop/ZC_2.54/allegro/CMakeFiles/CMakeError.log".

How do I disable Theora, why is OpenAL not finding itself (not that we need it at present, and I would just as well disable that too, and where do I disable eNET, and LATEX?

(Never mind. LATEX was WANT_DOCS.) I added eNET, as I am not sure what config option disables it, and it would be good to have it.

The other errors (above) trouble me, and the generate operation fails. What am I missing at this point???

Also what are these options, and to what are they related:
WANT_MODAUDIO : What is the addon for this? Is this internally supported now?
WANT_MEMFILE : What is this, and what is its addon?

Unless Ag4.4.3 needs LATEX for something, I need to figure out how to disable it.

WANT_PRIMITIVES : Is this the allegro drawing primitives? I have this on, as I expect that is what it means.

--------------

Holy hell, there are a thousand config options in the CMake build. I'm trying to generate for MSVC9. I had to manually add some includes that are not standard on Windows, but the library configuration for MSVC is still specifying headers that DO NOT EXIST for Windows. :p

CMake Console Output

#SelectExpand
1The C compiler identification is MSVC 15.0.21022.8 2The CXX compiler identification is MSVC 15.0.21022.8 3Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe 4Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- works 5Detecting C compiler ABI info 6Detecting C compiler ABI info - done 7Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe 8Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- works 9Detecting CXX compiler ABI info 10Detecting CXX compiler ABI info - done 11Detecting CXX compile features 12Detecting CXX compile features - done 13Guessed MSVC directory: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC 14Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 15Check if the system is big endian 16Searching 16 bit integer 17Looking for sys/types.h 18Looking for sys/types.h - found 19Looking for stdint.h 20Looking for stdint.h - found 21Looking for stddef.h 22Looking for stddef.h - found 23Check size of unsigned short 24Check size of unsigned short - done 25Using unsigned short 26Check if the system is big endian - little endian 27Looking for include file dirent.h 28Looking for include file dirent.h - found 29Looking for include file inttypes.h 30Looking for include file inttypes.h - found 31Looking for include file linux/input.h 32Looking for include file linux/input.h - not found 33Looking for include file stdbool.h 34Looking for include file stdbool.h - found 35Looking for include file stdint.h 36Looking for include file stdint.h - found 37Looking for include file sys/io.h 38Looking for include file sys/io.h - found 39Looking for include file sys/stat.h 40Looking for include file sys/stat.h - found 41Looking for include file sys/time.h 42Looking for include file sys/time.h - found 43Looking for include file time.h 44Looking for include file time.h - found 45Looking for include file sys/utsname.h 46Looking for include file sys/utsname.h - not found 47Looking for include file sys/types.h 48Looking for include file sys/types.h - found 49Looking for include file soundcard.h 50Looking for include file soundcard.h - not found 51Looking for include file sys/soundcard.h 52Looking for include file sys/soundcard.h - not found 53Looking for include file machine/soundcard.h 54Looking for include file machine/soundcard.h - not found 55Looking for include file linux/soundcard.h 56Looking for include file linux/soundcard.h - not found 57Looking for include file libkern/OSAtomic.h 58Looking for include file libkern/OSAtomic.h - not found 59Looking for include file sys/inotify.h 60Looking for include file sys/inotify.h - not found 61Looking for include file sal.h 62Looking for include file sal.h - found 63Looking for getexecname 64Looking for getexecname - not found 65Looking for mkstemp 66Looking for mkstemp - not found 67Looking for mmap 68Looking for mmap - not found 69Looking for mprotect 70Looking for mprotect - not found 71Looking for sched_yield 72Looking for sched_yield - not found 73Looking for sysconf 74Looking for sysconf - not found 75Looking for fseeko 76Looking for fseeko - not found 77Looking for ftello 78Looking for ftello - not found 79Looking for strerror_r 80Looking for strerror_r - not found 81Looking for strerror_s 82Looking for strerror_s - found 83Looking for _ftelli64 84Looking for _ftelli64 - found 85Looking for _fseeki64 86Looking for _fseeki64 - found 87Check size of _Bool 88Check size of _Bool - failed 89Performing Test ALLEGRO_HAVE_PROCFS_ARGCV 90Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed 91Performing Test ALLEGRO_HAVE_SV_PROCFS_H 92Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed 93Performing Test ALLEGRO_HAVE_VA_COPY 94Performing Test ALLEGRO_HAVE_VA_COPY - Failed 95Found OpenGL: opengl32 96S3TC locking disabled. You will not be able to load/save pre-compressed textures with OpenGL. 97Could NOT find DINPUT (missing: DINPUT_INCLUDE_DIR DINPUT_LIBRARY) 98Could NOT find D3D9 (missing: D3D9_LIBRARY) 99Could NOT find D3DX9 (missing: D3DX9_INCLUDE_DIR D3DX9_LIBRARY) 100Could NOT find DSOUND (missing: DSOUND_INCLUDE_DIR DSOUND_LIBRARY) 101Could NOT find XINPUT (missing: XINPUT_INCLUDE_DIR XINPUT_LIBRARY) 102CMake Error at CMakeLists.txt:714 (message): 103 Windows port requires DirectInput (not found). 104 105 106Configuring incomplete, errors occurred! 107See also "C:/Users/DELL/Desktop/ZC_2.54/allegro/CMakeFiles/CMakeOutput.log". 108See also "C:/Users/DELL/Desktop/ZC_2.54/allegro/CMakeFiles/CMakeError.log".

This is the error log:

https://pastebin.com/eXxfvRdu

What options do I need to enable/disable, and why the flidd are these headers missing? Do I need to specify special include paths for CMake somehow?

I'm getting similar errors trying to generate for MSYS+MinGW:

The C compiler identification is GNU 5.3.0
The CXX compiler identification is GNU 5.3.0
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Guessed MinGW directory: C:/MinGW
Performing Test HAVE_DM_POSITION
Performing Test HAVE_DM_POSITION - Success
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Check if the system is big endian
Searching 16 bit integer
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Looking for include file dirent.h
Looking for include file dirent.h - found
Looking for include file inttypes.h
Looking for include file inttypes.h - found
Looking for include file linux/input.h
Looking for include file linux/input.h - not found
Looking for include file stdbool.h
Looking for include file stdbool.h - found
Looking for include file stdint.h
Looking for include file stdint.h - found
Looking for include file sys/io.h
Looking for include file sys/io.h - not found
Looking for include file sys/stat.h
Looking for include file sys/stat.h - found
Looking for include file sys/time.h
Looking for include file sys/time.h - found
Looking for include file time.h
Looking for include file time.h - found
Looking for include file sys/utsname.h
Looking for include file sys/utsname.h - not found
Looking for include file sys/types.h
Looking for include file sys/types.h - found
Looking for include file soundcard.h
Looking for include file soundcard.h - not found
Looking for include file sys/soundcard.h
Looking for include file sys/soundcard.h - not found
Looking for include file machine/soundcard.h
Looking for include file machine/soundcard.h - not found
Looking for include file linux/soundcard.h
Looking for include file linux/soundcard.h - not found
Looking for include file libkern/OSAtomic.h
Looking for include file libkern/OSAtomic.h - not found
Looking for include file sys/inotify.h
Looking for include file sys/inotify.h - not found
Looking for include file sal.h
Looking for include file sal.h - not found
Looking for getexecname
Looking for getexecname - not found
Looking for mkstemp
Looking for mkstemp - found
Looking for mmap
Looking for mmap - not found
Looking for mprotect
Looking for mprotect - found
Looking for sched_yield
Looking for sched_yield - not found
Looking for sysconf
Looking for sysconf - not found
Looking for fseeko
Looking for fseeko - not found
Looking for ftello
Looking for ftello - not found
Looking for strerror_r
Looking for strerror_r - not found
Looking for strerror_s
Looking for strerror_s - found
Looking for _ftelli64
Looking for _ftelli64 - not found
Looking for _fseeki64
Looking for _fseeki64 - found
Check size of _Bool
Check size of _Bool - done
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
Performing Test ALLEGRO_HAVE_VA_COPY
Performing Test ALLEGRO_HAVE_VA_COPY - Success
Found OpenGL: opengl32
S3TC locking disabled. You will not be able to load/save pre-compressed textures with OpenGL.
Could NOT find DINPUT (missing: DINPUT_INCLUDE_DIR)
Found D3D9: C:/MinGW/include
Could NOT find D3DX9 (missing: D3DX9_INCLUDE_DIR D3DX9_LIBRARY)
Could NOT find DSOUND (missing: DSOUND_INCLUDE_DIR)
Could NOT find XINPUT (missing: XINPUT_INCLUDE_DIR XINPUT_LIBRARY)
CMake Error at CMakeLists.txt:714 (message):
Windows port requires DirectInput (not found).

Edgar Reynaldo
Member #8,592
May 2007
avatar

ZoriaRPG
Member #16,714
July 2017
avatar

This is my fault for not noticing what GitHub changed on their site this week. The branch control widget no longer works properly on FF32. I love those bastards.

I was building the wrong thing, entirely; however, it was apparently ag5 master, which I'll let you all know, does not compile on MSVC9.

Oh, and FWIW, that guide is what got me through the process in the past. Nicely done. I did have issues static linking when I used MSYS a year back, but that was likely an oversight on my part.

I have MSYS on every Windows laptop, but configuring the proper set of include paths was always a barrel of fun, as MSYS and MinGW use entirely isolated path structures.

Edgar Reynaldo
Member #8,592
May 2007
avatar

Go to: