Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Allegro 5.1.3 Cmake error

This thread is locked; no one can reply to it. rss feed Print
Allegro 5.1.3 Cmake error
CodeStepper
Member #14,495
August 2012
avatar

Hello :)

I wanted to change IDE from Visual Studio to Code::Blocks, so I installed last version of Code::Blocks nightly build.
The problem was appeared when I tried to compile Allegro [5.1.3] with CMAKE.

It shows me this:

The C compiler identification is GNU 3.4.5
The CXX compiler identification is GNU 3.4.5
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp

  

  Run Build Command:C:/MinGW/bin/mingw32-make.exe
  "cmTryCompileExec3511879437/fast"

  C:/MinGW/bin/mingw32-make.exe -f
  CMakeFiles\cmTryCompileExec3511879437.dir\build.make
  CMakeFiles/cmTryCompileExec3511879437.dir/build

  mingw32-make.exe[1]: Entering directory
  `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp'

  "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
  C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1

  process_begin: CreateProcess((null), echo Building C object
  CMakeFiles/cmTryCompileExec3511879437.dir/testCCompiler.c.obj, ...)
  failed.

  make (e=2): The system cannot find the file specified.


  mingw32-make.exe[1]: ***
  [CMakeFiles/cmTryCompileExec3511879437.dir/testCCompiler.c.obj] Error 2

  mingw32-make.exe[1]: Leaving directory
  `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp'

  mingw32-make.exe: *** [cmTryCompileExec3511879437/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:37 (project)


Configuring incomplete, errors occurred!

And this is error log file ( CMakeError ):

Determining if the C compiler works failed with the following output:
Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp

Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec1685602269/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec1685602269.dir\build.make CMakeFiles/cmTryCompileExec1685602269.dir/build

mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp'

"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1

process_begin: CreateProcess((null), echo Building C object CMakeFiles/cmTryCompileExec1685602269.dir/testCCompiler.c.obj, ...) failed.

make (e=2): The system cannot find the file specified.


mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec1685602269.dir/testCCompiler.c.obj] Error 2

mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp'

mingw32-make.exe: *** [cmTryCompileExec1685602269/fast] Error 2

What am I doing wrong? :-/
Please help :)

Neil Roy
Member #2,229
April 2002
avatar

I believe you need at least version GCC 4.5 to compile this. Although I have had my own issues compiling it, just not this. ;)

Edit: I use MinGW-TDM v4.6.1, it works well.

Edit2: They fixed some issues with missing DLLs you may have encountered with other versions of MinGW, so it's well worth grabbing.

---
“I love you too.” - last words of Wanda Roy

CodeStepper
Member #14,495
August 2012
avatar

Thanks, but now it flush me this ( I installed MinGW TDM ):

#SelectExpand
1The C compiler identification is GNU 4.6.1 2The CXX compiler identification is GNU 4.6.1 3Check for working C compiler: C:/MinGW32/bin/gcc.exe 4Check for working C compiler: C:/MinGW32/bin/gcc.exe -- works 5Detecting C compiler ABI info 6Detecting C compiler ABI info - done 7Check for working CXX compiler: C:/MinGW32/bin/g++.exe 8Check for working CXX compiler: C:/MinGW32/bin/g++.exe -- works 9Detecting CXX compiler ABI info 10Detecting CXX compiler ABI info - done 11Guessed MinGW directory: C:/MinGW32 12Performing Test HAVE_DM_POSITION 13Performing Test HAVE_DM_POSITION - Success 14Allowing GCC to use SSE instructions 15Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 16Check if the system is big endian 17Searching 16 bit integer 18Looking for sys/types.h 19Looking for sys/types.h - found 20Looking for stdint.h 21Looking for stdint.h - found 22Looking for stddef.h 23Looking for stddef.h - found 24Check size of unsigned short 25Check size of unsigned short - done 26Using unsigned short 27Check if the system is big endian - little endian 28Looking for include file dirent.h 29Looking for include file dirent.h - found 30Looking for include file inttypes.h 31Looking for include file inttypes.h - found 32Looking for include files sys/types.h, linux/joystick.h 33Looking for include files sys/types.h, linux/joystick.h - not found. 34Looking for include file stdbool.h 35Looking for include file stdbool.h - found 36Looking for include file stdint.h 37Looking for include file stdint.h - found 38Looking for include file sys/io.h 39Looking for include file sys/io.h - not found. 40Looking for include file sys/stat.h 41Looking for include file sys/stat.h - found 42Looking for include file sys/time.h 43Looking for include file sys/time.h - found 44Looking for include file time.h 45Looking for include file time.h - found 46Looking for include file sys/utsname.h 47Looking for include file sys/utsname.h - not found. 48Looking for include file sys/types.h 49Looking for include file sys/types.h - found 50Looking for include file soundcard.h 51Looking for include file soundcard.h - not found. 52Looking for include file sys/soundcard.h 53Looking for include file sys/soundcard.h - not found. 54Looking for include file machine/soundcard.h 55Looking for include file machine/soundcard.h - not found. 56Looking for include file linux/soundcard.h 57Looking for include file linux/soundcard.h - not found. 58Looking for include file libkern/OSAtomic.h 59Looking for include file libkern/OSAtomic.h - not found. 60Looking for include file sys/inotify.h 61Looking for include file sys/inotify.h - not found. 62Looking for include file sys/timerfd.h 63Looking for include file sys/timerfd.h - not found. 64Looking for getexecname 65Looking for getexecname - not found 66Looking for mkstemp 67Looking for mkstemp - not found 68Looking for mmap 69Looking for mmap - not found 70Looking for mprotect 71Looking for mprotect - found 72Looking for sched_yield 73Looking for sched_yield - not found 74Looking for sysconf 75Looking for sysconf - not found 76Looking for fseeko 77Looking for fseeko - not found 78Looking for ftello 79Looking for ftello - not found 80Check size of _Bool 81Check size of _Bool - done 82Performing Test ALLEGRO_HAVE_PROCFS_ARGCV 83Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed 84Performing Test ALLEGRO_HAVE_SV_PROCFS_H 85Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed 86Performing Test ALLEGRO_HAVE_VA_COPY 87Performing Test ALLEGRO_HAVE_VA_COPY - Success 88Check if constructors are supported - yes 89Found OpenGL: opengl32 90Could NOT find DINPUT (missing: DINPUT_INCLUDE_DIR) 91CMake Error at CMakeLists.txt:657 (message): 92 Windows port requires DirectInput (not found). 93 94 95Configuring incomplete, errors occurred!

