|
CMake Error Log -- What config options should I be using? |
ZoriaRPG
Member #16,714
July 2017
|
Update 2 update: I'm down to this. 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: 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 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: 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
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Use cmake-gui and configure Everything... Edit https://wiki.allegro.cc/index.php?title=Installing_MinGW https://wiki.allegro.cc/index.php?title=Building_Allegro_4_with_MinGW My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
ZoriaRPG
Member #16,714
July 2017
|
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
Major Reynaldo
May 2007
|
As I mentioned else where there's no need for msys unless you need to build ogg and vorbis. But you should have at least liballeg.a for a static lib plus the addons. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|