How do I create and use a static library on Windows with OPNET?

Categories:
Solution Number:
S20773
Last Modified:
2013-08-20
Issue

How do I create and use a static library on Windows with OPNET?

Solution

The basic steps to create and use a static library on Windows for use with OPNET are the following:1) The library itselfEither you create it using Visual C++ or directly from the command line. Eventually it all boils down to:a) Compile the various object files% CL /c f.cpp -> gives you f.objb) Link the static library% LINK -lib /OUT:<libname>.lib <objfile1>.obj <objfile2.obj> ...Of course you can add all sorts of options. But that's the minimum. For details on using a static library on Windows with OPNET, please refer to FAQ #804.

Environment

DES Kernel->Statistics and Reports,Installation & Configuration

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case