On Fri, 7 Feb 2020 00:51:27 -0500, Andras Farkas wrote:

> I was watching a friend play Second Life and thought it looked cool
> (I'm really into MUCKs, so VR is a cool topic in general) so I decided
> I'd try to compile it on FreeBSD, my desktop OS.

FreeBSD is not a build target for the viewer: beyond the need to rework
the build system (and corresponding #defines in the sources), you'd lack
all the pre-built libraries that the viewer needs.

> I decided to try compiling it on Ubuntu first, to examine the build
> process.  However, I encountered an error related to libndof, as seen
> in the attached errout.txt

Do not use Linden Lab's sources to try and build a Linux viewer: you
would invariably fail.

[rant]
You can thank LL for not providing support for Linux; while they benefit
for free from all the work done by GNU/Linux developers and while SL
won't even exist without their work (especially on the server side of
things, but even the viewer is using a shitload of Open Source components
that have been primarily developed under and for GNU/Linux).
That's how LL is repaying the Open Source community when they could
just "devote" one developer to simply reuse the work TPV developers did
for Linux, and provide a Linux supported viewer.

Hell !  I've been maintaining (and vastly improving) my own viewer (and
not just for Linux) for the past 13 years, alone, and only on part of my
sparse free time: don't tell me a programmer at LL cannot maintain a
Linux viewer: all what it would take them (once their viewer is brought
on par with TPVs' Linux support) is just a couple of hours of work *per
week* !
[/rant]


Instead, try TPV sources. My viewer (Cool VL Viewer) builds with just a
single command under any Linux distro (just type ./buildlinux.sh in a
terminal pointing in the linden/indra/ directory).

It would also be a good candidate for a FreeBSD port: it got a stand-
alone build system (so adding FreeBSD to the cmake files would not be
an impossible task), and the sources/scripts for building the pre-built
libraries are also provided (http://sldev.free.fr/libraries/sources/ ).

Be warned however, that porting the viewer to *BSD would require C/C++
programming skills (i.e. beyond what is needed to simply compile the
viewer or its libraries), and that I won't be of help for this task
(no *BSD system here, and no time whatsoever to devote to such a port).


On Fri, 07 Feb 2020 17:57:29 +1100, Alex wrote:

> Many things would also be missing and would need implementing, like CEF 
> and dullahan

Not sure there is a recent enough port of CEF (*), indeed, but once you
got the CEF binaries, building Dullahan won't be much of an issue, using
my sources/script as a base.

(*) With a quick search on the web, I only found this:
https://github.com/prash-wghats/Brackets-CEF-for-FreeBSD/tree/master/CEF
but it's way too old (CEF 51, and currently using CEF 74).

> and voice support.

Voice support is largely hosed under Linux anyway (the v2.1 voice client, 
which is the last Linux version Vivox provided, still works for public
voice chat, but you cannot do voice with another resident not using
themselves that same old client).

However, for a vast majority of SLers (especially non native-English-
speaking residents, but also all genuine role-players), voice is not
even a useful feature of SL (never using it myself), so...

> Also, FreeBSD's OSS (open sound system) is not implemented in the viewer

Wrong !   The viewer got support for OpenAL, which itself supports the
OSS backend. FMOD sound would however be ruled out (not really an issue
either since OpenAL can do sound, including streaming).


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