DevIL can optionally use the nvidia-texture-tools for DXT compression. While gentoo doesn't have an ebuild for nvidia-texture-tools the DevIL configuration may pick up manually installed nvidia-texture-tools. The source file for the nvidia-texture-tools (il_nvidia.cpp) references an include file which is not installed by nvidia-texture-tools. Judging from the source code the source file in question isn't used either. Thus the attached patch to disable this include file. Reproducible: Always Steps to Reproduce: 1. Manually install nvidia-texture-tools (system-wide). 2. Emerge media-libs/devil-1.7.7 3. Actual Results: DevIL compilation fails: ./../src-IL/src/il_nvidia.cpp:22:27: error: nvcore/Memory.h: No such file or directory Expected Results: Compilation succeeds.
Created attachment 183570 [details, diff] Patch to DevIL sources to remove an unused include file in the nvtt support. The attached patch needs to be applied to the DevIL source before building to make it work when nvidia-texture-tools are detected.
That would not be a correct way to do it - it would create automagical dependency.
No can do. Make an ebuild for nvidia-texture-tools, then there can be talked about patching devil to accomodate it.