Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with compile would be appreciated #196

Open
yasenvlsim opened this issue Jan 12, 2017 · 1 comment
Open

Help with compile would be appreciated #196

yasenvlsim opened this issue Jan 12, 2017 · 1 comment

Comments

@yasenvlsim
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@yasenvlsim and others