-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[ogre] make zziplib, freeimage, assimp, freetype and less strict resource manager as feature #15194
Conversation
f56260a
to
28531cb
Compare
Have you tested these features? |
We don't use them, but, as I said, the previous version of the package did build them. I've just added a way to deactivate them. |
28531cb
to
f3ac98c
Compare
Hi @dweckmann I tested this features on my local and failed with the following error:
Note: I installed Could you please look into this? |
Well, this option come from the original recipe and the fail seems linked to CMake not finding Directx 9 libraries. Not sure I can do anything, because it is either a cmake issue or platform issue. BTW, I have no access right now to a dev environment with the old directx 9 libraries installed. Maybe should we contact the original author of the port file ? |
…manager, optional features
f3ac98c
to
59f42b9
Compare
Hello again. I can confirm the behavior is the same prior my PR. [d3d9] only works when cmake could find the DirectX9 headers. I guess is it perfectly normal that you encounters the quoted error and this is linked your environment so it is not really an"issue". What should I do now ? |
Thanks for your further investigation about this issue. Have you tested other features on your machine? Do they work fine? |
As I said, I've really tested that the additional features are not built when not used. Our project build and run correctly when using ogre[core]. I assume, since the optional features where already there before, that the previous contributor have thoroughly tested the now optional features. However, I have at least tested the build of some feature combination [core,assimp,zziplib,assimp], but not the usage because I don't have another project that make use of them. BTW this is what the CI test since the optional features are default features. Please, tell me if I can do something else. |
Thanks for your response. Since these new features are set as default features, there is no need to test them now. I have checked that So this PR is good for me. |
Thanks, To be clear, |
I experienced a failure in a downstream CI (see robotology/robotology-superbuild-dependencies-vcpkg#39) due to the fact that this PR enabled by default the |
For more visibility, I opened a PR in #15789 . |
…manager, optional features (microsoft#15194)
Describe the pull request
Some Ogre functionalities are not mandatory and they require additional dependencies which could be problematic, most notably zzip which have a GPL licensing. This PR add features, with default set "as before", so people could easily choose which dependencies they could afford.
Another feature is the ability to use less strict resource manager, so some legacy code would work, while preserving fast lookup for new code.
All currently supported triplets should still be supported.