FLCD Studio Configuration
To follow this how-to from the beginning, uncompress project files (flcd and ARVE) into
a directory accessible to your Visual C++ 5.0 compilier. There are 2 flcd and 10
ARVE projects within the combined flcd/ARVE distribution. The ARVE projects are
configured to build as libraries and only need to be loaded into a new flcd workspace.
(note: the name flcd might be fleeting: at the time of writing, projects are being called
nld).
In general, one will be inheriting existing projects and all of this will be set for
you in the various project settings.
- open a blank workspace: choose File->New...->Blank
Workspace
- add arve projects to the new workspace (ie. arve, batch, control, clhep, egs,
geometry, gheisha, gismo, graphics, wingui, see your distribution). Consult
Visual C++ for details.
- create two flcd projects: one "CONSOLE" and one "WIN32"
project
Note: each Project (arve/control, flcd, etc) must have its own directory
which Studio creates by default. Each project file (*.dsp) will have a seperate
directory.
- add files to the flcd projects
- add these from your flcd folder (eg. <StudioRoot>/My Projects/flcd) so that
both flcd projects source the same files. Right click on the current flcd project
and add files from the uncompressed flcd directory.
Note: your CONSOLE and WIN32 project folders should be empty except for Studio
related project files (*.dsp, *.plg, etc). There will be only one collection
of flcd code: source files living in your flcd directory.
- set the dependencies for each project: select Project->Dependencies...
and check the appropriate names.
- the WIN32 project depends on the ARVE projects arve, control, egs,
geometry, gheish, gismo, graphics and wingui
- the CONSOLE project depends on all the same projects as WIN32 except wingui is
swapped for batch.
- set include paths using Project->Settings...->C/C++
tab. Select the category: Preprocessor from the pulldown menu there and fill the
field under "Additional include directories"
- paths that should be set: ../, ../../, ../arve
Note: make sure the project you are working is the "Active Project".
Right click on the project of interest and select "Set as Active Project"
- . set library paths using Project->Settings...->Link tab.
Select the General menu item and add ../flcd/Lib*77.lib to the Object/library
modules: field.
- select the Input menu item under the Link tab. Add libc.lib to the Ignore
libraries: field.
- . build arve and flcd projects (see Visual help for details)
Note: at the time of this setup I was running service pack 3 (http://www.microsoft.com/vstudio/sp/) for
Visual Studio
Last Updated: 13-Jan-2004 12:37
Chad Colgur