Linking errors in Silverfrost F95 Express

245 views
Skip to first unread message

Christoph

unread,
Sep 23, 2012, 11:26:08 AM9/23/12
to dislin...@googlegroups.com
Hello,

I'm using the Silverfrost FTN95 compiler under Windows 7 64bit system. Building of the dislin example works fine from command line. But when I try to build it in Visual Studio (Silverfrost FTN95 Express) I get the following warning message:

Cleaning...
Building project exa_f90...
Updating References...
Compiling file: dislin.f90
Compiling file: exa_f90.f90
Linking...
WARNING the following symbols are missing:
SETPAG                                   C:\dislin\examples\exa_f90\Debug\Win32\exa_f90.obj
                                              (C:\DISLIN\EXAMPLES\EXA_F90.F90)
METAFL                                   C:\dislin\examples\exa_f90\Debug\Win32\exa_f90.obj
                                              (C:\DISLIN\EXAMPLES\EXA_F90.F90)
etc.

I'm not familiar with the Studio yet, so any hints are welcome.

Thanks and regards,
Christoph

Armin Rauthe-Schöch

unread,
Sep 24, 2012, 2:44:10 AM9/24/12
to dislin...@googlegroups.com
Hi Christoph,

you need to tell your linker to include the appropriate DISLIN library. What are the linker options you are using on the command-line where linking works ?

Also you need "-lgdi32 -luser32".

Please have a look at the DISLIN FAQ on the DISLIN homepage:
http://www.mps.mpg.de/dislin/faq_kap4.html#q_5


Good luck!
Armin
-- 
Dr. Armin Rauthe-Schöch
Max Planck Institute for Chemistry
Air Chemistry
Johann-Joachim-Becher-Weg 27
D-55128 Mainz / GERMANY
Tel. +49-(0)6131-305-427
Fax +49-(0)6131-305-436
Email: armin.raut...@mpic.de

Helmut Michels

unread,
Sep 24, 2012, 4:53:45 AM9/24/12
to dislin-users
Hi Christoph,
you have to link with the Dislin library diss32.lib for Salford FTN95.
Try to add the entry c:\dislin\diss32.lib to

Properties -> Linker -> Input -> Additional Dependencies

The library diss32.lib uses the DLL diss32.dll, to that you should
include the directory c:\dislin\win in you PATH environment.

Best regards

Helmut

Christoph

unread,
Sep 26, 2012, 1:11:04 PM9/26/12
to dislin...@googlegroups.com
Thanks a lot for the quick response. I really just had to add diss32.lib as a reference in the Solution Explorer and now it works.

Best regards
Christoph
Reply all
Reply to author
Forward
0 new messages