Error message in fortran

  • Thread starter irida65
  • Start date
  • #1
2
0
Hello,
I have a code in Fortran that I can compile but when I try to build it I get the following messages:
error LNK2001: unresolved external symbol _DEVCRG@24
fatal error LNK1120: 1 unresolved externals

I guess that it does not understand it cannot find the subroutine DEVCRG, but I do not know the reason why...
Please help
 

Answers and Replies

  • #2
268
72
Hi
DEVCRG is a library routine belonging to the IMSL® Fortran Numerical Math Library.
I guess you need to link against this library to get it to work.
Which compiler are you using and which OS?
 
  • #3
2
0
Thanks for the reply,
I compile with Fortran Powerstation 4.0, Microsoft developer studio and my OS is windows xp sp2. Please tell me where can I download this library and how can I link it to my code?
 
  • #4
268
72
Hey
I found the following forum thread concerning a similar problem
http://forums.vni.com/showthread.php?t=531"
If I have understood everything correctly you have to buy the Intel Fortran Compiler together with IMSL if you want to use Visual Studio.
One free alternative is to use gfortran which is a part of GCC (http://gcc.gnu.org/" [Broken]).
 
Last edited by a moderator:

Related Threads on Error message in fortran

  • Last Post
Replies
12
Views
3K
  • Last Post
Replies
5
Views
10K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
10
Views
2K
  • Last Post
Replies
3
Views
9K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
19
Views
757
Replies
3
Views
70K
Top