e deleflie | 16 Aug 2010 14:02
Picon
Gravatar

Re: defined(APPLE) is false ...

> target_link_libraries(supernova "-framework CoreAudio")

yep! ... that does it. I've now got Supernova running without the
thread priority warning messages popping up.

I'm about to test the sound of it .... but ... FYI ... there is also
an other linker issue (same one)  in one of the test cases:

[ 92%] Building CXX object
testsuite/CMakeFiles/server_test.dir/server_test.cpp.o
Linking CXX executable server_test
Undefined symbols:
  "_AudioConvertNanosToHostTime", referenced from:
      nova::thread_init_functor::operator()(int)in libsupernova.a(server.cpp.o)
      nova::thread_init_functor::operator()(int)in libsupernova.a(server.cpp.o)
      nova::thread_init_functor::operator()(int)in libsupernova.a(server.cpp.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Etienne

>
> --
> tim@...
> http://tim.klingt.org
>
> Every word is like an unnecessary stain on silence and nothingness
>  Samuel Beckett
>

Gmane