## Compiling SciTech SNAP Graphics

Once you have all the startup scripts configured and executed, you are ready to begin compiling. Building all the SNAP libraries in one fell swoop is very easy. Simply change into the src directory below where you have installed all the files and issue a dmake build. Ie:

cd scitech/src
dmake build

Using dmake build will force build all the libraries, and will build all the libraries with your selected compiler and using the currently configured options. If any errors are encountered during the build, it will stop and you can fix the errors and then restart the build from the offending library with a simple dmake command (ie: the default target builds for the selected compiler). You can also build each library from each directory if you wish as well.

By default the makefile utilities hide the actual command lines used to call the compiler on Unix systems to clean up the compile process output. This makes it much easier to see errors and warnings in the code as it compilers. If you need to see the actual command lines passed to the compiler, you can build using the SHOW_ARGS=1 variable (ie: dmake build SHOW_ARGS=1).

Related Sub-Topics

Compiling release and debug builds

Compiling the sample programs

Setting up Your Compiler Configuration

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com