On Thu, Jul 23, 2009 at 06:30:55PM +0200, schoappied wrote:
> I try to compile a package on Windows with latest Cmake.
> I've installed libsndfile-1 and libsndfile1-dev
> 
> But I got this error:
> 
> checking for module 'sndfile>=1.0.11'
>  package 'sndfile>=1.0.11' not found
> CMake Error at cmake/modules/FindPkgConfig.cmake:270 (message):
>  A required package was not found
> Call Stack (most recent call first):
>  cmake/modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
>  CMakeLists.txt:116 (PKG_CHECK_MODULES)

What does your find_package() line look like? Are you literally doing
find_package(sndfile>=1.0.11)? Cuz that's, um, not the way to do that.

Where did you install your sndfile libraries? Are you explicitly telling
CMake to look in that directory? Is this location in your PATH?

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to