contents   index   previous   next



Instructions to compile Main with Lahey Fortran 95

 

 

Using the make files provided with the tutorial:

Note: these files are located under the main directory of the tutorial

 

1) Open a command window in subdirectory LF95_MakeFiles.

2) Run batch file Make_LF95Main.bat

 

Manually:

 

1) Open a command window in the directory where the source code is located

2) Issue the following compiler command (note this is a single line):

lf95 ..\f90VBGUIUtils.f90 ..\LF95Main.f90 -out LF95Main.exe -winconsole -ml winapi -mod "%f90VBLF95ModDir%" -lib "%f90VBLF95LibDir%\f90VBBstrings.lib" "%f90VBLF95LibDir%\f90VBSafeArrays.lib" "%f90VBLF95LibDir%\f90VBVariants.lib" "%f90VBLF95LibDir%\f90VBAutomation.lib" user32.lib

 

 


Instructions to compile MainWin with Absoft Pro Fortran