Skip to content

Software Dependencies

Paul Gilman edited this page Jul 24, 2017 · 11 revisions

SAM consists of several software packages described in the [https://github.com/NREL/SAM/blob/develop/README.md](SAM readme).

Its dependencies are:

  • C++ standard libraries
  • wxWidgets 3.1.0

If you are building a full desktop version of SAM, after setting up your C++ development environment and building wxWidgets 3.1.0, you should always build the packages in the following order to meet the dependency requirements:

  1. LK
  2. WEX
  3. SSC
  4. SAM

The WEX and SSC builds each include special standalone applications. They are:

  • WEX's DView data viewer and the LKscript script editor.

  • SSC's SDKtool and TCSconsole include the LK script editor, so are dependent on WEX and LK. TCSconsole also includes the DView from WEX. If you build SSC without those tools, then it only depends on the standard C++ libraries.

Package Dependencies
LK wxWidgets
WEX wxWidgets, LK
SSC See note below
SAM wxWidgets, LK, WES

Note: For SSC, if you remove SDKtool and TCSconsole from your project, then SSC only requires the standard C++ libraries.