[opensource-dev] building a viewer: fails with some undefined variables

Nicky Perian nickyperian at gmail.com
Sat Mar 31 10:57:50 PDT 2018


Yes openjpeg-1.5.1  is faulty. openjpeg-1.5.0.180801725-linux64-180801725.tar.bz2 <https://bitbucket.org/kokua/p64_3p-openjpeg/downloads/openjpeg-1.5.0.180801725-linux64-180801725.tar.bz2>. untested but win and mac versions work.
Please publish what you have done.



> On Mar 31, 2018, at 12:46 PM, Lance Corrimal <Lance.Corrimal at eregion.de> wrote:
> 
> ok so I've managed to build a viewer now, but when I log in using that viewer 
> no textures are loading. Everything stays grey.
> 
> Any ideas?
> 
> 
> Cheers
> LC
> 
> Am Samstag, 31. März 2018, 15:20:50 CEST schrieb Lance Corrimal:
>> Am Samstag, 31. März 2018, 15:02:28 CEST schrieb Henri Beauchamp:
>>> On Sat, 31 Mar 2018 13:36:28 +0200, Lance Corrimal wrote:
>>>> Hi guys,
>>>> 
>>>> I'm trying to build a viewer on linux, and the build fails due to
>>>> several
>>>> undefined variables, which, given their names, should actually be
>>>> defined
>>>> 
>>>> somewhere in the source, or in the autobuild_variables_file:
>>>>  error: #error "LL_ALIGN_PREFIX and LL_ALIGN_POSTFIX undefined"
>>>>  error: 'LL_DEFAULT_HEAP_ALIGN' was not declared in this scope
>>>> 
>>>> happens right after the actual build starts.
>>>> 
>>>> Where do I get those variables?
>>> 
>>> $ grep -r LL_ALIGN_POSTFIX linden/indra/* | grep '#define'
>>> 
>>> linden/indra/llcommon/llmemory.h:#define LL_ALIGN_POSTFIX(x)
>>> __attribute__((aligned(x))) linden/indra/llcommon/llmemory.h:#define
>>> LL_ALIGN_POSTFIX(x)
>>> linden/indra/llcommon/llmemory.h:#define LL_ALIGN_16(var)
>>> LL_ALIGN_PREFIX(16) var LL_ALIGN_POSTFIX(16)
>>> 
>>> You probably failed to #include "llmemory.h" in the sources where this
>>> error happens.
>> 
>> ...the interesting part here is that I haven't even made any changes yet...
>> and the first time the error hits is actually *inside* llmemory.h:
>> 
>> /home/abuild/rpmbuild/BUILD/phoenix-firestorm-lgpl/indra/llcommon/llmemory.h
>> : 98:2: error: #error "LL_ALIGN_PREFIX and LL_ALIGN_POSTFIX undefined" [ 
>> 286s]  #error "LL_ALIGN_PREFIX and LL_ALIGN_POSTFIX undefined"
>> [  286s]   ^
>> 
>> After closer inspection it seems that LL_LINUX, LL_DARWIN or LL_WINDOWS need
>> to be defined to get the right things done right in the include files...
>> shouldn't autobuild make sure of this?
>> 
>> Cheers
>> LC
> 
> 
> 
> 
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting privileges

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20180331/f0342a11/attachment-0001.htm 


More information about the opensource-dev mailing list