ltc-tools
ltc-tools copied to clipboard
OSX 10.14.5 make fail
Hello after compiling libltc successfully I have now a problem with compiling this library.
This is the error I get.
I noticed that there is a build variable setted on x86_64-apple-darwin18.6.0 on the libltlc library.
cc -Wall -g -O2
pkg-config --cflags ltc jack
pkg-config --cflags sndfile
-DVERSION="0.7.0" jltcdump.c ltcframeutil.c common_ltcdump.cpkg-config --libs ltc jack
pkg-config --libs sndfile
-lm -lpthread -o jltcdump Undefined symbols for architecture x86_64: "_ltc_decoder_create", referenced from: _main in jltcdump-e17be4.o "_ltc_decoder_free", referenced from: _main in jltcdump-e17be4.o "_ltc_decoder_queue_length", referenced from: _my_decoder_read in jltcdump-e17be4.o "_ltc_decoder_read", referenced from: _my_decoder_read in jltcdump-e17be4.o "_ltc_decoder_write", referenced from: _process in jltcdump-e17be4.o "_ltc_frame_alignment", referenced from: _my_decoder_read in jltcdump-e17be4.o "_ltc_frame_decrement", referenced from: _detect_discontinuity in ltcframeutil-122dc2.o "_ltc_frame_increment", referenced from: _detect_discontinuity in ltcframeutil-122dc2.o "_ltc_frame_to_time", referenced from: _my_decoder_read in jltcdump-e17be4.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: *** [: jltcdump] Error 1
I previously built this library successfully on mac.
Thanks for helping.
It looks like the library link-flags are missing, ie no -L... -lltc
.
What is the output of pkg-config --libs ltc jack
?
Also try
make clean
make
Hello,
output of pkg-config --libs ltc jack : -L/usr/local/lib -lltc -lm -ljack
make clean and make gives me the same error.