Hello everyone,

   It has been a long time since the last time I have worked on the viewer and 
when I saw about the tool chain upgrade to use VS2013 I started working on it.

Now to the issues concerning FModEX, QuickTime,  and Havok.

 

First FModEX : there is a switch already present for adding FModEX to the OS 
Builds all you have to do is add -DFMODEX:BOOL=ON to the autobuild.xml file in 
the proper OS build settings. Also it looks like there needs to be an 
additional switch added to use the FModEX libs if you have it installed in your 
system because when I did a test build using the local package that I have the 
package is marked as 'dirty' since there is no metadata in the package.

 

Second QuickTime: First the Quicktime.cmake file has to be modified to add 
switches -DUSE_QUICKTIME:BOOL=TRUE and -DUSE_QUICKTIME_LOCAL_REPO:BOOL=TRUE so 
that the OS community can use their local installation of the QuickTime SDK 
with one file in the SDK modified so that it does not collide with the windows 
system files during the build as per the noted modifications in the previous 
windows build setup instructions. I am getting an error during the 
configuration process and am wondering if it is the newer version of cmake not 
accepting the mods I have made to the cmake file.

Here is a diff of the change I have made:

@@ -1,7 +1,7 @@

# -*- cmake -*-

-if(INSTALL_PROPRIETARY)

+if(USE_QUICKTIME)

   include(Prebuilt)

   if (WINDOWS)

     use_prebuilt_binary(quicktime)

   endif (WINDOWS)

@@ -4,10 +4,10 @@

   include(Prebuilt)

   if (WINDOWS)

     use_prebuilt_binary(quicktime)

   endif (WINDOWS)

-endif(INSTALL_PROPRIETARY)

+endif(USE_QUICKTIME)

 if (DARWIN)

   include(CMakeFindFrameworks)

   find_library(QUICKTIME_LIBRARY QuickTime)

elseif (WINDOWS)

@@ -9,10 +9,15 @@

 if (DARWIN)

   include(CMakeFindFrameworks)

   find_library(QUICKTIME_LIBRARY QuickTime)

elseif (WINDOWS)

-  set(QUICKTIME_SDK_DIR "$ENV{PROGRAMFILES}/QuickTime SDK"

-      CACHE PATH "Location of the QuickTime SDK.")

+    if (USE_QUICKTIME_LOCAL_REPO)

+        set(QUICKTIME_SDK_DIR "$ENV(QUICKTIME_SDK_DIR)"

+        CACHE PATH "Location of the QuickTime SDK.")

+    else (APPLE LOCAL SDK)

+        set(QUICKTIME_SDK_DIR "$ENV{PROGRAMFILES}/QuickTime SDK"

+        CACHE PATH "Location of the QuickTime SDK.")

+    endif (USE_QUICKTIME_LOCAL_REPO)

   find_library(DEBUG_QUICKTIME_LIBRARY qtmlclient.lib

                PATHS

 

I'm getting the error on the two variables USE_QUICKTIME and 
USE_QUICKTIME_LOCAL_REPO now these work just fine in the VS2010 builds with 
Cmake 2.8 so I'm wondering if it is a change in Cmake that might be causing the 
issue. The error that is being thrown is about the variables not being use and 
ignored so it does not affect the configure or the build. I will continue to 
work on this and see if I can correct this issue once I have it worked out I 
will post a jira issue and include a working repo based off the needed changes 
for going through the needed steps for approval for including in the viewer 
source.

 

Third Havok is a proprietary third party lib that has to be bought in order for 
anyone in the OS community to use it now there are some TPV's that use and Open 
Source system that is similar so that those viewers have mesh functionality. On 
this I had work on some myself in the past as an Open Source option that LL 
could provide to the OS community even though that did not progress very far.

 

 

 

From: opensource-dev-boun...@lists.secondlife.com 
[mailto:opensource-dev-boun...@lists.secondlife.com] On Behalf Of Callum 
Prentice (Callum)
Sent: Thursday, January 29, 2015 5:06 PM
To: Henri Beauchamp
Cc: opensource-dev
Subject: Re: [opensource-dev] Viewer Tools Upgrades - with a call for help

 

Yep - we need to add the right set of parameters to 'autobuild' to set up FMod, 
Havok QuickTime etc.

 

Can anyone tell me what they are or point me at the right doc before I start 
searching.

 

On Thu, Jan 29, 2015 at 12:44 PM, Henri Beauchamp <sl...@free.fr> wrote:

On Thu, 29 Jan 2015 11:45:46 +0100, Henri Beauchamp wrote:

> On Wed, 28 Jan 2015 10:53:11 -0500, Oz Linden (Scott Lawrence) wrote:
>
> > We've also put up a new page of instructions on how to set up a Windows
> > development environment
> > <https://wiki.secondlife.com/wiki/Visual_Studio_2013_Viewer_Builds>.
> > Suggestions for improvement are most welcome here and on the Talk
> > page... we're trying to keep it as simple as possible while being
> > sufficient to build a clean checkout of the viewer.
>
> Missing bits:
>
> - When using Windows 7, you must also update from IE8 to a newer version
> since else, you can't log in to register for a free license from within
> Visual Studio 2013 Community (the IE8 Javascript engine fails on two of
> the scripts used by VS2013).
>
> - To compile a viewer, you'll also need FMOD Ex installed.
>
> Henri.

I also forgot: there's the Quicktime issue: TPVs need the QuickTime SDK
(v7.3) installed, since the pre-built library in autobuild.xml is on
a private (Linden-only) server...


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





 

-- 

Callum Prentice | Software Engineer

Cell 650 888 1697 | Skype CallumPrentice | Second Life Callum Linden

 

 <http://www.lindenlab.com/> Linden Lab | Makers of Shared Creative Spaces

 <http://lindenlab.com/products> Check out what we're working on!

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5646 / Virus Database: 4273/9037 - Release Date: 02/01/15

_______________________________________________
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