Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Error message in fortran

  1. Jun 23, 2008 #1
    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
     
  2. jcsd
  3. Jun 23, 2008 #2
    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?
     
  4. Jun 23, 2008 #3
    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?
     
  5. Jun 24, 2008 #4
    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: May 3, 2017
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Error message in fortran
  1. Database Error Message (Replies: 5)

  2. IE7 error message (Replies: 12)

  3. Linux error message (Replies: 1)

Loading...