Hi guys. I'm a newbie in programming. I figured it out how to compile the library with clang (with libjpeg and libpng) and I'm able to run the example read/write programm in Getting Started section. Anyway I couldnt find the .deps file and I cannot compile any of the examples in the bin directory because missing links. For example the dpmdetect code gives me :
/usr/bin/ld: /home/yasen/Documents/ccv2/lib/libccv.a(ccv_icf.o): undefined reference to symbol '__log_finite@@GLIBC_2.15'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi guys. I'm a newbie in programming. I figured it out how to compile the library with clang (with libjpeg and libpng) and I'm able to run the example read/write programm in Getting Started section. Anyway I couldnt find the .deps file and I cannot compile any of the examples in the bin directory because missing links. For example the dpmdetect code gives me :
Compile: clang -I/home/yasen/Documents/ccv2/lib -L/home/yasen/Documents/ccv2/lib icfdetect.c -lccv -ljpeg -lpng -o dpmdetect
Result:
/usr/bin/ld: /home/yasen/Documents/ccv2/lib/libccv.a(ccv_icf.o): undefined reference to symbol '__log_finite@@GLIBC_2.15' //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line clang: error: linker command failed with exit code 1 (use -v to see invocation)