[Slackbuilds-users] Does anyone have trouble building DevIL ?

Doogster thedoogster at gmail.com
Tue Aug 14 03:52:50 UTC 2018


I was sent this patch to get 17.8 to build on -current. I didn’t
incorporate it because it’s not needed on 14.2.

http://gentoo.kevag-telekom.net/rsync/media-libs/devil/files/devil-1.7.8-jasper-remove-uchar.patch


On Mon, Aug 13, 2018 at 8:04 PM B Watson <yalhcru at gmail.com> wrote:

> On 8/13/18, Ythogtha <yth at ythogtha.org> wrote:
> > Here is what happens when I try to build DevIL 1.8.0 (I already have
> 1.7.8
> > built and installed) :
> > [ 40%] Building CXX object src-IL/CMakeFiles/IL.dir/src/il_dds-save.cpp.o
> > /tmp/SBo/DevIL/DevIL/src-IL/src/il_dds-save.cpp: In function 'ILuint
> > Compress(ILimage*, ILenum)':
> > /tmp/SBo/DevIL/DevIL/src-IL/src/il_dds-save.cpp:711:32: error: invalid
> > conversion from 'void*' to 'ILubyte* {aka unsigned char*}' [-fpermissive]
> >       ByteData = ilConvertBuffer(Image->SizeOfData, Image->Format,
> IL_BGRA,
> > Image->Type, IL_UNSIGNED_BYTE, NULL, Image->Data);
> >
> > Does anyone have the same issue ?
>
> No, but...
>
> > Any idea ?
>
> It's telling you what to do in the very error message itself: add
> -fpermissive to the compile command. Easy way would be to add it to
> SLKCFLAGS just after the if/else block that sets it:
>
> SLKCFLAGS="$SLKCFLAGS -fpermissive"
>
> You on -current, or did you get this error on 14.2?
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180813/0683461c/attachment-0001.html>


More information about the SlackBuilds-users mailing list