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

2018-03-31 Thread Nicky Perian
openjpeg-1.5.0.201701152240-windows64-201701152240.tar.bz2 


The build code for linux is lacking some pushes. 

overview 

I’ll have it current in a day or so. Just put a watch on the repo.

> On Mar 31, 2018, at 4:58 PM, Lance Corrimal  wrote:
> 
> Am Samstag, 31. März 2018, 20:35:06 CEST schrieb Lance Corrimal:
>> Am Samstag, 31. März 2018, 19:57:50 CEST schrieb Nicky Perian:
>>> Yes openjpeg-1.5.1  is faulty.
>>> openjpeg-1.5.0.180801725-linux64-180801725.tar.bz2
>>> >> 0
>>> 1725-linux64-180801725.tar.bz2>. untested but win and mac versions work.
>> 
>> I'll build using that one and report back.
> 
> that works fine now, thanks!
> 
> could you pass me the link for the windows64 package too?
> 
> 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

___
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

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

2018-03-31 Thread Lance Corrimal
Am Samstag, 31. März 2018, 20:35:06 CEST schrieb Lance Corrimal:
> Am Samstag, 31. März 2018, 19:57:50 CEST schrieb Nicky Perian:
> > Yes openjpeg-1.5.1  is faulty.
> > openjpeg-1.5.0.180801725-linux64-180801725.tar.bz2
> >  > 0
> > 1725-linux64-180801725.tar.bz2>. untested but win and mac versions work.
> 
> I'll build using that one and report back.

that works fine now, thanks!

could you pass me the link for the windows64 package too?

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


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

2018-03-31 Thread Lance Corrimal
Am Samstag, 31. März 2018, 19:57:50 CEST schrieb Nicky Perian:
> Yes openjpeg-1.5.1  is faulty.
> openjpeg-1.5.0.180801725-linux64-180801725.tar.bz2
>  1725-linux64-180801725.tar.bz2>. untested but win and mac versions work.

I'll build using that one and report back.

> Please publish what you have done.

So far, I have the latest source code of firestorm developer version, trying to 
get the new way of building under control. No local changes. 

> 
> > On Mar 31, 2018, at 12:46 PM, Lance Corrimal 
> > 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/llmemor
> >> y.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




___
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


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

2018-03-31 Thread Nicky Perian
Yes openjpeg-1.5.1  is faulty. 
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  
> 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

___
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

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

2018-03-31 Thread Lance Corrimal
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


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

2018-03-31 Thread Nicky Perian
I am limbing along building Kokua on linux with autobuild. If you want you may 
use my viewer-build-variables repo that has some linux adds. This is a WIP.

viewer-build-variables  

> On Mar 31, 2018, at 8:43 AM, Henri Beauchamp  wrote:
> 
> On Sat, 31 Mar 2018 15:20:50 +0200, Lance Corrimal wrote:
> 
>> 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?
> 
> I don't use autobuild for my viewer (its build system is "stand alone"
> and derived from Snowglobe's). All you have to do to build a Linux
> binary of the Cool VL Viewer is to point a terminal in linden/indra/
> and type "./buildlinux.sh"... I wish building LL's viewer was just
> as simple.
> 
> But these defines used to be added from indra/cmake/00-Common.cmake
> where you could find lines such as:
> 
> if (LINUX)
>  .../...
>  add_definitions(-DLL_LINUX=1 -D_REENTRANT)
>  .../...
> endif (LINUX)
> 
> and the equivalent for Windows and Darwin.
> 
> You could simply re-add the 'add_definitions(-DLL_=1)' lines in
> 00-Common.cmake...
> 
> Henri.
> ___
> 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

___
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

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

2018-03-31 Thread Henri Beauchamp
On Sat, 31 Mar 2018 15:20:50 +0200, Lance Corrimal wrote:

> 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?

I don't use autobuild for my viewer (its build system is "stand alone"
and derived from Snowglobe's). All you have to do to build a Linux
binary of the Cool VL Viewer is to point a terminal in linden/indra/
and type "./buildlinux.sh"... I wish building LL's viewer was just
as simple.

But these defines used to be added from indra/cmake/00-Common.cmake
where you could find lines such as:

if (LINUX)
  .../...
  add_definitions(-DLL_LINUX=1 -D_REENTRANT)
  .../...
endif (LINUX)

and the equivalent for Windows and Darwin.

You could simply re-add the 'add_definitions(-DLL_=1)' lines in
00-Common.cmake...

Henri.
___
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


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

2018-03-31 Thread 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


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

2018-03-31 Thread 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.

Henri.
___
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


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

2018-03-31 Thread Lance Corrimal
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?

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