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

Henri Beauchamp sldev at free.fr
Sat Mar 31 06:43:10 PDT 2018


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.


More information about the opensource-dev mailing list