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

No package 'vips-cpp' found #13

Closed
muggle2012 opened this issue Nov 26, 2017 · 5 comments
Closed

No package 'vips-cpp' found #13

muggle2012 opened this issue Nov 26, 2017 · 5 comments

Comments

@muggle2012
Copy link

I work on Mac OSX High Sierra. After install vips and ffmpeg via
$ brew install vips ffmpeg
I tried to build tifig. However, the following error happened during cmake
$ cmake ..
-- Checking for module 'vips-cpp'
-- No package 'vips-cpp' found
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/FindPkgConfig.cmake:424 (message):
A required package was not found

Hope some one can help. Thanks.

@streinhard
Copy link

Hmm, that's weird. Can you paste the output of brew info vips and pkg-config vips-cpp --libs , then I can might have some more clue what's wrong on your machine.

@muggle2012
Copy link
Author

Thanks for the suggestion. everything is fine with brew info vips. When I run pkg-config vips-cpp --libs, it suggests me to add the folder containing vips-cpp.pc to PKG_CONFIG_PATH. There are other cmake errors such as
-- Checking for module 'vips-cpp'
-- Package 'libexif', required by 'vips', not found

$ pkg-config libexif --libs
Package libexif was not found in the pkg-config search path.
Perhaps you should add the directory containing `libexif.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libexif' found

I am not sure whether the directory should be added by vips or tifig. For me, these packages are installed in /usr/local/Cellar/

Thanks, I will continue to add these directories to PKG_CONFIG_PATH.

@streinhard
Copy link

Ok, seems like your PKG_CONFIG_PATH was messed up somehow. 🤞 it builds now.

@streinhard
Copy link

Did building tifig finally work for you?

@muggle2012
Copy link
Author

Yes, it works. Thanks. The issue can be closed.

@Flask Flask closed this as completed Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants