Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. cat CMakeFiles/CMakeError.log
  2. Determining if the include file sys/types.h exists failed with the following output:
  3.  
  4.  
  5. Determining if the include file stdint.h exists failed with the following output:
  6.  
  7.  
  8. Determining if the include file stddef.h exists failed with the following output:
  9.  
  10.  
  11. Determining size of unsigned short failed with the following output:
  12.  
  13. /root/src/opencv/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c:
  14.  
  15.  
  16. #undef KEY
  17. #if defined(__i386)
  18. # define KEY '_','_','i','3','8','6'
  19. #elif defined(__x86_64)
  20. # define KEY '_','_','x','8','6','_','6','4'
  21. #elif defined(__ppc__)
  22. # define KEY '_','_','p','p','c','_','_'
  23. #elif defined(__ppc64__)
  24. # define KEY '_','_','p','p','c','6','4','_','_'
  25. #endif
  26.  
  27. #define SIZE (sizeof(unsigned short))
  28. char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  29. ('0' + ((SIZE / 10000)%10)),
  30. ('0' + ((SIZE / 1000)%10)),
  31. ('0' + ((SIZE / 100)%10)),
  32. ('0' + ((SIZE / 10)%10)),
  33. ('0' + (SIZE % 10)),
  34. ']',
  35. #ifdef KEY
  36. ' ','k','e','y','[', KEY, ']',
  37. #endif
  38. '\0'};
  39.  
  40. #ifdef __CLASSIC_C__
  41. int main(argc, argv) int argc; char *argv[];
  42. #else
  43. int main(int argc, char *argv[])
  44. #endif
  45. {
  46. int require = 0;
  47. require += info_size[argc];
  48. (void)argv;
  49. return require;
  50. }
  51.  
  52.  
  53. Determining size of unsigned int failed with the following output:
  54.  
  55. /root/src/opencv/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.c:
  56.  
  57.  
  58. #undef KEY
  59. #if defined(__i386)
  60. # define KEY '_','_','i','3','8','6'
  61. #elif defined(__x86_64)
  62. # define KEY '_','_','x','8','6','_','6','4'
  63. #elif defined(__ppc__)
  64. # define KEY '_','_','p','p','c','_','_'
  65. #elif defined(__ppc64__)
  66. # define KEY '_','_','p','p','c','6','4','_','_'
  67. #endif
  68.  
  69. #define SIZE (sizeof(unsigned int))
  70. char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  71. ('0' + ((SIZE / 10000)%10)),
  72. ('0' + ((SIZE / 1000)%10)),
  73. ('0' + ((SIZE / 100)%10)),
  74. ('0' + ((SIZE / 10)%10)),
  75. ('0' + (SIZE % 10)),
  76. ']',
  77. #ifdef KEY
  78. ' ','k','e','y','[', KEY, ']',
  79. #endif
  80. '\0'};
  81.  
  82. #ifdef __CLASSIC_C__
  83. int main(argc, argv) int argc; char *argv[];
  84. #else
  85. int main(int argc, char *argv[])
  86. #endif
  87. {
  88. int require = 0;
  89. require += info_size[argc];
  90. (void)argv;
  91. return require;
  92. }
  93.  
  94.  
  95. Determining size of unsigned long failed with the following output:
  96.  
  97. /root/src/opencv/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c:
  98.  
  99.  
  100. #undef KEY
  101. #if defined(__i386)
  102. # define KEY '_','_','i','3','8','6'
  103. #elif defined(__x86_64)
  104. # define KEY '_','_','x','8','6','_','6','4'
  105. #elif defined(__ppc__)
  106. # define KEY '_','_','p','p','c','_','_'
  107. #elif defined(__ppc64__)
  108. # define KEY '_','_','p','p','c','6','4','_','_'
  109. #endif
  110.  
  111. #define SIZE (sizeof(unsigned long))
  112. char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  113. ('0' + ((SIZE / 10000)%10)),
  114. ('0' + ((SIZE / 1000)%10)),
  115. ('0' + ((SIZE / 100)%10)),
  116. ('0' + ((SIZE / 10)%10)),
  117. ('0' + (SIZE % 10)),
  118. ']',
  119. #ifdef KEY
  120. ' ','k','e','y','[', KEY, ']',
  121. #endif
  122. '\0'};
  123.  
  124. #ifdef __CLASSIC_C__
  125. int main(argc, argv) int argc; char *argv[];
  126. #else
  127. int main(int argc, char *argv[])
  128. #endif
  129. {
  130. int require = 0;
  131. require += info_size[argc];
  132. (void)argv;
  133. return require;
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement