[Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed

Konrad J Hambrick kjhambrick at gmail.com
Sun May 22 23:02:01 UTC 2022


Sorry I hit [Send] instead of [Attach] ...

All --

I removed nvidia-texture-tools-2.1.2 which included the extra include files.

Then I rebuild and installed nvidia-texture-tools-2.1.1 using the original
nvidia-texture-tools.SlackBuild ( log is attached )

Then I executed the attached DevIL.SlackBuild which includes the new cmake
flag: -DIL_USE_DXTC_NVIDIA=NO

It builds fine and now I'll test it.

The punchline:  I believe all we need to do is add -DIL_USE_DXTC_NVIDIA=NO
to the cmake command in DevIL.SlackBuild

Thanks

-- kjh


On Sun, May 22, 2022 at 5:55 PM Konrad J Hambrick <kjhambrick at gmail.com>
wrote:

>
> On Sun, May 22, 2022 at 5:42 PM Konrad J Hambrick <kjhambrick at gmail.com>
> wrote:
>
>>
>> On Sun, May 22, 2022 at 4:33 PM Dave Woodfall <dave at slackbuilds.org>
>> wrote:
>>
>>> > On 22/05/22 14:46,
>>> > Konrad J Hambrick <kjhambrick at gmail.com> put forth the proposition:
>>> > > All --
>>> > > I emailed the maintainer on May 12 but have received no reply.
>>> > > Below is the email I sent.
>>> > > The Punchline is that the DevIL SBo will not compile on my
>>> Slackware64
>>> > > 15.0 + Multilib System when the nvidia-texture-tools SBo is
>>> installed.
>>> > > The simplest fix is to turn off nvidia-texture-tools via a cmake
>>> Config
>>> > <snip># ---v from my original email to yth:
>>>  # ---v from my original email to yth:
>>
>> > > Is this the best place to post such info ?
>>> > > Thanks everyone !
>>> > > -- kjh
>>> > This is the right place, usually we accept patches as attachments,
>>> > but if this only the one flag.  I can take a look this week.
>>> > We don't support multilib though, so do you know if it fails still on
>>> > a non-multilib full 15.0 installation?# grep
>>> usr/include/nvcore/Memory.h /var/log/packages/*
>>>
>>>
>>> /var/log/packages/nvidia-texture-tools-2.1.2-x86_64-1_SBo:usr/include/nvcore/Memory.h
>>>
>>>
>>>
>>> It still fails on pure 15.0.  The error I get is a missing
>>> mvcore/Memory,h which was included in nvidia-texture-tools
>>> but isn't in the version on SBo or the latest.
>>>
>>> > Link to blog post on sending patches:
>>> >
>>> https://slackblogs.blogspot.com/2022/03/how-to-send-patches-to-sbo.html.
>>>
>>> Interesting catch Dave.
>>
>> I DO have nvidia-texture-tools version 2.1.2 installed but I modified the
>> SBo to install the 'missing' files from /usr/include/nv*/
>>
>> I mentioned in my original email that I installed the latest version of
>> nvtt to see if that fixed the DevIL SBO.
>>
>> # ---v from my original email to yth:
>> I changed the nvidia-texture-tools CMakeLists.txt so that the header
>> files are installed in /usr/include/{nvtt,nvthread,nvmath,nvimage,nvcore}/
>> as well as installing nvconfig.h
>> # ---^ from my original email to yth:
>>
>> ick.  What a mess.
>>
>> I'll remove my modified nvtt ; reinstall the official
>> nvidia-texture-tools.SlackBuild and see what happens with the additional
>> cmake flag in the DevIL.SlackBuild:
>>
>>    -DIL_USE_DXTC_NVIDIA=NO
>>
>> -- kjh
>>
>> All --
>
> I removed nvidia-texture-tools-2.1.2 which included the extra include
> files.
>
> Then I rebuild and installed nvidia-texture-tools-2.1.1 using the original
> nvidia-texture-tools.SlackBuild ( log is attached )
>
> Then I executed the attach
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220522/9c854425/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DevIL.SlackBuild-1.8.0.log
Type: text/x-log
Size: 55592 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220522/9c854425/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DevIL.SlackBuild
Type: application/octet-stream
Size: 2433 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220522/9c854425/attachment-0001.obj>


More information about the SlackBuilds-users mailing list