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

I can't execute this code: ./build_all.sh #44

Closed
MarkFcx opened this issue Oct 22, 2017 · 1 comment
Closed

I can't execute this code: ./build_all.sh #44

MarkFcx opened this issue Oct 22, 2017 · 1 comment

Comments

@MarkFcx
Copy link

MarkFcx commented Oct 22, 2017

Hello, I have a problem that can't be solved. Can you help me?.
When I tried to run your banana classifier with a terminal, I met the following tips:

Macbook-Pro:~ fcx$ cd ~/opencv-2.4.9/samples/c

Macbook-Pro:c fcx$ chmod +x build_all.sh

Macbook-Pro:c fcx$ ./build_all.sh
**compiling contours.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling convert_cascade.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling delaunay.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling fback_c.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling morphology.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling motempl.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling polar_transforms.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling pyramid_segmentation.c
clang: error: argument to '-l' is missing (expected 1 value)
compiling adaptiveskindetector.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling bgfg_codebook.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling blobtrack_sample.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling facedetect.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling find_obj.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling find_obj_calonder.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling find_obj_ferns.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling latentsvmdetect.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling mser_sample.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling mushroom.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling one_way_sample.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling smiledetect.cpp
clang: error: argument to '-l' is missing (expected 1 value)
compiling tree_engine.cpp
clang: error: argument to '-l' is missing (expected 1 value)**
@mrnugget
Copy link
Owner

mrnugget commented Jan 6, 2018

Did you install OpenCV with libtbb before? The clang: error: argument to '-l' is missing sounds to me like the build script is trying to pass the path of a dependency (libtbb?) to clang with -l <dependency> but it's missing.

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