gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1568 Posts in 518 Topics by 754 Members - Latest Member: irekzawadzki December 03, 2021, 08:39:17 AM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Installing and using DISLIN 32-bit and 64-bit libraries on Windows
gfx
gfxgfx
 

Author Topic: Installing and using DISLIN 32-bit and 64-bit libraries on Windows  (Read 6647 times)

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 321
Download the required installation package from the DISLIN website.

https://www.mps.mpg.de/dislin/

There are separate 32-bit and 64-bit packages. The 32-bit download is named dl_11_a2.zip and unpacks into a directory named dl_11_a2. The 64-bit download is directory dl_11_af.zip and unpacks into a folder named dl_11_af.

Although there is a setup.exe program supplied in the package, you can use DISLIN
in an AbsoftTools project directly from the unpacked folder(s).

Building the DISLIN Fortran 90 example in AbsoftTools as a 32-bit application

1. Create a new AbsofTools project with Target Type Terminal Application and the 64-bit Code check box unchecked.

2. Add exa_f90.f90 and dislin.f90 to the project. The dislin.f90 is the DISLIN module file and should be added to all DISLIN Fortran 90 projects.

3. Add the DISLIN library disaf2.lib to the project. If you mistakenly add the 64-bit DISLIN library disaf.lib  to a 32-bit project, you will get many unresolved references.

4. Add the 32-bit versions of the Windows libraries User32.lib, Gdi32.lib, and OpenGL32.Lib to the project. For Absoft Pro Fortran 16.0 and later,  these libraries are located in the AbsoftXX.X\opentoolslib directory. For earlier versions, they are located in the AbsoftXX.X\lib directory.

5. Build the project.

Building the DISLIN Fortran 90 example in AbsoftTools as a 64-bit application

1. Create a new AbsofTools project with Target Type Terminal Application and the 64-bit Code check box checked.

2. Add exa_f90.f90 and dislin.f90 to the project. The dislin.f90 is the DISLIN module file and should be added to all DISLIN Fortran 90 projects.

3. Add the DISLIN library disaf.lib to the project. If you mistakenly add the 32-bit DISLIN library disaf2.lib  to a 64-bit project, you will get many unresolved references.

4. Add the 64-bit versions of the Windows libraries User32.lib, Gdi32.lib, and OpenGL32.Lib to the project. For Absoft Pro Fortran 16.0 and later,  these libraries are located in the AbsoftXX.X\opentoolslib64 directory. For earlier versions, they are located in the AbsoftXX.X\lib64 directory.

5. Build the project.
« Last Edit: May 17, 2020, 09:02:29 AM by forumadmin »

Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Installing and using DISLIN 32-bit and 64-bit libraries on Windows
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!