Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
Paz, 2022-05-22 tarihinde 17:27 -0500 saatinde, Konrad J Hambrick yazdı: > > I don't have another Machine for testing non-MultiLib. > I have chroot to test in clean environment. I recommend it. Easy to install and no performance hit from emulation. Regards, Ozan ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
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 wrote: > > On Sun, May 22, 2022 at 5:42 PM Konrad J Hambrick > wrote: > >> >> On Sun, May 22, 2022 at 4:33 PM Dave Woodfall >> wrote: >> >>> > On 22/05/22 14:46, >>> > Konrad J Hambrick 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 >>> > # ---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 > DevIL.SlackBuild startup at Sun May 22 17:50:58 CDT 2022 DevIL/DevIL/include/IL/luadevil.c DevIL/DevIL-docs/DevilDoc.xml DevIL/DevIL-docs/images/DevIL.gif DevIL/DevIL/test/Makefile.am DevIL/DevIL/examples/windows_example/WindowsTest.h DevIL/DevIL/examples/windows_example/resource.h DevIL/DevIL/examples/windows_example/WindowsTest.cpp DevIL/DevIL/src-IL/include/il_dds.h DevIL/DevIL/docs/images/ilu_small_stairway_equalize.jpg DevIL/DevIL/src-ILU/src/ilu_error.cpp DevIL/DevIL/src-IL/src/il_quantizer.cpp DevIL/DevIL/test/UnitTest/UnitTest.vcproj DevIL/DevIL/src-ILUT/src/Makefile.am DevIL/DevIL/src-ILUT/pkgconfig/README DevIL/DevIL/src-IL/src/il_psd.cpp DevIL/DevIL/examples/allegro_example/allegtest.c DevIL/DevIL/data/DevIL_logo.jpg DevIL/DevIL/src-IL/src/il_error.cpp DevIL/DevIL-docs/Design Documents/ DevIL/DevIL/src-ILU/include/ilu_error/ilu_err-english.h DevIL/DevIL/src-IL/src/il_sgi.cpp DevIL/DevIL/src-IL/src/Makefile.am DevIL/DevIL/src-ILU/src/ilu_alloc.cpp DevIL/DevIL/examples/opengl_example/opengl_example-vc2015.vcxproj DevIL/DevIL/src-IL/src/il_sun.cpp DevIL/DevIL/bindings/Mathematica/DevIL.nb DevIL/DevIL/src-IL/src/il_dds.cpp DevIL/DevIL/test/UnitTest/UnitTest.sln DevIL/DevIL/test/MdiTest/resources/OpenIL Logo.ico DevIL/DevIL/test/MdiTest/MdiTest.h DevIL/DevIL/src-ILU/msvc/resources/IL Logo.ico DevIL/DevIL/src-IL/include/config.h.cmake.in DevIL/DevIL/src-ILUT/msvc/resource.h DevIL/DevIL/src-ILUT/include/ilut_allegro.h DevIL/DevIL/examples/direct3d_example/D3DTest.dsp DevIL/DevIL/examples/volume_example/3dtest.h DevIL/DevIL/src-ILU/include/ilu_error/ilu_err-arabic.h DevIL/DevIL/src-ILU/src/ilu_mipmap.cpp DevIL/DevIL/src-ILU/src/ilu_internal.cpp DevIL/DevIL/examples/volume_example/3dtest.c DevIL/DevIL/docs/images/DevIL.png DevIL/DevIL/examples/windows_example/resources/graphic.ico
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
On Sun, May 22, 2022 at 5:42 PM Konrad J Hambrick wrote: > > On Sun, May 22, 2022 at 4:33 PM Dave Woodfall > wrote: > >> > On 22/05/22 14:46, >> > Konrad J Hambrick 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 >> > # ---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 ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
On Sun, May 22, 2022 at 4:33 PM Dave Woodfall wrote: > > On 22/05/22 14:46, > > Konrad J Hambrick 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 > > # ---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 ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
On Sun, May 22, 2022 at 3:35 PM Dave Woodfall wrote: > On 22/05/22 14:46, > Konrad J Hambrick put forth the proposition: > > All -- > > I emailed the maintainer on May 12 but have received no reply. > > 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? > > Link to blog post on sending patches: > https://slackblogs.blogspot.com/2022/03/how-to-send-patches-to-sbo.html. > Thanks Dave, next time. I don't have another Machine for testing non-MultiLib. -- kjh ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
On Sun, May 22, 2022 at 4:28 PM Arnaud via SlackBuilds-users < slackbuilds-users@slackbuilds.org> wrote: > > On 22/05/22 14:46, > > Konrad J Hambrick 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 > > > > > 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? > > > > Link to blog post on sending patches: > > https://slackblogs.blogspot.com/2022/03/how-to-send-patches-to-sbo.html. > > Well, I did reply, but my mail provider has been quite unprofessional > lately. > I'll look into it, and push an update. > > - Yth / Arnaud. > Thanks Yth -- kjh ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
> > On 22/05/22 14:46, > > Konrad J Hambrick 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 > > > > > 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? > It still fails on pure 15.0. The error I get is a missing > mvcore/Memory,h which was included in nvidia-texture-tools nvcore/Memory.h even. -- Dave sbo-maintainer-tools: https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/ SBo templates: https://slackbuilds.org/templates/ How to format github downloads: https://slackbuilds.org/GITHUB_URLs.txt ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
> On 22/05/22 14:46, > Konrad J Hambrick 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 > > > 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? 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. -- Dave sbo-maintainer-tools: https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/ SBo templates: https://slackbuilds.org/templates/ How to format github downloads: https://slackbuilds.org/GITHUB_URLs.txt ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
> On 22/05/22 14:46, > Konrad J Hambrick 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 > > > 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? > > Link to blog post on sending patches: > https://slackblogs.blogspot.com/2022/03/how-to-send-patches-to-sbo.html. Well, I did reply, but my mail provider has been quite unprofessional lately. I'll look into it, and push an update. - Yth / Arnaud. ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
On 22/05/22 14:46, Konrad J Hambrick 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 > 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? Link to blog post on sending patches: https://slackblogs.blogspot.com/2022/03/how-to-send-patches-to-sbo.html. > # --original email to the maintainer > Yth - Arnaud > I am running Slackware64 15.0 System with Multilib + > NVIDIA-Linux-x86_64-510.68.02.run > I discovered that if nvidia-texture-tools ( aka nvtt ) is installed, that > DevIL will not compile. > I tried with nvidia-texture-tools version 2.1.1 and also with the more > recent version 2.1.2 > There are missing Header Files in /usr/include/nvcore/ ( and maybe others ) > To reproduce: build and install nvidia-texture-tools.SlackBuild and then > try to build DevIL.SlackBuild > 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 > The DevIL.SlackBuild compile makes it past the missing Headers in src-IL/ > However, the compiler finally fails building > src-IL/CMakeFiles/IL.dir/src/il_nvidia.cpp.o because the nvtt headers > differ from what is DevIL expects to find ( output below mu sig ) > I found a CMake switch ( -DIL_USE_DXTC_NVIDIA=NO ) that can be turned off > in the DevIL.SlackBuild to avoid nvtt altogether. > Then it builds as expected. > Here is diff -Naur > # cut here -- > # diff -Naur DevIL~01.SlackBuild DevIL.SlackBuild > --- or/DevIL.SlackBuild 2022-04-23 17:41:07.620019227 -0500 > +++ DevIL.SlackBuild2022-05-12 11:19:49.873854478 -0500 > @@ -73,6 +73,7 @@ > -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ > -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++14 -fpermissive" \ > -DCMAKE_INSTALL_PREFIX=/usr \ > +-DIL_USE_DXTC_NVIDIA=NO \ > -DCMAKE_BUILD_TYPE=Release .. >make >make install/strip DESTDIR=$PKG > # - cut there --- > Thanks for all the SlackBuilds ! > -- kjh > This is the failure after installing the nvtt header files. > /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp: In function 'ILubyte* > ilNVidiaCompressDXT(ILubyte*, ILuint, ILuint, ILuint, ILenum, ILuint*)': > /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:104:28: error: cannot declare > variable 'outputHandler' to be of abstract type 'ilOutputHandlerMem' > 104 | ilOutputHandlerMem outputHandler(Width, Height, DxtFormat); > |^ > /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:38:8: note: because the > following virtual functions are pure within 'ilOutputHandlerMem': >38 | struct ilOutputHandlerMem : public nvtt::OutputHandler > |^~ > In file included from /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:20: > /usr/include/nvtt/nvtt.h:341:22: note: 'virtual void > nvtt::OutputHandler::endImage()' > 341 | virtual void endImage() = 0; > | ^~~~ > /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp: In function 'ILuint > ilNVidiaCompressDXTFile(ILubyte*, ILuint, ILuint, ILuint, ILenum)': > /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:188:29: error: cannot declare > variable 'outputHandler' to be of abstract type 'ilOutputHandlerFile' > 188 | ilOutputHandlerFile outputHandler(Width, Height, DxtFormat); > | ^ > /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:148:8: note: because the > following virtual functions are pure within 'ilOutputHandlerFile': > 148 | struct ilOutputHandlerFile : public nvtt::OutputHandler > |^~~ > In file included from /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:20: > /usr/include/nvtt/nvtt.h:341:22: note: 'virtual void > nvtt::OutputHandler::endImage()' > 341 | virtual void endImage() = 0; > | ^~~~ > make[2]: *** [src-IL/CMakeFiles/IL.dir/build.make:678: > src-IL/CMakeFiles/IL.dir/src/il_nvidia.cpp.o] Error 1 > make[1]: *** [CMakeFiles/Makefile2:134: src-IL/CMakeFiles/IL.dir/all] Error > 2 > make: *** [Makefile:136: all] Error 2 -- Dave sbo-maintainer-tools: https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/ SBo templates: https://slackbuilds.org/templates/ How to format github downloads: https://slackbuilds.org/GITHUB_URLs.txt
[Slackbuilds-users] DevIL - Does not Compile when nvidia-texture-tools is installed
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 Flag: # - cut here --- # diff -Naur DevIL~01.SlackBuild DevIL.SlackBuild --- or/DevIL.SlackBuild 2022-04-23 17:41:07.620019227 -0500 +++ DevIL.SlackBuild2022-05-12 11:19:49.873854478 -0500 @@ -73,6 +73,7 @@ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++14 -fpermissive" \ -DCMAKE_INSTALL_PREFIX=/usr \ +-DIL_USE_DXTC_NVIDIA=NO \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG # - cut here --- Is this the best place to post such info ? Thanks everyone ! -- kjh # --original email to the maintainer Yth - Arnaud I am running Slackware64 15.0 System with Multilib + NVIDIA-Linux-x86_64-510.68.02.run I discovered that if nvidia-texture-tools ( aka nvtt ) is installed, that DevIL will not compile. I tried with nvidia-texture-tools version 2.1.1 and also with the more recent version 2.1.2 There are missing Header Files in /usr/include/nvcore/ ( and maybe others ) To reproduce: build and install nvidia-texture-tools.SlackBuild and then try to build DevIL.SlackBuild 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 The DevIL.SlackBuild compile makes it past the missing Headers in src-IL/ However, the compiler finally fails building src-IL/CMakeFiles/IL.dir/src/il_nvidia.cpp.o because the nvtt headers differ from what is DevIL expects to find ( output below mu sig ) I found a CMake switch ( -DIL_USE_DXTC_NVIDIA=NO ) that can be turned off in the DevIL.SlackBuild to avoid nvtt altogether. Then it builds as expected. Here is diff -Naur # cut here -- # diff -Naur DevIL~01.SlackBuild DevIL.SlackBuild --- or/DevIL.SlackBuild 2022-04-23 17:41:07.620019227 -0500 +++ DevIL.SlackBuild2022-05-12 11:19:49.873854478 -0500 @@ -73,6 +73,7 @@ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++14 -fpermissive" \ -DCMAKE_INSTALL_PREFIX=/usr \ +-DIL_USE_DXTC_NVIDIA=NO \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG # - cut there --- Thanks for all the SlackBuilds ! -- kjh This is the failure after installing the nvtt header files. /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp: In function 'ILubyte* ilNVidiaCompressDXT(ILubyte*, ILuint, ILuint, ILuint, ILenum, ILuint*)': /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:104:28: error: cannot declare variable 'outputHandler' to be of abstract type 'ilOutputHandlerMem' 104 | ilOutputHandlerMem outputHandler(Width, Height, DxtFormat); |^ /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:38:8: note: because the following virtual functions are pure within 'ilOutputHandlerMem': 38 | struct ilOutputHandlerMem : public nvtt::OutputHandler |^~ In file included from /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:20: /usr/include/nvtt/nvtt.h:341:22: note: 'virtual void nvtt::OutputHandler::endImage()' 341 | virtual void endImage() = 0; | ^~~~ /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp: In function 'ILuint ilNVidiaCompressDXTFile(ILubyte*, ILuint, ILuint, ILuint, ILenum)': /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:188:29: error: cannot declare variable 'outputHandler' to be of abstract type 'ilOutputHandlerFile' 188 | ilOutputHandlerFile outputHandler(Width, Height, DxtFormat); | ^ /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:148:8: note: because the following virtual functions are pure within 'ilOutputHandlerFile': 148 | struct ilOutputHandlerFile : public nvtt::OutputHandler |^~~ In file included from /tmp/SBo/DevIL/DevIL/src-IL/src/il_nvidia.cpp:20: /usr/include/nvtt/nvtt.h:341:22: note: 'virtual void nvtt::OutputHandler::endImage()' 341 | virtual void endImage() = 0; | ^~~~ make[2]: *** [src-IL/CMakeFiles/IL.dir/build.make:678: src-IL/CMakeFiles/IL.dir/src/il_nvidia.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:134: src-IL/CMakeFiles/IL.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives -