Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

vcpkg Alembic #5

Open
tibicen opened this issue Jun 15, 2018 · 5 comments
Open

vcpkg Alembic #5

tibicen opened this issue Jun 15, 2018 · 5 comments
Labels

Comments

@tibicen
Copy link

tibicen commented Jun 15, 2018

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.

@3Descape
Copy link

I experience the same problem..

@simogasp simogasp added the build label May 2, 2020
@SoninnM
Copy link

SoninnM commented Mar 27, 2021

the same problem,too. How to solve it ?

@simogasp
Copy link
Member

simogasp commented Mar 27, 2021

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

@Geo-Tell
Copy link

i also experience the same problem. How to solve it ?

@simogasp
Copy link
Member

which version of Alembic and openexr are you using?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants