Coder Social home page Coder Social logo

gsoc's Introduction

Instructions on building the Spectral source code on Solaris 64-bit.
---------------------------------------------------------------------------

Programs that need to be installed before building the source code:
--------------------------------------------------------------------------
- Solaris 10
- Sun Studio 12
- Python 2.X, specifically 2.5 or later (http://www.python.org/download/)
- Subversion Command Line Client
  (http://downloads.open.collab.net/collabnet-subversion.html)
- SCons 1.2 or later (http://www.scons.org)
- Compatible Opticks SDK


Download these required dependencies:
-----------------------------------------------------
The Dependencies folder in the Opticks SDK contains a system which automatically
downloads the appropriate dependencies.  This system requires python v2.5 or
later.
> python dependencies.py --help
will provide a usage summary.  Most of the time, no command line options are
needed.  Install all the dependencies.
> python dependencies.py
This will download the appropriate dependencies builds and will install
them in the proper directories.

Point the OPTICKSDEPENDENCIES environment variable at the Dependencies
folder so the build system can find the installed dependencies.

Configure Spectral to find the Opticks SDK:
---------------------------------------------------
1. Unzip a compatible Opticks SDK
2. Set the OPTICKS_CODE_DIR environment variable to the directory
   where the SDK was unzipped.

How to Build Spectral:
-------------------------------
In order to build Spectral, you will need to run the build-Spectral.py python
script that is included with the source code.

An example of building Opticks with build.py is shown below:
   ./build-Spectral.py -d /OpticksSDK/Dependencies --opticks-code-dir=/OpticksSDK --mode=debug --build-extension --concurrency=3

The -d command-line argument is used to point to the location where you
created the Opticks dependencies as mentioned earlier.  If you have
created an OPTICKSDEPENDENCIES environment variable, you don't need to
use the -d command-line argument.  You will always need to provide the
--mode and --build-extension arguments.
The --opticks-code-dir command-line argument is used to point to the location
where you unzipped the Opticks SDK as mentioned earlier.  If you have
created an OPTICKS_CODE_DIR environment variable, you don't need to
use the --opticks-code-dir command-line argument.
The --mode=debug command-line argument will cause a debug binary of Opticks
to be built; using the --mode=release command-line argument will
cause a release binary of Opticks to be built.  The
--concurrency command-line argument is optional, but it controls how many
concurrent compilers are used, so it may speed up your compilation time.
If you need more information about running build.py, run it with --help.

You may notice compiler and linker warnings, however there should not be
any compiler or linker errors.

gsoc's People

Contributors

yuguess avatar

Stargazers

 avatar

Watchers

 avatar

gsoc's Issues

.aeb import error

I get the following error:

Invalid extension bundle: D:/Downloads/GSoC_Tools-1.1.0.aeb
Extension does not support the current platform of win32-x86-msvc10.0-release.
Extension supports the following platforms:
win32-x86-msvc8.1-debug
win32-x86-msvc8.1-release

Would it maybe be possible to generate an updated .aeb?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.