next up previous contents
Next: Why a C++ Extension? Up: The C++ Extension Previous: The C++ Extension   Contents

Installing the C++ Extension

To link SNOMAN with the C++ extension:-

  1. Obtain the C++ extension code from qsno documenation page
    http://sno.phy.queensu.ca/qsno.

  2. Add CPP_CODE to $SNO_SNOMAN_EXTRACT_SW.

  3. Set $QSNO_ROOT to point to the QSNO root directory.

  4. Set $ROOTSYS to point to the installed ROOT.

  5. Install SNOMAN as usual. If QSNO hasn't yet been installed, then the QSNO libraries will also be built before they are linked into SNOMAN. The QSNO install will only prompt for new environment settings if it can't find the necessary files.

  6. Source $QSNO_ROOT/config/setup_qsno.csh (or .sh) before running SNOMAN, as this updates LD_LIBRARY_PATH to ensure that all the dynamic libraries are located at execution time. Its recommended that you add this to your login script.



sno Guest Acct 2009-09-09