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

pkg-config: No such file or directory #828

Open
corner100 opened this issue May 30, 2023 · 0 comments
Open

pkg-config: No such file or directory #828

corner100 opened this issue May 30, 2023 · 0 comments

Comments

@corner100
Copy link

corner100 commented May 30, 2023

Wenn running

g++ -shared -rdynamic -g -O3 -Wall -fPIC \ bv.cpp src/bvmodule.cpp \ -DMODULE_STR=bv -DMODULE_PREFIX=pybv \ -DNDEBUG -DPY_MAJOR_VERSION=3 \ `pkg-config --cflags --libs opencv`  \ `python3-config --includes --ldflags` \ -I . -I/usr/local/lib/python3.5/dist-packages/numpy/core/include \ -o build/bv.so

in https://github.com/spmallick/learnopencv/tree/master/pymodule

I get the following error on windows:

g++: error: `pkg-config: No such file or directory
g++: error: opencv`: No such file or directory
g++: error: `python3-config: No such file or directory
g++: error: unrecognized command line option '-rdynamic'
g++: error: unrecognized command line option '--cflags'
g++: error: unrecognized command line option '--libs'
g++: error: unrecognized command line option '--includes'
g++: error: unrecognized command line option '--ldflags`'

but pkg-config is installed.
pkg-config --version
0.26

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

1 participant