Futures of Mac OS X Lion 10.7.5. Wonderful update of OS X variant 10.7 known as Lion. Incorporates total working framework fixes that upgrades security, dependability and similarity of Mac OS. Obtained Gatekeeper, still another security feature that will supply you an chance to secure your Mac from vindictive programming.
Getting Development Tools
Downloading Source Code
The canonical viewer repository is https://bitbucket.org/lindenlab/viewer-release
Get the viewer-build-variables
See Building the Viewer with Autobuild#Select Build Variables
Installing Proprietary Libraries
Some builds of the the Viewer depends on proprietary libraries (alternative open source libraries are also provided for developers who prefer or are not licensed to use the proprietary libraries). Lindens do not distribute these libraries, so you will need to fetch and install these even if you download the libraries packages. (This is due to licensing restrictions. Don't ask, Lindens already did, and can't get permission. So you do have to get them yourself.)
FMOD Ex
PIck somewhere to build your fmodex package:
If it works, it will produce a package archive file with a name like fmodex-4.44.31.201503051234-darwin-201503051234.tar.bz2
![]()
CD to your viewer repository root; you can either just override the configured archive with a --local install:
That will cause autobuild to ignore the configured value and use your local package archive; if you delete your build directory, you'll need to repeat the override command.
To reconfigure your autobuild configuration file to use that archive:
but be careful not to commit that change, since it will be useless to anyone who can't access the path you configured.
ConfiguringConfiguring your build with Autobuild
Configuring and building with autobuild works the same on all platforms. Full instructions may be found at Build_Viewer_With_Autobuild.
Example:
if you built your own fmodex as above, add -- -DFMODEX:BOOL=TRUE
BuildingCommand Line Build
you can omit the --no-configure option: if you do, autobuild will implicitly run the configuration step before building. That's harmless, it just takes some extra time, but be sure to include any configuration options such as that for fmodex above.
![]() Building within Xcode
Once you have run the autobuild configure step, the directory build-darwin-x86_64 will have been created in the root of your source distribution. Inside that directory you will find the SecondLife.xcodeproj project file which can be used with Xcode. When opened it should be configured correctly to build, so just Build and Run. If it prompts you to automatically create schemes, let it do so.
Running your newly built viewerCommand Line
To launch the viewer you build, from your source tree root directory, run:
where configuration-type depends on your built configuration ('DebugOS', 'ReleaseOS' or 'RelWithDebInfoOS').
Running within Xcode
'secondlife-bin' scheme is what you look for.
When running from the XCode IDE be sure to go to Product → Scheme → Edit Scheme menu. Select the Run section and uncheck the box labeled 'Allow debugging when using document Versions Browser' on the Options tab. (See this thread.)
Second Life Viewer For Mac Os X 10.7.55Using Finder
Running the Unit Tests
From Xcode, open the project build-darwin-x86_64/test/test.xcodeproj and select 'test' for scheme and run. SecondLife.xcodeproj project also has 'test' scheme.
Handling Problems
If you encounter errors or run into problems following the instructions above, please first check whether someone else already had the same issue. A solution might be known already.
You may find the solution in any of these resources:
Getting Help
Even when no description of your problem has been written down yet, someone might know about it, so get in touch with the community to get help.
Second Life Viewer For Mac Os X 10.7.5 R Will Support Mac Os X 10 7 5 In 2020
Retrieved from 'https://wiki.secondlife.com/w/index.php?title=Compiling_the_viewer_(Mac_OS_X_XCode)&oldid=1208262'
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2020
Categories |