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

Nicky Perian nickyperian at gmail.com
Sat Mar 31 08:41:43 PDT 2018


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 <https://bitbucket.org/kokua/viewer-build-variables> 

> On Mar 31, 2018, at 8:43 AM, Henri Beauchamp <sldev at free.fr> 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_<OS>=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

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


More information about the opensource-dev mailing list