Problem with Compaq Visual Fortran

251 views
Skip to first unread message

alessandro Audio2hand

unread,
Nov 15, 2013, 11:28:11 AM11/15/13
to dislin...@googlegroups.com

After successfully using DISLIN under Sun Solaris, now I am trying to move to Windows, where i usa Compaq Visual Fortran v.6.6

I installed Dislin, and set the environment variables as required.

Now I am just trying with a simple test program (taken from http://www.star.le.ac.uk/~cgp/dislinGUI.html).

First, I added the dislin.mod file to the project (otherwise the compiler would not find it, is this correct?).

When I try to compile, I get "Error in opening the Library module file.   [DISLIN]" (see attached file).

What is wrong? Thank you.

Regards,

Alessandro

VisualFortran.jpg

John Wasilewski

unread,
Nov 15, 2013, 12:09:25 PM11/15/13
to dislin...@googlegroups.com
Off-topic, I know, so please excuse me everyone, but, Alessandro, I gave up long ago trying to make CVF6.6c work.
This was after upgrading to Win 7 x64.  
It was impossible t install.  

Are you still on Win XP or have you moved up to Win 7.  If you have, then are you using X86 or X64?  
If you can tell me how to make CVF6.6 work under Win 7 X64, I would be eternally grateful.  

Alessandro, and anyone else replying to this, please don't reply here but let this dialogue revert to teh original topic.
Please, instead, send an email to Jo...@Wasilewski.co.uk

If anyone else has problems with CVF6.6, I wholeheartedly recomment Approximatrix's 'Simply Fortran.'
--- 
John

--
You received this message because you are subscribed to the Google Groups "dislin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dislin-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

徐自国

unread,
Nov 15, 2013, 10:32:14 PM11/15/13
to dislin-users
Hi,
For Win7 X64 OS, one possible way to use CVF6.6c is installing in a virtual WinXP OS on a virtual machine.
There are 3 steps needed:
1) installing a virtual machine in your main OS. One recommendation is VirtualBox which can be found a free version at https://www.virtualbox.org/ .
2) installing WinXP OS on the virtual machine, we can call it virtual OS.
3)installing CVF6.6c in the virtual OS.
 
the following is my screenshot:
 
Yours truly,
 
Xu Ziguo
xuz...@cabrtech.com
2013-11-16
 
======================================================================
 Consulting Department, CABR Technology Co., Ltd.
 Institute of Building Structure, China Academy of Building Research
 Address: 30 Bei San Huan Dong Lu, Beijing
 Postcode: 100013
 Telephone: (86-10)84280389/0894-818
 Fax: (86-10)84279246
======================================================================
------------------- Original Message -----------------------
Catch78A7.jpg

alessandro Audio2hand

unread,
Nov 18, 2013, 3:47:56 AM11/18/13
to dislin...@googlegroups.com

I have used CVF with different windows releases (at present I am under XP Professional), and never had installation problems.

regarding my first question, does anybody know why I get the error " "Error in opening the Library module file.   [DISLIN]"? Thank you.


Helmut Michels

unread,
Nov 18, 2013, 4:06:54 AM11/18/13
to dislin...@googlegroups.com
Hi,


Am Montag, 18. November 2013 09:47:56 UTC+1 schrieb alessandro:

I have used CVF with different windows releases (at present I am under XP Professional), and never had installation problems.

regarding my first question, does anybody know why I get the error " "Error in opening the Library module file.   [DISLIN]"? Thank you.



please, recompile the file 'dislin.f90' in the Dislin directory with your compiler version. The module file
'dislin.mod' was created with an older version of CVF.

Regards,

Helmut
 

alessandro Audio2hand

unread,
Nov 18, 2013, 4:22:08 AM11/18/13
to dislin...@googlegroups.com
Hullo Helmut,

I have done that. Now the program compiles but I have problems with linking, I get "unresolved external symbol" error for each Dislin subroutine call.....

Helmut Michels

unread,
Nov 18, 2013, 4:31:54 AM11/18/13
to dislin...@googlegroups.com

Hi,


Am Montag, 18. November 2013 10:22:08 UTC+1 schrieb alessandro:
Hullo Helmut,

I have done that. Now the program compiles but I have problems with linking, I get "unresolved external symbol" error for each Dislin subroutine call.....


you have to link with the Dislin libraries disdvf.lib and disdll.lib for CVF. Have you done it?

Regards,

Helmut
 

alessandro Audio2hand

unread,
Nov 18, 2013, 4:44:14 AM11/18/13
to dislin...@googlegroups.com


No, I have only used the option  /libpath:"c:\dislin"

I have to find out how to tell CVF to use those libraries...

alessandro Audio2hand

unread,
Nov 18, 2013, 4:49:26 AM11/18/13
to dislin...@googlegroups.com

Ok, done that and it works.

I only get the warning:  LINK : warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

Reply all
Reply to author
Forward
0 new messages