sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.32k stars 349 forks source link

libsourcey make error on macOS #126

Closed RichLewis007 closed 7 years ago

RichLewis007 commented 7 years ago

Hi, I'm trying to compile libsourcey per your instructions on macOS. I'm receiving this error after typing "make":

15%] Linking C shared library liblibuv.dylib ld: warning: directory not found for option '-L/usr/local/share/scy/vendor/lib' Undefined symbols for architecture x86_64: "_pthread_barrier_destroy", referenced from: _uv_barrier_destroy in thread.c.o "_pthread_barrier_init", referenced from: _uv_barrier_init in thread.c.o "_pthread_barrier_wait", referenced from: _uv_barrier_wait in thread.c.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]: [vendor/libuv/liblibuv.dylib] Error 1 make[1]: [vendor/libuv/CMakeFiles/libuv.dir/all] Error 2 make: *** [all] Error 2

I don't see the file vendor/libuv/liblibuv.dylib it is looking for. Was it supposed to be built by the Makefile?

Thanks!

RichLewis007 commented 7 years ago

When I manually go to that vendor/libuv/ directory and execute cmake I see the error:

CMake Error at CMakeLists.txt:244 (define_sourcey_dependency): Unknown CMake command "define_sourcey_dependency".