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.  

  1. open a blank workspace: choose File->New...->Blank Workspace 
  2. 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.
  3. create two flcd projects: one "CONSOLE" and one "WIN32" project
  4. 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.

  5. add files to the flcd projects
    1. 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.

  6. set the dependencies for each project: select Project->Dependencies... and check the appropriate names.
    1. the WIN32 project depends on the ARVE projects arve, control, egs, geometry, gheish, gismo, graphics and wingui
    2. the CONSOLE project depends on all the same projects as WIN32 except wingui is swapped for batch.
  7. 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"
    1. 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"

  8. . 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.
    1. select the Input menu item under the Link tab. Add libc.lib to the Ignore libraries: field.
  9. . 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