Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is broken #60

Closed
burito opened this issue Aug 27, 2018 · 3 comments
Closed

Build is broken #60

burito opened this issue Aug 27, 2018 · 3 comments

Comments

@burito
Copy link

burito commented Aug 27, 2018

burito@chairmaker:~/code/$ uname -a
Linux chairmaker 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

system: Freshly updated Ubuntu 16.04 LTS

burito@chairmaker:~/code$ git clone git@github.com:xelatihy/yocto-gl
Cloning into 'yocto-gl'...
remote: Counting objects: 6987, done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 6987 (delta 115), reused 131 (delta 85), pack-reused 6813
Receiving objects: 100% (6987/6987), 17.63 MiB | 850.00 KiB/s, done.
Resolving deltas: 100% (5343/5343), done.
Checking connectivity... done.
burito@chairmaker:~/code$ cd yocto-gl/
burito@chairmaker:~/code/yocto-gl$ mkdir build
burito@chairmaker:~/code/yocto-gl$ cd build/
burito@chairmaker:~/code/yocto-gl/build$ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- Found GLEW: /usr/include  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/burito/code/yocto-gl/build
burito@chairmaker:~/code/yocto-gl/build$ make
Scanning dependencies of target ygl
[  4%] Building CXX object CMakeFiles/ygl.dir/yocto/ygl.cpp.o
/home/burito/code/yocto-gl/yocto/ygl.cpp: In function ‘std::tuple<std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >, std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >, std::vector<ygl::vec<float, 2>, std::allocator<ygl::vec<float, 2> > > > ygl::sample_triangles_points(const std::vector<ygl::vec<int, 3> >&, const std::vector<ygl::vec<float, 3> >&, const std::vector<ygl::vec<float, 3> >&, const std::vector<ygl::vec<float, 2> >&, int, int)’:
/home/burito/code/yocto-gl/yocto/ygl.cpp:966:56: error: converting to ‘std::tuple<std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >, std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >, std::vector<ygl::vec<float, 2>, std::allocator<ygl::vec<float, 2> > > >’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >&, std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >&, std::vector<ygl::vec<float, 2>, std::allocator<ygl::vec<float, 2> > >&}; <template-parameter-2-2> = void; _Elements = {std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >, std::vector<ygl::vec<float, 3>, std::allocator<ygl::vec<float, 3> > >, std::vector<ygl::vec<float, 2>, std::allocator<ygl::vec<float, 2> > >}]’
     return {sampled_pos, sampled_norm, sampled_texcoord};
                                                        ^
