vcpkg Alembic
Hi, hope i'm not interrupting with anything, I'm not fluent in building sollutions at all. But i was following the INSTALL steps, and ended up on this error. I tried to go around using cmake gui, and putting all necessary files by hand, but in the end the build process in VS comunitty failed, in some point. I'm not sure if this is the right way of seeking sollution. If not fell free to del this post.
Could not find a configuration file for package "Alembic" that is
compatible with requested version "1.7".
The following configuration files were considered but not accepted:
D:/vcpkg-git/installed/x64-windows/share/alembic/AlembicConfig.cmake, version: 1.7.8 (64bit)
If there is anyone willing to help me go through the process of compiling this I would appreciate. I would be glad to point some remarks to INSTALL.md to help a little green newcomers like me.
I experience the same problem..
the same problem,too. How to solve it ?
The problem is that openexr and all the other lib dependencies of alembic has switched to modern cmake style to import the targets. Alembic has not updated its config to look for these dependencies when used as a 3rd party lib: see here https://github.com/alembic/alembic/blob/master/lib/Alembic/AlembicConfig.cmake.in
The fix would be to add to the AlembicConfig find_dependency(OpenEXR) and so on so that the targets are actually recognized after. You can do that in the cmake config file in H:/github/vcpkg/installed/x64-windows/share or lib where AlembicConfig.cmake is installed
I'll try to PR the change to the alembic repo but it will take a bit to see that in vcpkg
i also experience the same problem. How to solve it ?
which version of Alembic and openexr are you using?