Copy and recompile the Genero Studio libraries

If you use a different version of FGLGWS than the default installed with Genero Studio, you may need to copy and recompile the Genero Studio libraries.

For example, if you run database creation scripts that create sample data, you must recompile the .4gl file that provides the sample data.

  1. Copy the entire content of the Genero Studio libraries directory $GSTDIR/bin (or, if you are on a Mac, $GSTDIR/Contents/MacOS)/src/studio/lib to a new directory.
    Note: Ensure that you have write access to the new directory.
  2. Select Tools > Genero Configurations, and select the configuration name.
  3. Find and select the Studio Libraries Environment Set. Deselect the check box to deactivate the old studio libraries.
  4. Duplicate and rename the Studio Libraries environment set.
  5. In the new studio libraries environment set, double-click the GSTLIBRARYDIR environment variable.
  6. Modify the value of GSTLIBRARYDIR to point to the location of your new studio library files, and click OK.
  7. In the Environment Sets list, select the check box for your studio libraries.
    Figure: Select new studio libraries environment set

    Setting new environment set
  8. Open the libgst.4pw located in GSTLIBRARYDIR.
  9. Right-click on the application node and select Rebuild All.