Guest User

Untitled

a guest
Sep 2nd, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 31.38 KB | None | 0 0
  1. ➜  omicron git:(master) cmake .
  2. -- The C compiler identification is AppleClang 9.1.0.9020039
  3. -- The CXX compiler identification is AppleClang 9.1.0.9020039
  4. -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  5. -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
  6. -- Detecting C compiler ABI info
  7. -- Detecting C compiler ABI info - done
  8. -- Detecting C compile features
  9. -- Detecting C compile features - done
  10. -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
  11. -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
  12. -- Detecting CXX compiler ABI info
  13. -- Detecting CXX compiler ABI info - done
  14. -- Detecting CXX compile features
  15. -- Detecting CXX compile features - done
  16. CMake Deprecation Warning at deps/glfw/CMakeLists.txt:10 (cmake_policy):
  17.   The OLD behavior for policy CMP0042 will be removed from a future version
  18.   of CMake.
  19.  
  20.   The cmake-policies(7) manual explains that the OLD behaviors of all
  21.   policies are deprecated and that a policy should be set to OLD only under
  22.   specific short-term circumstances.  Projects should be ported to the NEW
  23.   behavior and not rely on setting a policy to OLD.
  24.  
  25.  
  26. -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework  
  27. -- Looking for pthread.h
  28. -- Looking for pthread.h - found
  29. -- Looking for pthread_create
  30. -- Looking for pthread_create - found
  31. -- Found Threads: TRUE  
  32. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  33. -- Using Cocoa for window creation
  34. -- Using NSGL for context creation
  35. -- Building GLFW only for the native architecture
  36. -- Found CURL: /usr/lib/libcurl.dylib (found version "7.54.0")
  37. -- Configuring done
  38. -- Generating done
  39. -- Build files have been written to: /Users/user/code/omicron
  40. ➜  omicron git:(master)make
  41. Scanning dependencies of target glfw
  42. [  1%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/context.c.o
  43. [  2%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/init.c.o
  44. [  3%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/input.c.o
  45. [  4%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/monitor.c.o
  46. [  5%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/window.c.o
  47. [  6%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/cocoa_init.m.o
  48. [  7%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/cocoa_monitor.m.o
  49. /Users/user/code/omicron/deps/glfw/src/cocoa_monitor.m:52:42: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
  50.     info = IODisplayCreateInfoDictionary(CGDisplayIOServicePort(displayID),
  51.                                          ^
  52. /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:372:24: note: 'CGDisplayIOServicePort' has been explicitly marked deprecated here
  53. CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
  54.                        ^
  55. /Users/user/code/omicron/deps/glfw/src/cocoa_monitor.m:91:26: warning: 'CGDisplayModeCopyPixelEncoding' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations]
  56.     CFStringRef format = CGDisplayModeCopyPixelEncoding(mode);
  57.                          ^
  58. /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:176:34: note: 'CGDisplayModeCopyPixelEncoding' has been explicitly marked deprecated here
  59. CG_EXTERN CFStringRef __nullable CGDisplayModeCopyPixelEncoding(
  60.                                  ^
  61. /Users/user/code/omicron/deps/glfw/src/cocoa_monitor.m:120:26: warning: 'CGDisplayModeCopyPixelEncoding' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations]
  62.     CFStringRef format = CGDisplayModeCopyPixelEncoding(mode);
  63.                          ^
  64. /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:176:34: note: 'CGDisplayModeCopyPixelEncoding' has been explicitly marked deprecated here
  65. CG_EXTERN CFStringRef __nullable CGDisplayModeCopyPixelEncoding(
  66.                                  ^
  67. 3 warnings generated.
  68. [  8%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/cocoa_window.m.o
  69. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:135:17: warning: 'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  70.     if (flags & NSShiftKeyMask)
  71.                 ^~~~~~~~~~~~~~
  72.                 NSEventModifierFlagShift
  73. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been explicitly marked deprecated here
  74. static const NSEventModifierFlags NSShiftKeyMask              NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagShift", 10.0, 10.12) = NSEventModifierFlagShift;
  75.                                   ^
  76. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:137:17: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  77.     if (flags & NSControlKeyMask)
  78.                 ^~~~~~~~~~~~~~~~
  79.                 NSEventModifierFlagControl
  80. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here
  81. static const NSEventModifierFlags NSControlKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagControl", 10.0, 10.12) = NSEventModifierFlagControl;
  82.                                   ^
  83. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:139:17: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  84.     if (flags & NSAlternateKeyMask)
  85.                 ^~~~~~~~~~~~~~~~~~
  86.                 NSEventModifierFlagOption
  87. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been explicitly marked deprecated here
  88. static const NSEventModifierFlags NSAlternateKeyMask          NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagOption", 10.0, 10.12) = NSEventModifierFlagOption;
  89.                                   ^
  90. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:141:17: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  91.     if (flags & NSCommandKeyMask)
  92.                 ^~~~~~~~~~~~~~~~
  93.                 NSEventModifierFlagCommand
  94. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here
  95. static const NSEventModifierFlags NSCommandKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagCommand", 10.0, 10.12) = NSEventModifierFlagCommand;
  96.                                   ^
  97. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:528:33: warning: 'NSDeviceIndependentModifierFlagsMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  98.         [event modifierFlags] & NSDeviceIndependentModifierFlagsMask;
  99.                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100.                                 NSEventModifierFlagDeviceIndependentFlagsMask
  101. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:189:35: note: 'NSDeviceIndependentModifierFlagsMask' has been explicitly marked deprecated here
  102. static const NSEventModifierFlags NSDeviceIndependentModifierFlagsMask    NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagDeviceIndependentFlagsMask", 10.0, 10.12) = NSEventModifierFlagDeviceIndependentFlagsMask;
  103.                                   ^
  104. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:671:25: warning: 'NSKeyUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  105.     if ([event type] == NSKeyUp && ([event modifierFlags] & NSCommandKeyMask))
  106.                         ^~~~~~~
  107.                         NSEventTypeKeyUp
  108. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:26: note: 'NSKeyUp' has been explicitly marked deprecated here
  109. static const NSEventType NSKeyUp                NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeKeyUp", 10.0, 10.12) = NSEventTypeKeyUp;
  110.                          ^
  111. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:671:61: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  112.     if ([event type] == NSKeyUp && ([event modifierFlags] & NSCommandKeyMask))
  113.                                                             ^~~~~~~~~~~~~~~~
  114.                                                             NSEventModifierFlagCommand
  115. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here
  116. static const NSEventModifierFlags NSCommandKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagCommand", 10.0, 10.12) = NSEventModifierFlagCommand;
  117.                                   ^
  118. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:750:38: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  119.         setKeyEquivalentModifierMask:NSAlternateKeyMask | NSCommandKeyMask];
  120.                                      ^~~~~~~~~~~~~~~~~~
  121.                                      NSEventModifierFlagOption
  122. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been explicitly marked deprecated here
  123. static const NSEventModifierFlags NSAlternateKeyMask          NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagOption", 10.0, 10.12) = NSEventModifierFlagOption;
  124.                                   ^
  125. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:750:59: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  126.         setKeyEquivalentModifierMask:NSAlternateKeyMask | NSCommandKeyMask];
  127.                                                           ^~~~~~~~~~~~~~~~
  128.                                                           NSEventModifierFlagCommand
  129. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here
  130. static const NSEventModifierFlags NSCommandKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagCommand", 10.0, 10.12) = NSEventModifierFlagCommand;
  131.                                   ^
  132. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:786:42: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  133.             setKeyEquivalentModifierMask:NSControlKeyMask | NSCommandKeyMask];
  134.                                          ^~~~~~~~~~~~~~~~
  135.                                          NSEventModifierFlagControl
  136. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here
  137. static const NSEventModifierFlags NSControlKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagControl", 10.0, 10.12) = NSEventModifierFlagControl;
  138.                                   ^
  139. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:786:61: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  140.             setKeyEquivalentModifierMask:NSControlKeyMask | NSCommandKeyMask];
  141.                                                             ^~~~~~~~~~~~~~~~
  142.                                                             NSEventModifierFlagCommand
  143. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here
  144. static const NSEventModifierFlags NSCommandKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagCommand", 10.0, 10.12) = NSEventModifierFlagCommand;
  145.                                   ^
  146. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:850:21: warning: 'NSBorderlessWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  147.         styleMask = NSBorderlessWindowMask;
  148.                     ^~~~~~~~~~~~~~~~~~~~~~
  149.                     NSWindowStyleMaskBorderless
  150. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:954:32: note: 'NSBorderlessWindowMask' has been explicitly marked deprecated here
  151. static const NSWindowStyleMask NSBorderlessWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskBorderless", 10.0, 10.12) = NSWindowStyleMaskBorderless;
  152.                                ^
  153. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:853:21: warning: 'NSTitledWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  154.         styleMask = NSTitledWindowMask | NSClosableWindowMask |
  155.                     ^~~~~~~~~~~~~~~~~~
  156.                     NSWindowStyleMaskTitled
  157. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32: note: 'NSTitledWindowMask' has been explicitly marked deprecated here
  158. static const NSWindowStyleMask NSTitledWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskTitled", 10.0, 10.12) = NSWindowStyleMaskTitled;
  159.                                ^
  160. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:853:42: warning: 'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  161.         styleMask = NSTitledWindowMask | NSClosableWindowMask |
  162.                                          ^~~~~~~~~~~~~~~~~~~~
  163.                                          NSWindowStyleMaskClosable
  164. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:32: note: 'NSClosableWindowMask' has been explicitly marked deprecated here
  165. static const NSWindowStyleMask NSClosableWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskClosable", 10.0, 10.12) = NSWindowStyleMaskClosable;
  166.                                ^
  167. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:854:21: warning: 'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  168.                     NSMiniaturizableWindowMask;
  169.                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  170.                     NSWindowStyleMaskMiniaturizable
  171. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:957:32: note: 'NSMiniaturizableWindowMask' has been explicitly marked deprecated here
  172. static const NSWindowStyleMask NSMiniaturizableWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskMiniaturizable", 10.0, 10.12) = NSWindowStyleMaskMiniaturizable;
  173.                                ^
  174. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:857:26: warning: 'NSResizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  175.             styleMask |= NSResizableWindowMask;
  176.                          ^~~~~~~~~~~~~~~~~~~~~
  177.                          NSWindowStyleMaskResizable
  178. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:958:32: note: 'NSResizableWindowMask' has been explicitly marked deprecated here
  179. static const NSWindowStyleMask NSResizableWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskResizable", 10.0, 10.12) = NSWindowStyleMaskResizable;
  180.                                ^
  181. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:1102:55: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  182.         NSEvent* event = [NSApp nextEventMatchingMask:NSAnyEventMask
  183.                                                       ^~~~~~~~~~~~~~
  184.                                                       NSEventMaskAny
  185. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
  186. static const NSEventMask NSAnyEventMask                 NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventMaskAny", 10.0, 10.12) = NSUIntegerMax;
  187.                          ^
  188. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:1121:51: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  189.     NSEvent *event = [NSApp nextEventMatchingMask:NSAnyEventMask
  190.                                                   ^~~~~~~~~~~~~~
  191.                                                   NSEventMaskAny
  192. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
  193. static const NSEventMask NSAnyEventMask                 NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventMaskAny", 10.0, 10.12) = NSUIntegerMax;
  194.                          ^
  195. /Users/user/code/omicron/deps/glfw/src/cocoa_window.m:1133:50: warning: 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  196.     NSEvent* event = [NSEvent otherEventWithType:NSApplicationDefined
  197.                                                  ^~~~~~~~~~~~~~~~~~~~
  198.                                                  NSEventTypeApplicationDefined
  199. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:79:26: note: 'NSApplicationDefined' has been explicitly marked deprecated here
  200. static const NSEventType NSApplicationDefined   NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeApplicationDefined", 10.0, 10.12) = NSEventTypeApplicationDefined;
  201.                          ^
  202. 19 warnings generated.
  203. [  9%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/iokit_joystick.m.o
  204. [ 10%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/mach_time.c.o
  205. [ 11%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/posix_tls.c.o
  206. [ 12%] Building C object deps/glfw/src/CMakeFiles/glfw.dir/nsgl_context.m.o
  207. /Users/user/code/omicron/deps/glfw/src/nsgl_context.m:184:18: warning: 'NSOpenGLPFAStereo' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  208.         ADD_ATTR(NSOpenGLPFAStereo);
  209.                  ^
  210. /System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:78:2: note: 'NSOpenGLPFAStereo' has been explicitly marked deprecated here
  211.         NSOpenGLPFAStereo NS_ENUM_DEPRECATED_MAC(10_0, 10_12)        =   6,
  212.         ^
  213. 1 warning generated.
  214. [ 13%] Linking C static library libglfw3.a
  215. [ 13%] Built target glfw
  216. Scanning dependencies of target omicron
  217. [ 14%] Building C object CMakeFiles/omicron.dir/src/auth.c.o
  218. [ 15%] Building C object CMakeFiles/omicron.dir/src/client.c.o
  219. [ 16%] Building C object CMakeFiles/omicron.dir/src/cube.c.o
  220. [ 17%] Building C object CMakeFiles/omicron.dir/src/db.c.o
  221. [ 18%] Building C object CMakeFiles/omicron.dir/src/inventory.c.o
  222. [ 19%] Building C object CMakeFiles/omicron.dir/src/item.c.o
  223. [ 20%] Building C object CMakeFiles/omicron.dir/src/main.c.o
  224. In file included from /Users/user/code/omicron/src/main.c:24:
  225. /Users/user/code/omicron/src/parser.h:1:9: warning: '_parser_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
  226. #ifndef _parser_h_
  227.         ^~~~~~~~~~
  228. /Users/user/code/omicron/src/parser.h:2:9: note: '_parser_h' is defined here; did you mean '_parser_h_'?
  229. #define _parser_h
  230.         ^~~~~~~~~
  231.         _parser_h_
  232. /Users/user/code/omicron/src/main.c:2072:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
  233.                 if (!page == 0) {
  234.                     ^     ~~
  235. /Users/user/code/omicron/src/main.c:2072:7: note: add parentheses after the '!' to evaluate the comparison first
  236.                 if (!page == 0) {
  237.                     ^
  238.                      (        )
  239. /Users/user/code/omicron/src/main.c:2072:7: note: add parentheses around left hand side expression to silence this warning
  240.                 if (!page == 0) {
  241.                     ^
  242.                     (    )
  243. /Users/user/code/omicron/src/main.c:2173:9: warning: expression result unused [-Wunused-value]
  244.         compute_chunk;
  245.         ^~~~~~~~~~~~~
  246. 3 warnings generated.
  247. [ 21%] Building C object CMakeFiles/omicron.dir/src/map.c.o
  248. [ 22%] Building C object CMakeFiles/omicron.dir/src/matrix.c.o
  249. [ 23%] Building C object CMakeFiles/omicron.dir/src/parser.c.o
  250. In file included from /Users/user/code/omicron/src/parser.c:1:
  251. /Users/user/code/omicron/src/parser.h:1:9: warning: '_parser_h_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
  252. #ifndef _parser_h_
  253.         ^~~~~~~~~~
  254. /Users/user/code/omicron/src/parser.h:2:9: note: '_parser_h' is defined here; did you mean '_parser_h_'?
  255. #define _parser_h
  256.         ^~~~~~~~~
  257.         _parser_h_
  258. 1 warning generated.
  259. [ 24%] Building C object CMakeFiles/omicron.dir/src/rendering.c.o
  260. [ 25%] Building C object CMakeFiles/omicron.dir/src/ring.c.o
  261. [ 26%] Building C object CMakeFiles/omicron.dir/src/sign.c.o
  262. [ 27%] Building C object CMakeFiles/omicron.dir/src/util.c.o
  263. [ 28%] Building C object CMakeFiles/omicron.dir/src/worldgen/base_terrain.c.o
  264. [ 29%] Building C object CMakeFiles/omicron.dir/src/worldgen/biome_desert.c.o
  265. [ 30%] Building C object CMakeFiles/omicron.dir/src/worldgen/biome_mesa.c.o
  266. /Users/user/code/omicron/src/worldgen/biome_mesa.c:36:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  267.                                 if (h = 67) {
  268.                                     ~~^~~~
  269. /Users/user/code/omicron/src/worldgen/biome_mesa.c:36:11: note: place parentheses around the assignment to silence this warning
  270.                                 if (h = 67) {
  271.                                       ^
  272.                                     (     )
  273. /Users/user/code/omicron/src/worldgen/biome_mesa.c:36:11: note: use '==' to turn this assignment into an equality comparison
  274.                                 if (h = 67) {
  275.                                       ^
  276.                                       ==
  277. 1 warning generated.
  278. [ 31%] Building C object CMakeFiles/omicron.dir/src/worldgen/biome_ocean.c.o
  279. [ 32%] Building C object CMakeFiles/omicron.dir/src/worldgen/biome_rainforest.c.o
  280. [ 33%] Building C object CMakeFiles/omicron.dir/src/worldgen/biome_taiga.c.o
  281. [ 34%] Building C object CMakeFiles/omicron.dir/src/worldgen/biome_temperate.c.o
  282. [ 35%] Building C object CMakeFiles/omicron.dir/src/worldgen/world.c.o
  283. [ 36%] Building C object CMakeFiles/omicron.dir/deps/glew/src/glew.c.o
  284. [ 37%] Building C object CMakeFiles/omicron.dir/deps/lodepng/lodepng.c.o
  285. [ 38%] Building C object CMakeFiles/omicron.dir/deps/noise/noise.c.o
  286. [ 39%] Building C object CMakeFiles/omicron.dir/deps/sqlite/sqlite3.c.o
  287. /Users/user/code/omicron/deps/sqlite/sqlite3.c:15860:17: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead
  288.       [-Wdeprecated-declarations]
  289.       success = OSAtomicCompareAndSwapPtrBarrier(NULL, newzone,
  290.                 ^
  291. /usr/include/libkern/OSAtomicDeprecated.h:547:6: note: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
  292. bool    OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile *__theValue );
  293.         ^
  294. 1 warning generated.
  295. [ 40%] Building C object CMakeFiles/omicron.dir/deps/tinycthread/tinycthread.c.o
  296. [ 41%] Linking C executable omicron
  297. [ 41%] Built target omicron
  298. Scanning dependencies of target heightmap
  299. [ 42%] Building C object deps/glfw/examples/CMakeFiles/heightmap.dir/heightmap.c.o
  300. [ 43%] Building C object deps/glfw/examples/CMakeFiles/heightmap.dir/__/deps/glad.c.o
  301. [ 44%] Linking C executable heightmap.app/Contents/MacOS/heightmap
  302. [ 44%] Built target heightmap
  303. Scanning dependencies of target wave
  304. [ 45%] Building C object deps/glfw/examples/CMakeFiles/wave.dir/wave.c.o
  305. [ 46%] Linking C executable wave.app/Contents/MacOS/wave
  306. [ 46%] Built target wave
  307. Scanning dependencies of target splitview
  308. [ 47%] Building C object deps/glfw/examples/CMakeFiles/splitview.dir/splitview.c.o
  309. [ 48%] Linking C executable splitview.app/Contents/MacOS/splitview
  310. [ 48%] Built target splitview
  311. Scanning dependencies of target simple
  312. [ 49%] Building C object deps/glfw/examples/CMakeFiles/simple.dir/simple.c.o
  313. [ 50%] Linking C executable simple.app/Contents/MacOS/simple
  314. [ 50%] Built target simple
  315. Scanning dependencies of target particles
  316. [ 51%] Building C object deps/glfw/examples/CMakeFiles/particles.dir/particles.c.o
  317. In file included from /Users/user/code/omicron/deps/glfw/examples/particles.c:40:
  318. /Users/user/code/omicron/deps/glfw/deps/tinycthread.h:125:9: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
  319. #define CLOCK_REALTIME 0
  320.         ^
  321. /usr/include/time.h:154:9: note: previous definition is here
  322. #define CLOCK_REALTIME _CLOCK_REALTIME
  323.         ^
  324. 1 warning generated.
  325. [ 52%] Building C object deps/glfw/examples/CMakeFiles/particles.dir/__/deps/tinycthread.c.o
  326. In file included from /Users/user/code/omicron/deps/glfw/deps/tinycthread.c:30:
  327. /Users/user/code/omicron/deps/glfw/deps/tinycthread.h:125:9: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
  328. #define CLOCK_REALTIME 0
  329.         ^
  330. /usr/include/time.h:154:9: note: previous definition is here
  331. #define CLOCK_REALTIME _CLOCK_REALTIME
  332.         ^
  333. 1 warning generated.
  334. [ 53%] Building C object deps/glfw/examples/CMakeFiles/particles.dir/__/deps/getopt.c.o
  335. [ 54%] Linking C executable particles.app/Contents/MacOS/particles
  336. [ 54%] Built target particles
  337. Scanning dependencies of target gears
  338. [ 55%] Building C object deps/glfw/examples/CMakeFiles/gears.dir/gears.c.o
  339. [ 56%] Linking C executable gears.app/Contents/MacOS/gears
  340. [ 56%] Built target gears
  341. Scanning dependencies of target boing
  342. [ 57%] Building C object deps/glfw/examples/CMakeFiles/boing.dir/boing.c.o
  343. [ 58%] Linking C executable boing.app/Contents/MacOS/boing
  344. [ 58%] Built target boing
  345. Scanning dependencies of target windows
  346. [ 59%] Building C object deps/glfw/tests/CMakeFiles/windows.dir/windows.c.o
  347. [ 60%] Linking C executable windows.app/Contents/MacOS/windows
  348. [ 60%] Built target windows
  349. Scanning dependencies of target title
  350. [ 61%] Building C object deps/glfw/tests/CMakeFiles/title.dir/title.c.o
  351. [ 62%] Linking C executable title.app/Contents/MacOS/title
  352. [ 62%] Built target title
  353. Scanning dependencies of target threads
  354. [ 63%] Building C object deps/glfw/tests/CMakeFiles/threads.dir/threads.c.o
  355. In file included from /Users/user/code/omicron/deps/glfw/tests/threads.c:31:
  356. /Users/user/code/omicron/deps/glfw/deps/tinycthread.h:125:9: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
  357. #define CLOCK_REALTIME 0
  358.         ^
  359. /usr/include/time.h:154:9: note: previous definition is here
  360. #define CLOCK_REALTIME _CLOCK_REALTIME
  361.         ^
  362. 1 warning generated.
  363. [ 64%] Building C object deps/glfw/tests/CMakeFiles/threads.dir/__/deps/tinycthread.c.o
  364. In file included from /Users/user/code/omicron/deps/glfw/deps/tinycthread.c:30:
  365. /Users/user/code/omicron/deps/glfw/deps/tinycthread.h:125:9: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
  366. #define CLOCK_REALTIME 0
  367.         ^
  368. /usr/include/time.h:154:9: note: previous definition is here
  369. #define CLOCK_REALTIME _CLOCK_REALTIME
  370.         ^
  371. 1 warning generated.
  372. [ 65%] Linking C executable threads.app/Contents/MacOS/threads
  373. [ 65%] Built target threads
  374. Scanning dependencies of target tearing
  375. [ 66%] Building C object deps/glfw/tests/CMakeFiles/tearing.dir/tearing.c.o
  376. [ 67%] Building C object deps/glfw/tests/CMakeFiles/tearing.dir/__/deps/getopt.c.o
  377. [ 68%] Linking C executable tearing.app/Contents/MacOS/tearing
  378. [ 68%] Built target tearing
  379. Scanning dependencies of target empty
  380. [ 69%] Building C object deps/glfw/tests/CMakeFiles/empty.dir/empty.c.o
  381. In file included from /Users/user/code/omicron/deps/glfw/tests/empty.c:30:
  382. /Users/user/code/omicron/deps/glfw/deps/tinycthread.h:125:9: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
  383. #define CLOCK_REALTIME 0
  384.         ^
  385. /usr/include/time.h:154:9: note: previous definition is here
  386. #define CLOCK_REALTIME _CLOCK_REALTIME
  387.         ^
  388. 1 warning generated.
  389. [ 70%] Building C object deps/glfw/tests/CMakeFiles/empty.dir/__/deps/tinycthread.c.o
  390. In file included from /Users/user/code/omicron/deps/glfw/deps/tinycthread.c:30:
  391. /Users/user/code/omicron/deps/glfw/deps/tinycthread.h:125:9: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined]
  392. #define CLOCK_REALTIME 0
  393.         ^
  394. /usr/include/time.h:154:9: note: previous definition is here
  395. #define CLOCK_REALTIME _CLOCK_REALTIME
  396.         ^
  397. 1 warning generated.
  398. [ 71%] Linking C executable empty.app/Contents/MacOS/empty
  399. [ 71%] Built target empty
  400. Scanning dependencies of target glfwinfo
  401. [ 72%] Building C object deps/glfw/tests/CMakeFiles/glfwinfo.dir/glfwinfo.c.o
  402. [ 73%] Building C object deps/glfw/tests/CMakeFiles/glfwinfo.dir/__/deps/getopt.c.o
  403. [ 74%] Linking C executable glfwinfo
  404. [ 74%] Built target glfwinfo
  405. Scanning dependencies of target cursor
  406. [ 75%] Building C object deps/glfw/tests/CMakeFiles/cursor.dir/cursor.c.o
  407. [ 76%] Linking C executable cursor
  408. [ 76%] Built target cursor
  409. Scanning dependencies of target monitors
  410. [ 77%] Building C object deps/glfw/tests/CMakeFiles/monitors.dir/monitors.c.o
  411. [ 78%] Building C object deps/glfw/tests/CMakeFiles/monitors.dir/__/deps/getopt.c.o
  412. [ 79%] Linking C executable monitors
  413. [ 79%] Built target monitors
  414. Scanning dependencies of target reopen
  415. [ 80%] Building C object deps/glfw/tests/CMakeFiles/reopen.dir/reopen.c.o
  416. [ 81%] Linking C executable reopen
  417. [ 81%] Built target reopen
  418. Scanning dependencies of target joysticks
  419. [ 82%] Building C object deps/glfw/tests/CMakeFiles/joysticks.dir/joysticks.c.o
  420. [ 83%] Linking C executable joysticks
  421. [ 83%] Built target joysticks
  422. Scanning dependencies of target events
  423. [ 84%] Building C object deps/glfw/tests/CMakeFiles/events.dir/events.c.o
  424. [ 85%] Building C object deps/glfw/tests/CMakeFiles/events.dir/__/deps/getopt.c.o
  425. [ 86%] Linking C executable events
  426. [ 86%] Built target events
  427. Scanning dependencies of target iconify
  428. [ 87%] Building C object deps/glfw/tests/CMakeFiles/iconify.dir/iconify.c.o
  429. [ 88%] Building C object deps/glfw/tests/CMakeFiles/iconify.dir/__/deps/getopt.c.o
  430. [ 89%] Linking C executable iconify
  431. [ 89%] Built target iconify
  432. Scanning dependencies of target gamma
  433. [ 90%] Building C object deps/glfw/tests/CMakeFiles/gamma.dir/gamma.c.o
  434. [ 91%] Building C object deps/glfw/tests/CMakeFiles/gamma.dir/__/deps/getopt.c.o
  435. [ 92%] Linking C executable gamma
  436. [ 92%] Built target gamma
  437. Scanning dependencies of target sharing
  438. [ 93%] Building C object deps/glfw/tests/CMakeFiles/sharing.dir/sharing.c.o
  439. [ 94%] Linking C executable sharing.app/Contents/MacOS/sharing
  440. [ 94%] Built target sharing
  441. Scanning dependencies of target msaa
  442. [ 95%] Building C object deps/glfw/tests/CMakeFiles/msaa.dir/msaa.c.o
  443. [ 96%] Building C object deps/glfw/tests/CMakeFiles/msaa.dir/__/deps/getopt.c.o
  444. [ 97%] Linking C executable msaa
  445. [ 97%] Built target msaa
  446. Scanning dependencies of target clipboard
  447. [ 98%] Building C object deps/glfw/tests/CMakeFiles/clipboard.dir/clipboard.c.o
  448. [ 99%] Building C object deps/glfw/tests/CMakeFiles/clipboard.dir/__/deps/getopt.c.o
  449. [100%] Linking C executable clipboard
  450. [100%] Built target clipboard
  451. ➜  omicron git:(master) ✗ ./omicron
  452.  
  453. ▒█▀▀▀█ ▒█▀▄▀█ ▀█▀ ▒█▀▀█ ▒█▀▀█ ▒█▀▀▀█ ▒█▄░▒█
  454. ▒█░░▒█ ▒█▒█▒█ ▒█░ ▒█░░░ ▒█▄▄▀ ▒█░░▒█ ▒█▒█▒█
  455. ▒█▄▄▄█ ▒█░░▒█ ▄█▄ ▒█▄▄█ ▒█░▒█ ▒█▄▄▄█ ▒█░░▀█
  456.            a game by azekill_DIABLO
  457.  
  458. > Press RETURN to start
  459. glCompileShader failed:
  460. ERROR: 0:1: '' :  version '130' is not supported
  461.  
  462. glCompileShader failed:
  463. ERROR: 0:1: '' :  version '130' is not supported
  464.  
  465. glLinkProgram failed: ERROR: One or more attached shaders not successfully compiled
  466.  
  467. glCompileShader failed:
  468. ERROR: 0:1: '' :  version '130' is not supported
  469.  
  470. glLinkProgram failed: ERROR: One or more attached shaders not successfully compiled
  471.  
  472. ➜  omicron git:(master)
Add Comment
Please, Sign In to add comment