CMakeFiles/ygl.dir/build.make:62: recipe for target 'CMakeFiles/ygl.dir/yocto/ygl.cpp.o' failed
make[2]: *** [CMakeFiles/ygl.dir/yocto/ygl.cpp.o] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/ygl.dir/all' failed
make[1]: *** [CMakeFiles/ygl.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Gcc does not like. 3.8 is pictured here, 5.0 also tested, same result (to the letter).

burito@chairmaker:~/code/yocto-gl/build$ rm -rf * && CC=clang CXX=clang++ cmake .. && make
-- The C compiler identification is Clang 3.8.0
-- The CXX compiler identification is Clang 3.8.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- Found GLEW: /usr/include  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/burito/code/yocto-gl/build
Scanning dependencies of target ygl
[  4%] Building CXX object CMakeFiles/ygl.dir/yocto/ygl.cpp.o
/home/burito/code/yocto-gl/yocto/ygl.cpp:966:12: error: chosen constructor is explicit in copy-initialization
    return {sampled_pos, sampled_norm, sampled_texcoord};
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: constructor declared here
        constexpr tuple(_UElements&&... __elements)
                  ^
1 error generated.
CMakeFiles/ygl.dir/build.make:62: recipe for target 'CMakeFiles/ygl.dir/yocto/ygl.cpp.o' failed
make[2]: *** [CMakeFiles/ygl.dir/yocto/ygl.cpp.o] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/ygl.dir/all' failed
make[1]: *** [CMakeFiles/ygl.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

That's what Clang 3.8 had to say. Clang 6 gives the exact same error, again, to the letter.

@burito
Copy link
Author

burito commented Aug 27, 2018

And on current OS X as of now...

ethicsgradient:build burito$ cmake .. && make
-- The C compiler identification is AppleClang 9.1.0.9020039
-- The CXX compiler identification is AppleClang 9.1.0.9020039
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework   
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/burito/code/yocto-gl/build
Scanning dependencies of target ygl
[  4%] Building CXX object CMakeFiles/ygl.dir/yocto/ygl.cpp.o
[  8%] Building CXX object CMakeFiles/ygl.dir/yocto/yglio.cpp.o
[ 12%] Linking CXX static library ../bin/libygl.a
[ 12%] Built target ygl
Scanning dependencies of target yitrace
[ 16%] Building CXX object CMakeFiles/yitrace.dir/apps/yitrace.cpp.o
[ 20%] Building CXX object CMakeFiles/yitrace.dir/apps/imgui/imgui.cpp.o
[ 25%] Building CXX object CMakeFiles/yitrace.dir/apps/imgui/imgui_draw.cpp.o
[ 29%] Building CXX object CMakeFiles/yitrace.dir/apps/imgui/imgui_impl_glfw_gl3.cpp.o
[ 33%] Linking CXX executable ../bin/yitrace
Undefined symbols for architecture x86_64:
  "_CFArrayAppendValue", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
      _addJoystickElement in libglfw3.a(cocoa_joystick.m.o)
  "_CFArrayApplyFunction", referenced from:
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
  "_CFArrayCreateMutable", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
  "_CFArrayGetCount", referenced from:
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
      _removeJoystick in libglfw3.a(cocoa_joystick.m.o)
      __glfwPlatformGetJoystickAxes in libglfw3.a(cocoa_joystick.m.o)
      _pollJoystickAxisEvents in libglfw3.a(cocoa_joystick.m.o)
      __glfwPlatformGetJoystickButtons in libglfw3.a(cocoa_joystick.m.o)
      _pollJoystickButtonEvents in libglfw3.a(cocoa_joystick.m.o)
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      ...
  "_CFArrayGetValueAtIndex", referenced from:
      _removeJoystick in libglfw3.a(cocoa_joystick.m.o)
      _pollJoystickAxisEvents in libglfw3.a(cocoa_joystick.m.o)
      _pollJoystickButtonEvents in libglfw3.a(cocoa_joystick.m.o)
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoModes in libglfw3.a(cocoa_monitor.m.o)
  "_CFArrayRemoveAllValues", referenced from:
      _removeJoystick in libglfw3.a(cocoa_joystick.m.o)
  "_CFBundleCopyResourcesDirectoryURL", referenced from:
      _changeToResourcesDirectory in libglfw3.a(cocoa_init.m.o)
  "_CFBundleGetBundleWithIdentifier", referenced from:
      _initializeTIS in libglfw3.a(cocoa_init.m.o)
      __glfwInitNSGL in libglfw3.a(nsgl_context.m.o)
  "_CFBundleGetDataPointerForName", referenced from:
      _initializeTIS in libglfw3.a(cocoa_init.m.o)
  "_CFBundleGetFunctionPointerForName", referenced from:
      _initializeTIS in libglfw3.a(cocoa_init.m.o)
      _getProcAddressNSGL in libglfw3.a(nsgl_context.m.o)
  "_CFBundleGetMainBundle", referenced from:
      _changeToResourcesDirectory in libglfw3.a(cocoa_init.m.o)
  "_CFDictionaryCreateMutable", referenced from:
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
  "_CFDictionaryGetValue", referenced from:
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_CFDictionaryGetValueIfPresent", referenced from:
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_CFDictionarySetValue", referenced from:
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
  "_CFGetTypeID", referenced from:
      _getElementsCFArrayHandler in libglfw3.a(cocoa_joystick.m.o)
  "_CFNumberCreate", referenced from:
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
  "_CFRelease", referenced from:
      __glfwPlatformGetKeyName in libglfw3.a(cocoa_window.m.o)
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
      __glfwTerminateJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
      _removeJoystick in libglfw3.a(cocoa_joystick.m.o)
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      ...
  "_CFRunLoopGetMain", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_CFRunLoopRunInMode", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_CFStringCompare", referenced from:
      _modeIsGood in libglfw3.a(cocoa_monitor.m.o)
      _vidmodeFromCGDisplayMode in libglfw3.a(cocoa_monitor.m.o)
      _changeToResourcesDirectory in libglfw3.a(cocoa_init.m.o)
  "_CFStringCreateWithCString", referenced from:
      _getProcAddressNSGL in libglfw3.a(nsgl_context.m.o)
  "_CFStringCreateWithCharactersNoCopy", referenced from:
      __glfwPlatformGetKeyName in libglfw3.a(cocoa_window.m.o)
  "_CFStringGetCString", referenced from:
      __glfwPlatformGetKeyName in libglfw3.a(cocoa_window.m.o)
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_CFStringGetLength", referenced from:
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_CFStringGetMaximumSizeForEncoding", referenced from:
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_CFURLCopyLastPathComponent", referenced from:
      _changeToResourcesDirectory in libglfw3.a(cocoa_init.m.o)
  "_CFURLGetFileSystemRepresentation", referenced from:
      _changeToResourcesDirectory in libglfw3.a(cocoa_init.m.o)
  "_CGAcquireDisplayFadeReservation", referenced from:
      _beginFadeReservation in libglfw3.a(cocoa_monitor.m.o)
  "_CGAssociateMouseAndMouseCursorPosition", referenced from:
      __glfwPlatformSetCursorMode in libglfw3.a(cocoa_window.m.o)
  "_CGDisplayBounds", referenced from:
      _acquireMonitor in libglfw3.a(cocoa_window.m.o)
      _transformY in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformGetMonitorPos in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayCopyAllDisplayModes", referenced from:
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoModes in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayCopyDisplayMode", referenced from:
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoMode in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayFade", referenced from:
      _beginFadeReservation in libglfw3.a(cocoa_monitor.m.o)
      _endFadeReservation in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayGammaTableCapacity", referenced from:
      __glfwPlatformGetGammaRamp in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayIOServicePort", referenced from:
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayIsAsleep", referenced from:
      __glfwPlatformGetMonitors in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayModeCopyPixelEncoding", referenced from:
      _modeIsGood in libglfw3.a(cocoa_monitor.m.o)
      _vidmodeFromCGDisplayMode in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayModeGetHeight", referenced from:
      _vidmodeFromCGDisplayMode in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayModeGetIOFlags", referenced from:
      _modeIsGood in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayModeGetRefreshRate", referenced from:
      _vidmodeFromCGDisplayMode in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayModeGetWidth", referenced from:
      _vidmodeFromCGDisplayMode in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayModeRelease", referenced from:
      __glfwPlatformGetVideoMode in libglfw3.a(cocoa_monitor.m.o)
      __glfwRestoreVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayMoveCursorToPoint", referenced from:
      __glfwPlatformSetCursorPos in libglfw3.a(cocoa_window.m.o)
  "_CGDisplayScreenSize", referenced from:
      __glfwPlatformGetMonitors in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplaySetDisplayMode", referenced from:
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      __glfwRestoreVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
  "_CGDisplayUnitNumber", referenced from:
      __glfwPlatformGetMonitors in libglfw3.a(cocoa_monitor.m.o)
  "_CGEventSourceCreate", referenced from:
      __glfwPlatformInit in libglfw3.a(cocoa_init.m.o)
  "_CGEventSourceSetLocalEventsSuppressionInterval", referenced from:
      __glfwPlatformInit in libglfw3.a(cocoa_init.m.o)
  "_CGGetDisplayTransferByTable", referenced from:
      __glfwPlatformGetGammaRamp in libglfw3.a(cocoa_monitor.m.o)
  "_CGGetOnlineDisplayList", referenced from:
      __glfwPlatformGetMonitors in libglfw3.a(cocoa_monitor.m.o)
  "_CGMainDisplayID", referenced from:
      _transformY in libglfw3.a(cocoa_window.m.o)
  "_CGReleaseDisplayFadeReservation", referenced from:
      _endFadeReservation in libglfw3.a(cocoa_monitor.m.o)
  "_CGSetDisplayTransferByTable", referenced from:
      __glfwPlatformSetGammaRamp in libglfw3.a(cocoa_monitor.m.o)
  "_CGWarpMouseCursorPosition", referenced from:
      __glfwPlatformSetCursorPos in libglfw3.a(cocoa_window.m.o)
  "_CVDisplayLinkCreateWithCGDisplay", referenced from:
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoMode in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoModes in libglfw3.a(cocoa_monitor.m.o)
  "_CVDisplayLinkGetNominalOutputVideoRefreshPeriod", referenced from:
      _vidmodeFromCGDisplayMode in libglfw3.a(cocoa_monitor.m.o)
  "_CVDisplayLinkRelease", referenced from:
      __glfwSetVideoModeNS in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoMode in libglfw3.a(cocoa_monitor.m.o)
      __glfwPlatformGetVideoModes in libglfw3.a(cocoa_monitor.m.o)
  "_IODisplayCreateInfoDictionary", referenced from:
      _getDisplayName in libglfw3.a(cocoa_monitor.m.o)
  "_IOHIDDeviceCopyMatchingElements", referenced from:
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDDeviceGetProperty", referenced from:
      _matchCallback in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDDeviceGetValue", referenced from:
      _getElementValue in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDElementGetLogicalMax", referenced from:
      _addJoystickElement in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDElementGetLogicalMin", referenced from:
      _addJoystickElement in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDElementGetType", referenced from:
      _addJoystickElement in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDElementGetTypeID", referenced from:
      _getElementsCFArrayHandler in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDElementGetUsage", referenced from:
      _addJoystickElement in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDElementGetUsagePage", referenced from:
      _addJoystickElement in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDManagerCreate", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDManagerOpen", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDManagerRegisterDeviceMatchingCallback", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDManagerRegisterDeviceRemovalCallback", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDManagerScheduleWithRunLoop", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDManagerSetDeviceMatchingMultiple", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_IOHIDValueGetIntegerValue", referenced from:
      _getElementValue in libglfw3.a(cocoa_joystick.m.o)
  "_NSApp", referenced from:
      -[GLFWApplicationDelegate applicationDidFinishLaunching:] in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformPostEmptyEvent in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView insertText:replacementRange:] in libglfw3.a(cocoa_window.m.o)
      _initializeAppKit in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformFocusWindow in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformPollEvents in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformWaitEvents in libglfw3.a(cocoa_window.m.o)
      ...
  "_NSCalibratedRGBColorSpace", referenced from:
      __glfwPlatformCreateCursor in libglfw3.a(cocoa_window.m.o)
  "_NSDefaultRunLoopMode", referenced from:
      __glfwPlatformPollEvents in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformWaitEvents in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformWaitEventsTimeout in libglfw3.a(cocoa_window.m.o)
  "_NSFilenamesPboardType", referenced from:
      -[GLFWContentView initWithGlfwWindow:] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView performDragOperation:] in libglfw3.a(cocoa_window.m.o)
  "_NSSelectorFromString", referenced from:
      _createMenuBar in libglfw3.a(cocoa_window.m.o)
  "_NSStringPboardType", referenced from:
      __glfwPlatformSetClipboardString in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformGetClipboardString in libglfw3.a(cocoa_window.m.o)
  "_NSZeroPoint", referenced from:
      +[GLFWContentView initialize] in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSApplication", referenced from:
      _OBJC_CLASS_$_GLFWApplication in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSArray", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSAttributedString", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
      objc-class-ref in libglfw3.a(cocoa_init.m.o)
  "_OBJC_CLASS_$_NSBitmapImageRep", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSBundle", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSCursor", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSDate", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSDistributedNotificationCenter", referenced from:
      objc-class-ref in libglfw3.a(cocoa_init.m.o)
  "_OBJC_CLASS_$_NSEvent", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSImage", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSMenu", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSMenuItem", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSMutableAttributedString", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSObject", referenced from:
      _OBJC_CLASS_$_GLFWWindowDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_CLASS_$_GLFWApplicationDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_CLASS_$_GLFWLayoutListener in libglfw3.a(cocoa_init.m.o)
  "_OBJC_CLASS_$_NSOpenGLContext", referenced from:
      objc-class-ref in libglfw3.a(nsgl_context.m.o)
  "_OBJC_CLASS_$_NSOpenGLPixelFormat", referenced from:
      objc-class-ref in libglfw3.a(nsgl_context.m.o)
  "_OBJC_CLASS_$_NSPasteboard", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSString", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSThread", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSTrackingArea", referenced from:
      objc-class-ref in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSView", referenced from:
      _OBJC_CLASS_$_GLFWContentView in libglfw3.a(cocoa_window.m.o)
  "_OBJC_CLASS_$_NSWindow", referenced from:
      _OBJC_CLASS_$_GLFWWindow in libglfw3.a(cocoa_window.m.o)
  "_OBJC_METACLASS_$_NSApplication", referenced from:
      _OBJC_METACLASS_$_GLFWApplication in libglfw3.a(cocoa_window.m.o)
  "_OBJC_METACLASS_$_NSObject", referenced from:
      _OBJC_METACLASS_$_GLFWWindowDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWApplicationDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWContentView in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWWindow in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWApplication in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWLayoutListener in libglfw3.a(cocoa_init.m.o)
  "_OBJC_METACLASS_$_NSView", referenced from:
      _OBJC_METACLASS_$_GLFWContentView in libglfw3.a(cocoa_window.m.o)
  "_OBJC_METACLASS_$_NSWindow", referenced from:
      _OBJC_METACLASS_$_GLFWWindow in libglfw3.a(cocoa_window.m.o)
  "_UCKeyTranslate", referenced from:
      __glfwPlatformGetKeyName in libglfw3.a(cocoa_window.m.o)
  "___CFConstantStringClassReference", referenced from:
      CFString in libglfw3.a(cocoa_window.m.o)
      CFString in libglfw3.a(cocoa_window.m.o)
      CFString in libglfw3.a(cocoa_window.m.o)
      CFString in libglfw3.a(cocoa_window.m.o)
      CFString in libglfw3.a(cocoa_window.m.o)
      CFString in libglfw3.a(cocoa_window.m.o)
      CFString in libglfw3.a(cocoa_window.m.o)
      ...
  "__objc_empty_cache", referenced from:
      _OBJC_CLASS_$_GLFWWindowDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWWindowDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWApplicationDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_CLASS_$_GLFWApplicationDelegate in libglfw3.a(cocoa_window.m.o)
      _OBJC_CLASS_$_GLFWContentView in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWContentView in libglfw3.a(cocoa_window.m.o)
      _OBJC_METACLASS_$_GLFWWindow in libglfw3.a(cocoa_window.m.o)
      ...
  "_kCFAllocatorDefault", referenced from:
      __glfwPlatformGetKeyName in libglfw3.a(cocoa_window.m.o)
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
      _getProcAddressNSGL in libglfw3.a(nsgl_context.m.o)
  "_kCFAllocatorNull", referenced from:
      __glfwPlatformGetKeyName in libglfw3.a(cocoa_window.m.o)
  "_kCFRunLoopDefaultMode", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_kCFTypeArrayCallBacks", referenced from:
      __glfwInitJoysticksNS in libglfw3.a(cocoa_joystick.m.o)
  "_kCFTypeDictionaryKeyCallBacks", referenced from:
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
  "_kCFTypeDictionaryValueCallBacks", referenced from:
      _createMatchingDictionary in libglfw3.a(cocoa_joystick.m.o)
  "_objc_msgSend", referenced from:
      -[GLFWWindowDelegate windowDidResize:] in libglfw3.a(cocoa_window.m.o)
      -[GLFWWindowDelegate windowDidMove:] in libglfw3.a(cocoa_window.m.o)
      _acquireMonitor in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformIconifyWindow in libglfw3.a(cocoa_window.m.o)
      -[GLFWApplicationDelegate applicationDidFinishLaunching:] in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformPostEmptyEvent in libglfw3.a(cocoa_window.m.o)
      +[GLFWContentView initialize] in libglfw3.a(cocoa_window.m.o)
      ...
  "_objc_msgSendSuper2", referenced from:
      -[GLFWWindowDelegate initWithGlfwWindow:] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView initWithGlfwWindow:] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView dealloc] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView updateTrackingAreas] in libglfw3.a(cocoa_window.m.o)
      -[GLFWApplication sendEvent:] in libglfw3.a(cocoa_window.m.o)
  "_objc_msgSend_stret", referenced from:
      -[GLFWWindowDelegate windowDidResize:] in libglfw3.a(cocoa_window.m.o)
      __glfwPlatformGetWindowPos in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView mouseMoved:] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView viewDidChangeBackingProperties] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView updateTrackingAreas] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView performDragOperation:] in libglfw3.a(cocoa_window.m.o)
      -[GLFWContentView firstRectForCharacterRange:actualRange:] in libglfw3.a(cocoa_window.m.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../bin/yitrace] Error 1
make[1]: *** [CMakeFiles/yitrace.dir/all] Error 2
make: *** [all] Error 2

And before you ask...

ethicsgradient:build burito$ clang --version
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@xelatihy
Copy link
Owner

thanks - I'll look into it

@xelatihy
Copy link
Owner

Too old version to fix now. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants