Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Unable to build on mac os 10.12.1 #1675

Open
apezel opened this issue Dec 13, 2017 · 1 comment
Open

Unable to build on mac os 10.12.1 #1675

apezel opened this issue Dec 13, 2017 · 1 comment

Comments

@apezel
Copy link

apezel commented Dec 13, 2017

I'm unable to build the engine on MacOs 10.12.1 (Sierra). I'm getting this error :

clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
Undefined symbols for architecture x86_64:
  "_AudioObjectAddPropertyListener", referenced from:
      _COREAUDIO_Init in libSDL.a(SDL_coreaudio.o)
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_AudioObjectGetPropertyData", referenced from:
      _COREAUDIO_OpenDevice in libSDL.a(SDL_coreaudio.o)
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
      _device_unplugged in libSDL.a(SDL_coreaudio.o)
      _build_device_list in libSDL.a(SDL_coreaudio.o)
  "_AudioObjectGetPropertyDataSize", referenced from:
      _build_device_list in libSDL.a(SDL_coreaudio.o)
  "_AudioObjectRemovePropertyListener", referenced from:
      _COREAUDIO_CloseDevice in libSDL.a(SDL_coreaudio.o)
      _COREAUDIO_Deinitialize in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueAllocateBuffer", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueDispose", referenced from:
      _COREAUDIO_CloseDevice in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueEnqueueBuffer", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
      _inputCallback in libSDL.a(SDL_coreaudio.o)
      _outputCallback in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueFreeBuffer", referenced from:
      _COREAUDIO_CloseDevice in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueNewInput", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueNewOutput", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueSetProperty", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueStart", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_AudioQueueStop", referenced from:
      _audioqueue_thread in libSDL.a(SDL_coreaudio.o)
  "_CGAcquireDisplayFadeReservation", referenced from:
      _Cocoa_SetDisplayMode in libSDL.a(SDL_cocoamodes.o)
  "_CGAssociateMouseAndMouseCursorPosition", referenced from:
      -[Cocoa_WindowListener mouseMoved:] in libSDL.a(SDL_cocoawindow.o)
      _Cocoa_WarpMouseGlobal in libSDL.a(SDL_cocoamouse.o)
      _Cocoa_SetRelativeMouseMode in libSDL.a(SDL_cocoamouse.o)
  "_CGCaptureAllDisplays", referenced from:
      _Cocoa_SetDisplayMode in libSDL.a(SDL_cocoamodes.o)
[...]
 "std::__1::error_code::message() const", referenced from:
      Atomic::WebSocket::setup(asio::io_service*) in libAtomic.a(WebSocket.o)
      Atomic::WebSocketInternalState::MakeConnection() in libAtomic.a(WebSocket.o)
...
@csningli
Copy link

Try to follow my suggestion in https://github.com/AtomicGameEngine/AtomicGameEngine/issues/1679 .

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

No branches or pull requests

2 participants