And ErrorLog

#SelectExpand
1Determining if the system is big endian passed with the following output: 2Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 3 4Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec644094606/fast" 5C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec644094606.dir\build.make CMakeFiles/cmTryCompileExec644094606.dir/build 6 7mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 8 9C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 10 11Building C object CMakeFiles/cmTryCompileExec644094606.dir/TestEndianess.c.obj 12 13C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec644094606.dir\TestEndianess.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\TestEndianess.c 14 15Linking C executable cmTryCompileExec644094606.exe 16 17C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec644094606.dir\link.txt --verbose=1 18 19C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec644094606.dir/objects.a 20 21C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec644094606.dir/objects.a @CMakeFiles\cmTryCompileExec644094606.dir\objects1.rsp 22 23C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -Wl,--whole-archive CMakeFiles\cmTryCompileExec644094606.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec644094606.exe -Wl,--out-implib,libcmTryCompileExec644094606.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 24 25mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 26 27 28TestEndianess.c: 29/* A 16 bit integer is required. */ 30typedef unsigned short cmakeint16; 31 32/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." 33 On a big endian machine the characters will be exchanged pairwise. */ 34const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; 35 36/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." 37 On a little endian machine the characters will be exchanged pairwise. */ 38const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; 39 40#ifdef __CLASSIC_C__ 41int main(argc, argv) int argc; char *argv[]; 42#else 43int main(int argc, char *argv[]) 44#endif 45{ 46 int require = 0; 47 require += info_little[argc]; 48 require += info_big[argc]; 49 (void)argv; 50 return require; 51} 52 53 54Determining if files sys/types.h;linux/joystick.h exist failed with the following output: 55Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 56 57Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3201869092/fast" 58C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3201869092.dir\build.make CMakeFiles/cmTryCompileExec3201869092.dir/build 59 60mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 61 62C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 63 64Building C object CMakeFiles/cmTryCompileExec3201869092.dir/CheckIncludeFiles.c.obj 65 66C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec3201869092.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 67 68C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:3:28: fatal error: linux/joystick.h: No such file or directory 69 70compilation terminated. 71 72mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec3201869092.dir/CheckIncludeFiles.c.obj] Error 1 73 74mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 75 76mingw32-make.exe: *** [cmTryCompileExec3201869092/fast] Error 2 77 78 79Source: 80/* */ 81#include <sys/types.h> 82#include <linux/joystick.h> 83 84 85int main(){return 0;} 86 87Determining if files sys/io.h exist failed with the following output: 88Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 89 90Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec128639142/fast" 91C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec128639142.dir\build.make CMakeFiles/cmTryCompileExec128639142.dir/build 92 93mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 94 95C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 96 97Building C object CMakeFiles/cmTryCompileExec128639142.dir/CheckIncludeFiles.c.obj 98 99C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec128639142.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 100 101C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:20: fatal error: sys/io.h: No such file or directory 102 103compilation terminated. 104 105mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec128639142.dir/CheckIncludeFiles.c.obj] Error 1 106 107mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 108 109mingw32-make.exe: *** [cmTryCompileExec128639142/fast] Error 2 110 111 112Source: 113/* */ 114#include <sys/io.h> 115 116 117int main(){return 0;} 118 119Determining if files sys/utsname.h exist failed with the following output: 120Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 121 122Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec484846771/fast" 123C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec484846771.dir\build.make CMakeFiles/cmTryCompileExec484846771.dir/build 124 125mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 126 127C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 128 129Building C object CMakeFiles/cmTryCompileExec484846771.dir/CheckIncludeFiles.c.obj 130 131C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec484846771.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 132 133C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:25: fatal error: sys/utsname.h: No such file or directory 134 135compilation terminated. 136 137mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec484846771.dir/CheckIncludeFiles.c.obj] Error 1 138 139mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 140 141mingw32-make.exe: *** [cmTryCompileExec484846771/fast] Error 2 142 143 144Source: 145/* */ 146#include <sys/utsname.h> 147 148 149int main(){return 0;} 150 151Determining if files soundcard.h exist failed with the following output: 152Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 153 154Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec2442687377/fast" 155C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec2442687377.dir\build.make CMakeFiles/cmTryCompileExec2442687377.dir/build 156 157mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 158 159C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 160 161Building C object CMakeFiles/cmTryCompileExec2442687377.dir/CheckIncludeFiles.c.obj 162 163C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec2442687377.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 164 165C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:23: fatal error: soundcard.h: No such file or directory 166 167compilation terminated. 168 169mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec2442687377.dir/CheckIncludeFiles.c.obj] Error 1 170 171mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 172 173mingw32-make.exe: *** [cmTryCompileExec2442687377/fast] Error 2 174 175 176Source: 177/* */ 178#include <soundcard.h> 179 180 181int main(){return 0;} 182 183Determining if files sys/soundcard.h exist failed with the following output: 184Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 185 186Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3957908083/fast" 187C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3957908083.dir\build.make CMakeFiles/cmTryCompileExec3957908083.dir/build 188 189mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 190 191C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 192 193Building C object CMakeFiles/cmTryCompileExec3957908083.dir/CheckIncludeFiles.c.obj 194 195C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec3957908083.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 196 197C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:27: fatal error: sys/soundcard.h: No such file or directory 198 199compilation terminated. 200 201mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec3957908083.dir/CheckIncludeFiles.c.obj] Error 1 202 203mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 204 205mingw32-make.exe: *** [cmTryCompileExec3957908083/fast] Error 2 206 207 208Source: 209/* */ 210#include <sys/soundcard.h> 211 212 213int main(){return 0;} 214 215Determining if files machine/soundcard.h exist failed with the following output: 216Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 217 218Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec1598090790/fast" 219C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec1598090790.dir\build.make CMakeFiles/cmTryCompileExec1598090790.dir/build 220 221mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 222 223C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 224 225Building C object CMakeFiles/cmTryCompileExec1598090790.dir/CheckIncludeFiles.c.obj 226 227C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec1598090790.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 228 229C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:31: fatal error: machine/soundcard.h: No such file or directory 230 231compilation terminated. 232 233mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec1598090790.dir/CheckIncludeFiles.c.obj] Error 1 234 235mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 236 237mingw32-make.exe: *** [cmTryCompileExec1598090790/fast] Error 2 238 239 240Source: 241/* */ 242#include <machine/soundcard.h> 243 244 245int main(){return 0;} 246 247Determining if files linux/soundcard.h exist failed with the following output: 248Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 249 250Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3511208484/fast" 251C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3511208484.dir\build.make CMakeFiles/cmTryCompileExec3511208484.dir/build 252 253mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 254 255C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 256 257Building C object CMakeFiles/cmTryCompileExec3511208484.dir/CheckIncludeFiles.c.obj 258 259C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec3511208484.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 260 261C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:29: fatal error: linux/soundcard.h: No such file or directory 262 263compilation terminated. 264 265mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec3511208484.dir/CheckIncludeFiles.c.obj] Error 1 266 267mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 268 269mingw32-make.exe: *** [cmTryCompileExec3511208484/fast] Error 2 270 271 272Source: 273/* */ 274#include <linux/soundcard.h> 275 276 277int main(){return 0;} 278 279Determining if files libkern/OSAtomic.h exist failed with the following output: 280Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 281 282Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec714535516/fast" 283C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec714535516.dir\build.make CMakeFiles/cmTryCompileExec714535516.dir/build 284 285mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 286 287C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 288 289Building C object CMakeFiles/cmTryCompileExec714535516.dir/CheckIncludeFiles.c.obj 290 291C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec714535516.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 292 293C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:30: fatal error: libkern/OSAtomic.h: No such file or directory 294 295compilation terminated. 296 297mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec714535516.dir/CheckIncludeFiles.c.obj] Error 1 298 299mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 300 301mingw32-make.exe: *** [cmTryCompileExec714535516/fast] Error 2 302 303 304Source: 305/* */ 306#include <libkern/OSAtomic.h> 307 308 309int main(){return 0;} 310 311Determining if files sys/inotify.h exist failed with the following output: 312Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 313 314Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3780726684/fast" 315C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3780726684.dir\build.make CMakeFiles/cmTryCompileExec3780726684.dir/build 316 317mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 318 319C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 320 321Building C object CMakeFiles/cmTryCompileExec3780726684.dir/CheckIncludeFiles.c.obj 322 323C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec3780726684.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 324 325C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:25: fatal error: sys/inotify.h: No such file or directory 326 327compilation terminated. 328 329mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec3780726684.dir/CheckIncludeFiles.c.obj] Error 1 330 331mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 332 333mingw32-make.exe: *** [cmTryCompileExec3780726684/fast] Error 2 334 335 336Source: 337/* */ 338#include <sys/inotify.h> 339 340 341int main(){return 0;} 342 343Determining if files sys/timerfd.h exist failed with the following output: 344Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 345 346Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec771909780/fast" 347C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec771909780.dir\build.make CMakeFiles/cmTryCompileExec771909780.dir/build 348 349mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 350 351C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 352 353Building C object CMakeFiles/cmTryCompileExec771909780.dir/CheckIncludeFiles.c.obj 354 355C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -o CMakeFiles\cmTryCompileExec771909780.dir\CheckIncludeFiles.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c 356 357C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:25: fatal error: sys/timerfd.h: No such file or directory 358 359compilation terminated. 360 361mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec771909780.dir/CheckIncludeFiles.c.obj] Error 1 362 363mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 364 365mingw32-make.exe: *** [cmTryCompileExec771909780/fast] Error 2 366 367 368Source: 369/* */ 370#include <sys/timerfd.h> 371 372 373int main(){return 0;} 374 375Determining if the function getexecname exists failed with the following output: 376Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 377 378Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3713281529/fast" 379C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3713281529.dir\build.make CMakeFiles/cmTryCompileExec3713281529.dir/build 380 381mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 382 383C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 384 385Building C object CMakeFiles/cmTryCompileExec3713281529.dir/CheckFunctionExists.c.obj 386 387C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=getexecname -o CMakeFiles\cmTryCompileExec3713281529.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 388 389Linking C executable cmTryCompileExec3713281529.exe 390 391C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec3713281529.dir\link.txt --verbose=1 392 393C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec3713281529.dir/objects.a 394 395C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec3713281529.dir/objects.a @CMakeFiles\cmTryCompileExec3713281529.dir\objects1.rsp 396 397C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=getexecname -Wl,--whole-archive CMakeFiles\cmTryCompileExec3713281529.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec3713281529.exe -Wl,--out-implib,libcmTryCompileExec3713281529.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 398 399CMakeFiles\cmTryCompileExec3713281529.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `getexecname' 400 401collect2: ld returned 1 exit status 402 403mingw32-make.exe[1]: *** [cmTryCompileExec3713281529.exe] Error 1 404 405mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 406 407mingw32-make.exe: *** [cmTryCompileExec3713281529/fast] Error 2 408 409 410 411Determining if the function mkstemp exists failed with the following output: 412Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 413 414Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec1513311469/fast" 415C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec1513311469.dir\build.make CMakeFiles/cmTryCompileExec1513311469.dir/build 416 417mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 418 419C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 420 421Building C object CMakeFiles/cmTryCompileExec1513311469.dir/CheckFunctionExists.c.obj 422 423C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=mkstemp -o CMakeFiles\cmTryCompileExec1513311469.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 424 425Linking C executable cmTryCompileExec1513311469.exe 426 427C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec1513311469.dir\link.txt --verbose=1 428 429C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec1513311469.dir/objects.a 430 431C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec1513311469.dir/objects.a @CMakeFiles\cmTryCompileExec1513311469.dir\objects1.rsp 432 433C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=mkstemp -Wl,--whole-archive CMakeFiles\cmTryCompileExec1513311469.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec1513311469.exe -Wl,--out-implib,libcmTryCompileExec1513311469.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 434 435CMakeFiles\cmTryCompileExec1513311469.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `mkstemp' 436 437collect2: ld returned 1 exit status 438 439mingw32-make.exe[1]: *** [cmTryCompileExec1513311469.exe] Error 1 440 441mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 442 443mingw32-make.exe: *** [cmTryCompileExec1513311469/fast] Error 2 444 445 446 447Determining if the function mmap exists failed with the following output: 448Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 449 450Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3310709170/fast" 451C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3310709170.dir\build.make CMakeFiles/cmTryCompileExec3310709170.dir/build 452 453mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 454 455C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 456 457Building C object CMakeFiles/cmTryCompileExec3310709170.dir/CheckFunctionExists.c.obj 458 459C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=mmap -o CMakeFiles\cmTryCompileExec3310709170.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 460 461Linking C executable cmTryCompileExec3310709170.exe 462 463C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec3310709170.dir\link.txt --verbose=1 464 465C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec3310709170.dir/objects.a 466 467C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec3310709170.dir/objects.a @CMakeFiles\cmTryCompileExec3310709170.dir\objects1.rsp 468 469C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=mmap -Wl,--whole-archive CMakeFiles\cmTryCompileExec3310709170.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec3310709170.exe -Wl,--out-implib,libcmTryCompileExec3310709170.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 470 471CMakeFiles\cmTryCompileExec3310709170.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `mmap' 472 473collect2: ld returned 1 exit status 474 475mingw32-make.exe[1]: *** [cmTryCompileExec3310709170.exe] Error 1 476 477mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 478 479mingw32-make.exe: *** [cmTryCompileExec3310709170/fast] Error 2 480 481 482 483Determining if the function sched_yield exists failed with the following output: 484Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 485 486Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec898867281/fast" 487C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec898867281.dir\build.make CMakeFiles/cmTryCompileExec898867281.dir/build 488 489mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 490 491C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 492 493Building C object CMakeFiles/cmTryCompileExec898867281.dir/CheckFunctionExists.c.obj 494 495C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=sched_yield -o CMakeFiles\cmTryCompileExec898867281.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 496 497Linking C executable cmTryCompileExec898867281.exe 498 499C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec898867281.dir\link.txt --verbose=1 500 501C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec898867281.dir/objects.a 502 503C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec898867281.dir/objects.a @CMakeFiles\cmTryCompileExec898867281.dir\objects1.rsp 504 505C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=sched_yield -Wl,--whole-archive CMakeFiles\cmTryCompileExec898867281.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec898867281.exe -Wl,--out-implib,libcmTryCompileExec898867281.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 506 507CMakeFiles\cmTryCompileExec898867281.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `sched_yield' 508 509collect2: ld returned 1 exit status 510 511mingw32-make.exe[1]: *** [cmTryCompileExec898867281.exe] Error 1 512 513mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 514 515mingw32-make.exe: *** [cmTryCompileExec898867281/fast] Error 2 516 517 518 519Determining if the function sysconf exists failed with the following output: 520Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 521 522Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec2147204550/fast" 523C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec2147204550.dir\build.make CMakeFiles/cmTryCompileExec2147204550.dir/build 524 525mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 526 527C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 528 529Building C object CMakeFiles/cmTryCompileExec2147204550.dir/CheckFunctionExists.c.obj 530 531C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=sysconf -o CMakeFiles\cmTryCompileExec2147204550.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 532 533Linking C executable cmTryCompileExec2147204550.exe 534 535C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec2147204550.dir\link.txt --verbose=1 536 537C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec2147204550.dir/objects.a 538 539C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec2147204550.dir/objects.a @CMakeFiles\cmTryCompileExec2147204550.dir\objects1.rsp 540 541C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=sysconf -Wl,--whole-archive CMakeFiles\cmTryCompileExec2147204550.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec2147204550.exe -Wl,--out-implib,libcmTryCompileExec2147204550.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 542 543CMakeFiles\cmTryCompileExec2147204550.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `sysconf' 544 545collect2: ld returned 1 exit status 546 547mingw32-make.exe[1]: *** [cmTryCompileExec2147204550.exe] Error 1 548 549mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 550 551mingw32-make.exe: *** [cmTryCompileExec2147204550/fast] Error 2 552 553 554 555Determining if the function fseeko exists failed with the following output: 556Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 557 558Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec559695002/fast" 559C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec559695002.dir\build.make CMakeFiles/cmTryCompileExec559695002.dir/build 560 561mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 562 563C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 564 565Building C object CMakeFiles/cmTryCompileExec559695002.dir/CheckFunctionExists.c.obj 566 567C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=fseeko -o CMakeFiles\cmTryCompileExec559695002.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 568 569Linking C executable cmTryCompileExec559695002.exe 570 571C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec559695002.dir\link.txt --verbose=1 572 573C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec559695002.dir/objects.a 574 575C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec559695002.dir/objects.a @CMakeFiles\cmTryCompileExec559695002.dir\objects1.rsp 576 577C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=fseeko -Wl,--whole-archive CMakeFiles\cmTryCompileExec559695002.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec559695002.exe -Wl,--out-implib,libcmTryCompileExec559695002.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 578 579CMakeFiles\cmTryCompileExec559695002.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `fseeko' 580 581collect2: ld returned 1 exit status 582 583mingw32-make.exe[1]: *** [cmTryCompileExec559695002.exe] Error 1 584 585mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 586 587mingw32-make.exe: *** [cmTryCompileExec559695002/fast] Error 2 588 589 590 591Determining if the function ftello exists failed with the following output: 592Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 593 594Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3725480310/fast" 595C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3725480310.dir\build.make CMakeFiles/cmTryCompileExec3725480310.dir/build 596 597mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 598 599C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 600 601Building C object CMakeFiles/cmTryCompileExec3725480310.dir/CheckFunctionExists.c.obj 602 603C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=ftello -o CMakeFiles\cmTryCompileExec3725480310.dir\CheckFunctionExists.c.obj -c C:\CMake\share\cmake-2.8\Modules\CheckFunctionExists.c 604 605Linking C executable cmTryCompileExec3725480310.exe 606 607C:\CMake\bin\cmake.exe -E cmake_link_script CMakeFiles\cmTryCompileExec3725480310.dir\link.txt --verbose=1 608 609C:\CMake\bin\cmake.exe -E remove -f CMakeFiles\cmTryCompileExec3725480310.dir/objects.a 610 611C:\MinGW32\bin\ar.exe cr CMakeFiles\cmTryCompileExec3725480310.dir/objects.a @CMakeFiles\cmTryCompileExec3725480310.dir\objects1.rsp 612 613C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DCHECK_FUNCTION_EXISTS=ftello -Wl,--whole-archive CMakeFiles\cmTryCompileExec3725480310.dir/objects.a -Wl,--no-whole-archive -o cmTryCompileExec3725480310.exe -Wl,--out-implib,libcmTryCompileExec3725480310.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 614 615CMakeFiles\cmTryCompileExec3725480310.dir/objects.a(CheckFunctionExists.c.obj):CheckFunctionExists.c:(.text+0xc): undefined reference to `ftello' 616 617collect2: ld returned 1 exit status 618 619mingw32-make.exe[1]: *** [cmTryCompileExec3725480310.exe] Error 1 620 621mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 622 623mingw32-make.exe: *** [cmTryCompileExec3725480310/fast] Error 2 624 625 626 627Performing C SOURCE FILE Test ALLEGRO_HAVE_PROCFS_ARGCV failed with the following output: 628Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 629 630Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec2508636350/fast" 631C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec2508636350.dir\build.make CMakeFiles/cmTryCompileExec2508636350.dir/build 632 633mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 634 635C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 636 637Building C object CMakeFiles/cmTryCompileExec2508636350.dir/src.c.obj 638 639C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DALLEGRO_HAVE_PROCFS_ARGCV -o CMakeFiles\cmTryCompileExec2508636350.dir\src.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\src.c 640 641C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\src.c:2:28: fatal error: sys/procfs.h: No such file or directory 642 643compilation terminated. 644 645mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec2508636350.dir/src.c.obj] Error 1 646 647mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 648 649mingw32-make.exe: *** [cmTryCompileExec2508636350/fast] Error 2 650 651 652Source file was: 653 654 #include <sys/procfs.h> 655 int main(void) { 656 struct prpsinfo psinfo; 657 psinfo.pr_argc = 0; 658 return 0; 659 } 660Performing C SOURCE FILE Test ALLEGRO_HAVE_SV_PROCFS_H failed with the following output: 661Change Dir: C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp 662 663Run Build Command:C:/MinGW32/bin/mingw32-make.exe "cmTryCompileExec3525701433/fast" 664C:/MinGW32/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec3525701433.dir\build.make CMakeFiles/cmTryCompileExec3525701433.dir/build 665 666mingw32-make.exe[1]: Entering directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 667 668C:\CMake\bin\cmake.exe -E cmake_progress_report C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\CMakeFiles 1 669 670Building C object CMakeFiles/cmTryCompileExec3525701433.dir/src.c.obj 671 672C:\MinGW32\bin\gcc.exe -msse -W -Wall -Wdeclaration-after-statement -DALLEGRO_HAVE_SV_PROCFS_H -o CMakeFiles\cmTryCompileExec3525701433.dir\src.c.obj -c C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\src.c 673 674C:\Users\CodeStepper\Desktop\CMakeFiles\CMakeTmp\src.c:2:28: fatal error: sys/procfs.h: No such file or directory 675 676compilation terminated. 677 678mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec3525701433.dir/src.c.obj] Error 1 679 680mingw32-make.exe[1]: Leaving directory `C:/Users/CodeStepper/Desktop/CMakeFiles/CMakeTmp' 681 682mingw32-make.exe: *** [cmTryCompileExec3525701433/fast] Error 2 683 684 685Source file was: 686 687 #include <sys/procfs.h> 688 #include <sys/ioctl.h> 689 int main(void) { 690 struct prpsinfo psinfo; 691 ioctl(0, PIOCPSINFO, &psinfo); 692 return 0; 693 }

Neil Roy
Member #2,229
April 2002
avatar

Wow, you seem to be missing quite a few headers there. Is your include directory okay?

---
“I love you too.” - last words of Wanda Roy

CodeStepper
Member #14,495
August 2012
avatar

Yes
When I try to compile this with Visual Studio Compiler, Cmake flush the same errors ( of course more headers is missing )

And... I worry a little bit about this, that DIRECT_INPUT is missing o.O
I have already installed the latest DirectX drivers

Elias
Member #358
May 2000

You need the DirectX SDK, not just the drivers.

--
"Either help out or stop whining" - Evert

CodeStepper
Member #14,495
August 2012
avatar

Thank you Elias
But now ( in this moment i'm doing this in Visual Studio 2008 ) i have missing headers problem:

#SelectExpand
1Check for working C compiler using: Visual Studio 9 2008 2Check for working C compiler using: Visual Studio 9 2008 -- works 3Detecting C compiler ABI info 4Detecting C compiler ABI info - done 5Check for working CXX compiler using: Visual Studio 9 2008 6Check for working CXX compiler using: Visual Studio 9 2008 -- works 7Detecting CXX compiler ABI info 8Detecting CXX compiler ABI info - done 9Using VCINSTALLDIR: C:/Program Files/Microsoft Visual Studio 9.0/VC 10Allowing MSVC to use SSE instructions 11Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 12Check if the system is big endian 13Searching 16 bit integer 14Looking for sys/types.h 15Looking for sys/types.h - found 16Looking for stdint.h 17Looking for stdint.h - not found 18Looking for stddef.h 19Looking for stddef.h - found 20Check size of unsigned short 21Check size of unsigned short - done 22Using unsigned short 23Check if the system is big endian - little endian 24Looking for include file dirent.h 25Looking for include file dirent.h - found 26Looking for include file inttypes.h 27Looking for include file inttypes.h - not found. 28Looking for include files sys/types.h, linux/joystick.h 29Looking for include files sys/types.h, linux/joystick.h - not found. 30Looking for include file stdbool.h 31Looking for include file stdbool.h - not found. 32Looking for include file stdint.h 33Looking for include file stdint.h - not found. 34Looking for include file sys/io.h 35Looking for include file sys/io.h - not found. 36Looking for include file sys/stat.h 37Looking for include file sys/stat.h - found 38Looking for include file sys/time.h 39Looking for include file sys/time.h - not found. 40Looking for include file time.h 41Looking for include file time.h - found 42Looking for include file sys/utsname.h 43Looking for include file sys/utsname.h - not found. 44Looking for include file sys/types.h 45Looking for include file sys/types.h - found 46Looking for include file soundcard.h 47Looking for include file soundcard.h - not found. 48Looking for include file sys/soundcard.h 49Looking for include file sys/soundcard.h - not found. 50Looking for include file machine/soundcard.h 51Looking for include file machine/soundcard.h - not found. 52Looking for include file linux/soundcard.h 53Looking for include file linux/soundcard.h - not found. 54Looking for include file libkern/OSAtomic.h 55Looking for include file libkern/OSAtomic.h - not found. 56Looking for include file sys/inotify.h 57Looking for include file sys/inotify.h - not found. 58Looking for include file sys/timerfd.h 59Looking for include file sys/timerfd.h - not found. 60Looking for getexecname 61Looking for getexecname - not found 62Looking for mkstemp 63Looking for mkstemp - not found 64Looking for mmap 65Looking for mmap - not found 66Looking for mprotect 67Looking for mprotect - not found 68Looking for sched_yield 69Looking for sched_yield - not found 70Looking for sysconf 71Looking for sysconf - not found 72Looking for fseeko 73Looking for fseeko - not found 74Looking for ftello 75Looking for ftello - not found 76Check size of _Bool 77Check size of _Bool - failed 78Performing Test ALLEGRO_HAVE_PROCFS_ARGCV 79Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed 80Performing Test ALLEGRO_HAVE_SV_PROCFS_H 81Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed 82Performing Test ALLEGRO_HAVE_VA_COPY 83Performing Test ALLEGRO_HAVE_VA_COPY - Failed 84Check if constructors are supported - no 85Found OpenGL: opengl32 86Found DINPUT: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 87Found D3D9: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 88Found D3DX9: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 89Found GDIPLUS: C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include 90Performing Test SUPPORT_GDIPLUS 91Performing Test SUPPORT_GDIPLUS - Success 92Found DSOUND: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 93Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 94Could NOT find FLAC (missing: FLAC_INCLUDE_DIR OGG_LIBRARY FLAC_LIBRARY) 95WARNING: libFLAC not found or compile test failed, disabling support. 96Could NOT find DUMB (missing: DUMB_INCLUDE_DIR DUMB_LIBRARY) 97WARNING: libdumb not found or compile test failed, disabling support. <http://dumb.sourceforge.net/> 98Could NOT find OGG (missing: OGG_INCLUDE_DIR OGG_LIBRARY) 99WARNING: libvorbis not found or compile test failed, disabling support. 100Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) 101WARNING: FreeType not found, disabling support. 102Could NOT find PhysFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) 103Could NOT find PHYSFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) 104Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 105Could NOT find OGG (missing: OGG_INCLUDE_DIR OGG_LIBRARY) 106Could NOT find OGG (missing: OGG_INCLUDE_DIR OGG_LIBRARY) 107WARNING: allegro_video wanted but no supported backend found 108Not building skater demo 109Not building ex_color 110Not building ex_depth_mask 111Not building ex_physfs 112Not building ex_video 113Not building ex_font_justify 114Not building ex_logo 115Not building ex_projection 116Not building ex_ttf 117Not building ex_audio_chain 118Not building ex_synth 119Not building tests due to missing library. Have: allegro allegro_main allegro_image allegro_color allegro_font allegro_primitives 120Configuring done

In a moment I check this in CodeBlocks

/// EDIT:

#SelectExpand
1The C compiler identification is GNU 4.6.1 2The CXX compiler identification is GNU 4.6.1 3Check for working C compiler: C:/MinGW32/bin/gcc.exe 4Check for working C compiler: C:/MinGW32/bin/gcc.exe -- works 5Detecting C compiler ABI info 6Detecting C compiler ABI info - done 7Check for working CXX compiler: C:/MinGW32/bin/g++.exe 8Check for working CXX compiler: C:/MinGW32/bin/g++.exe -- works 9Detecting CXX compiler ABI info 10Detecting CXX compiler ABI info - done 11Guessed MinGW directory: C:/MinGW32 12Performing Test HAVE_DM_POSITION 13Performing Test HAVE_DM_POSITION - Success 14Allowing GCC to use SSE instructions 15Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 16Check if the system is big endian 17Searching 16 bit integer 18Looking for sys/types.h 19Looking for sys/types.h - found 20Looking for stdint.h 21Looking for stdint.h - found 22Looking for stddef.h 23Looking for stddef.h - found 24Check size of unsigned short 25Check size of unsigned short - done 26Using unsigned short 27Check if the system is big endian - little endian 28Looking for include file dirent.h 29Looking for include file dirent.h - found 30Looking for include file inttypes.h 31Looking for include file inttypes.h - found 32Looking for include files sys/types.h, linux/joystick.h 33Looking for include files sys/types.h, linux/joystick.h - not found. 34Looking for include file stdbool.h 35Looking for include file stdbool.h - found 36Looking for include file stdint.h 37Looking for include file stdint.h - found 38Looking for include file sys/io.h 39Looking for include file sys/io.h - not found. 40Looking for include file sys/stat.h 41Looking for include file sys/stat.h - found 42Looking for include file sys/time.h 43Looking for include file sys/time.h - found 44Looking for include file time.h 45Looking for include file time.h - found 46Looking for include file sys/utsname.h 47Looking for include file sys/utsname.h - not found. 48Looking for include file sys/types.h 49Looking for include file sys/types.h - found 50Looking for include file soundcard.h 51Looking for include file soundcard.h - not found. 52Looking for include file sys/soundcard.h 53Looking for include file sys/soundcard.h - not found. 54Looking for include file machine/soundcard.h 55Looking for include file machine/soundcard.h - not found. 56Looking for include file linux/soundcard.h 57Looking for include file linux/soundcard.h - not found. 58Looking for include file libkern/OSAtomic.h 59Looking for include file libkern/OSAtomic.h - not found. 60Looking for include file sys/inotify.h 61Looking for include file sys/inotify.h - not found. 62Looking for include file sys/timerfd.h 63Looking for include file sys/timerfd.h - not found. 64Looking for getexecname 65Looking for getexecname - not found 66Looking for mkstemp 67Looking for mkstemp - not found 68Looking for mmap 69Looking for mmap - not found 70Looking for mprotect 71Looking for mprotect - found 72Looking for sched_yield 73Looking for sched_yield - not found 74Looking for sysconf 75Looking for sysconf - not found 76Looking for fseeko 77Looking for fseeko - not found 78Looking for ftello 79Looking for ftello - not found 80Check size of _Bool 81Check size of _Bool - done 82Performing Test ALLEGRO_HAVE_PROCFS_ARGCV 83Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed 84Performing Test ALLEGRO_HAVE_SV_PROCFS_H 85Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed 86Performing Test ALLEGRO_HAVE_VA_COPY 87Performing Test ALLEGRO_HAVE_VA_COPY - Success 88Check if constructors are supported - yes 89Found OpenGL: opengl32 90Found DINPUT: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 91Found D3D9: C:/MinGW32/include 92Found D3DX9: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 93Found GDIPLUS: C:/MinGW32/include 94Performing Test SUPPORT_GDIPLUS 95Performing Test SUPPORT_GDIPLUS - Success 96Found DSOUND: C:/Program Files/Microsoft DirectX SDK (June 2010)/Include 97Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 98Could NOT find FLAC (missing: FLAC_INCLUDE_DIR OGG_LIBRARY FLAC_LIBRARY) 99WARNING: libFLAC not found or compile test failed, disabling support. 100Could NOT find DUMB (missing: DUMB_INCLUDE_DIR DUMB_LIBRARY) 101WARNING: libdumb not found or compile test failed, disabling support. <http://dumb.sourceforge.net/> 102Could NOT find OGG (missing: OGG_INCLUDE_DIR OGG_LIBRARY) 103WARNING: libvorbis not found or compile test failed, disabling support. 104Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) 105WARNING: FreeType not found, disabling support. 106Could NOT find PhysFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) 107Could NOT find PHYSFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) 108Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 109Could NOT find OGG (missing: OGG_INCLUDE_DIR OGG_LIBRARY) 110Could NOT find OGG (missing: OGG_INCLUDE_DIR OGG_LIBRARY) 111WARNING: allegro_video wanted but no supported backend found 112Not building skater demo 113Not building ex_color 114Not building ex_depth_mask 115Not building ex_physfs 116Not building ex_video 117Not building ex_font_justify 118Not building ex_logo 119Not building ex_projection 120Not building ex_ttf 121Not building ex_audio_chain 122Not building ex_synth 123Not building tests due to missing library. Have: allegro allegro_main allegro_image allegro_color allegro_font allegro_primitives 124Configuring done

Where can I find this libraries?

Elias
Member #358
May 2000

They are here, get the .zip for your compiler:

http://www.allegro.cc/forums/thread/610299/955735#target

Then make a directory called "dep" in your build folder and unzip there and re-run cmake. It should find them (as long as they use standard names, I'm not sure they do though).

--
"Either help out or stop whining" - Evert

Neil Roy
Member #2,229
April 2002
avatar

How do you change cmake so that it recognizes the different names? Or should I simply rename them to things like libFLAC.a (problem is there is a debug version as well, not exactly certain what to name them so that cmake can find them).

I just ran cmake and it didn't find them. They really should improve this aspect in my opinion.

---
“I love you too.” - last words of Wanda Roy

Elias
Member #358
May 2000

Specify the paths inside cmake-gui. For example with freetype, first check the advanced box, then type free type in the search box. There will be 3 paths to fill in. First to .../include second to .../include/free type and last to .../lib/free type.lib. ... is where you unzipped it to.

--
"Either help out or stop whining" - Evert

CodeStepper
Member #14,495
August 2012
avatar

It's not working... the same error...

Neil Roy
Member #2,229
April 2002
avatar

Ah, okay. I never used the GUI version. I always use the command line, I just made two batch files so I can easily make my debug and release versions. ;)

I'll check that out, thanks.

Edit: I like the GUI, very handy. Still couldn't compile 5.1.3 though. Got the following error (there were more, but just listing the first one)

[ 16%] Building CXX object addons/audio/CMakeFiles/allegro_audio.dir/dsound.cpp.
obj
C:\Develop\allegro\addons\audio\dsound.cpp:42:38: error: expected primary-expres
sion before ';' token

I think I'll stick to my precompiled 5.0.7 for the time being, I hate trying to figure this stuff out rather than actually working on my own code.

---
“I love you too.” - last words of Wanda Roy

Go to: