Closed martinRenou closed 4 years ago
I guess the important part is:
VORBISENC_LIBRARY-NOTFOUND
VORBISFILE_LIBRARY-NOTFOUND
VORBIS_LIBRARY-NOTFOUND
Could it be that this recipe for libvorbis does not install everything?
I think I understand what the problem is. A custom CMakeLists file is used in this recipe. But there it does not export the same VORBISENC_LIBRARY VORBISFILE_LIBRARY and VORBIS_LIBRARY like the official CMakeLists file is doing: https://github.com/xiph/vorbis/blob/master/CMakeLists.txt
Back at the time, I created the CMakeLists.txt file from scratch and proposed the developer of libvorbis to adopt it and maintain it. He already had several build systems in place back then, and didn't feel like adding CMake too. This apparently has changed since then, so I'm happy there is an official CMake file now. I just merged a PR that uses this file, so I hope that also solves this problem.
Thanks @dschreij, it looks like it works on Windows now. So I guess it's safe to close this issue.
I get a very similar issue on libflac https://github.com/conda-forge/libflac-feedstock/issues/7 which I see you are a maintainer. I guess you used the same approach. I am happy to take a look at it and try to fix it.
When trying to use livvorbis in a CMake project on Windows I get the following error:
The full stack is visible here: https://ci.appveyor.com/project/conda-forge/staged-recipes/builds/30796398