liuliu / ccv

C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library
http://libccv.org
Other
7.08k stars 1.71k forks source link

Help with compile would be appreciated #196

Open yasenvlsim opened 7 years ago

yasenvlsim commented 7 years ago

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)