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

Reply via email to