[sldev] Re: LLImageGL::createGLTexture failed to make texture

Soft soft at lindenlab.com
Sun Jul 20 10:57:30 PDT 2008

On Sun, Jul 20, 2008 at 12:51 PM, Suzhanna Rossini
<suzhanna.rossini at balsaestates.com> wrote:
> [snip]
>> > Changing from cmake 2.6 to 2.4.8 also made it possible to build clean
>> on
>> > VS2008, however, the resulting application refuse to start, and
>> generates
>> > this in the log:
>> >
>> > 2008-07-20T11:53:59Z ../../llrender/llimagegl.cpp(929) : error
>> > 2008-07-20T11:53:59Z ERROR: LLImageGL::createGLTexture:
>> > LLImageGL::createGLTexture failed to make texture
>> >
>> > Anyone with an idea on what to look for to isolate that error?  The
>> same
>> > source tree makes an executable that runs fine when compiled with
>> VS2003.
>> I believe you said you were adding lldku. I would try removing
>> llkdu.dll and the three copy rules for those in copy_win_libs - just
>> delete them from the tree. This will make the viewer fall back on
>> built-in openjpeg support.
>> llkdu.dll incorporates a closed source library we can't redistribute,
>> and it's also built against LLImage and other open source classes.
>> This causes problems if the resulting LLImage in the project and the
>> one in the DLL are built in incompatible ways. Different STL
>> implementations and a different virtual function ABI are likely with
>> the VS2003 to VS2008 change.
> Unfortunately that did no difference. I removed all references to llkdu in
> all files, made a complete rebuild, and was met by the very same error.
> No really big deal though, I can get by using my friends VS2003 and/or
> VS2005 instead. Unless you folks want me to stick to VS2008 and try to find
> the reason for this error.

If it makes you itchy, by all means go for it - it would be useful to
know. But follow whatever interests you most. Nobody's handing out
assignments here. :)

More information about the SLDev mailing list