[sldev] [VWR] [PATCH] Flycam support for Mac OS X

Ettore Pasquini ettore_pasquini at 3dconnexion.com
Mon Oct 1 16:57:10 PDT 2007


On 9/28/07 6:16 PM, "Michael Verdi" <michael at michaelverdi.com> wrote:

> On 9/28/07, Boroondas Gupte <sllists at boroon.dasgupta.ch> wrote:
>> I'd do a test compile before applying any patches, so you know if it's
>> working.
>> 
> 
> I did that and it worked. I was able to log into SL and everything. (I
> do machinima - I've never compiled anything before)
> 
>> Then apply the patch ...
>> https://wiki.secondlife.com/wiki/Submitting_code#Applying_patches_to_your_sou
>> rce
>> (I the case of VWR-2516, it might be somewhat more complicated, consult
>> the README within the .zip-Archive)
>> ... and recompile.
>> 
> 
> This is where I run into trouble. I read though those instructions on
> the wiki and in the patch's readme but I'm just not clear about what
> to do. The wiki shows commands like:
> c:\cygwin\bin\patch -p 0 -i changes.patch  but I'm on Mac.
> 
> Again, if anyone can help me figure this out I'd really appreciate it.

Sorry Michael, I just saw your msg.

Assuming you have your linden folder somewhere like

/Users/michael/secondlife/linden

then, applying patches on OS X is pretty much like any average Un*x machine:

$ cd /Users/michael/secondlife
$ patch -p0 < ./patches/ll-flycam-osx.patch

Now, my patch relies on a library. The zip file includes Windoze + Mac OS X
builds and the header file of the library (source is included too if you
care) relatively placed in a linden folder. You just have to copy the linden
folder included in the zip to your SL root:

cp -R <path2zip>/linden /Users/michael/secondlife

Finally, add the library binary you just copied to Xcode (newview target)

Then rebuild.

Ettore

Ps.
I used the 1.18.3.5 branch from svn.



More information about the SLDev mailing list