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

ERROR: rtaudio linker error #6

Closed
kybr opened this issue Aug 26, 2018 · 4 comments
Closed

ERROR: rtaudio linker error #6

kybr opened this issue Aug 26, 2018 · 4 comments

Comments

@kybr
Copy link
Member

kybr commented Aug 26, 2018

-- Cuttlebone not found. Not building Cuttlebone.
/usr/local/lib/libfreetype.dylib  --------------- 
Undefined symbols for architecture x86_64:
  "_AudioDeviceCreateIOProcID", referenced from:
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.o)
  "_AudioDeviceDestroyIOProcID", referenced from:
      RtApiCore::closeStream() in libal.a(RtAudio.cpp.o)
  "_AudioDeviceStart", referenced from:
      RtApiCore::startStream() in libal.a(RtAudio.cpp.o)
  "_AudioDeviceStop", referenced from:
      RtApiCore::closeStream() in libal.a(RtAudio.cpp.o)
      RtApiCore::stopStream() in libal.a(RtAudio.cpp.o)
  "_AudioObjectAddPropertyListener", referenced from:
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.o)
  "_AudioObjectGetPropertyData", referenced from:
      RtApiCore::getDefaultInputDevice() in libal.a(RtAudio.cpp.o)
      RtApiCore::getDefaultOutputDevice() in libal.a(RtAudio.cpp.o)
      RtApiCore::getDeviceInfo(unsigned int) in libal.a(RtAudio.cpp.o)
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.o)
      rateListener(unsigned int, unsigned int, AudioObjectPropertyAddress const*, void*) in libal.a(RtAudio.cpp.o)
  "_AudioObjectGetPropertyDataSize", referenced from:
      RtApiCore::getDeviceCount() in libal.a(RtAudio.cpp.o)
      RtApiCore::getDeviceInfo(unsigned int) in libal.a(RtAudio.cpp.o)
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.o)
  "_AudioObjectHasProperty", referenced from:
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.o)
  "_AudioObjectRemovePropertyListener", referenced from:
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.o)
      RtApiCore::closeStream() in libal.a(RtAudio.cpp.o)
  "_AudioObjectSetPropertyData", referenced from:
      RtAudio::openRtApi(RtAudio::Api) in libal.a(RtAudio.cpp.o)
      RtApiCore::RtApiCore() in libal.a(RtAudio.cpp.o)
      RtApiCore::RtApiCore() in libal.a(RtAudio.cpp.o)
      RtApiCore::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*) in libal.a(RtAudio.cpp.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]: *** [/Users/yyy/tmp/AlloLib/examples/sound/bin/stereoscene] Error 1
make[1]: *** [CMakeFiles/stereoscene.dir/all] Error 2
make: *** [all] Error 2

This error prevents building examples on macOS 10.13 and 10.14.

The linker error above is not that helpful because we cannot see the linker command. See:

#5

-- karl

@mantaraya36
Copy link
Contributor

Thanks for the report, Karl. This is likely due to heavy work towards supporting windows. Should have a fix out soon.

@mantaraya36
Copy link
Contributor

Believe fixed. Is it fixed for you?

@kybr
Copy link
Member Author

kybr commented Aug 28, 2018

the linker error has disappeared. I do not know what fixed it. Maybe reference the commit here?

@mantaraya36
Copy link
Contributor

Too much simultaneous work.... I'm unsure which commit did the trick.

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