SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

First, make sure that the library "keyFE2.a" in "src" directory is already compiled.

Instructions for the compilation of the examples on Unix systems :

  1. Enter the source directory "examples".
  2. Edit the Makefiles in all sub-directories and change the value of variable "KEYFE2LIBDIR". This variable should point towards the directory in which "keyFE2.a" library and associated header files are stored.

Also the compilation commands have to be adpated to your system.

3. Type "make". This compiles the "cpp" files and builds the example

      executables. The command "make" can be run either in the main
      "examples" directory, or in each sub-directory separately.

Several parameters for "make" :

  1. "make" : produces the examples.
  2. "make clean" : cleans all the objects, executable, and output files.

Instructions for the compilation on other systems :

The "make" command may not work on other systems (like Windows, for example). To compile the library on those systems, you must run manually the commands used for the compilation. (Read the Makefiles for inspiration.)

On Windows, the keyFlow keyword "COORD" conflicts with a type of the C++ library. To avoid any problem related to this conflict, add the line

using keyFE2::COORD ;

at the beginning of each function in which the problem occurs.

Running the examples :

  1. Enter the execution directory :

cd EXEC

      It is important to go in the appropriate directory, because the
      Mesh file is located in this directory.

2. Call the executable. For example :

../step2D


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.