- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a program needed to be run using Fortran 95, there's no error when compiling but got the following error when debugging:
project4.obj:error LNK 2001: unresolved external symbol _LOWER@8
Debug/project4.exe: fatal error LNK 1120: 1 unresolved externals
Can anybody help me to fix that ? Thanks.
project4.obj:error LNK 2001: unresolved external symbol _LOWER@8
Debug/project4.exe: fatal error LNK 1120: 1 unresolved externals
Can anybody help me to fix that ? Thanks.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a mismatch between the call to LOWER and the declaration of the routine LOWER. Make sure the arguments are of the same type and number.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, you might be using LOWER as an array, but never have dimensioned it such as
REAL, ALLOCATABLE(:) :: LOWER
for a dynamic array or
REAL, DIMENSION(15) :: LOWER
for a static array. This will give you the exact same error message if you have not dimensioned LOWER as an array prior to using it as an array.
Tom
REAL, ALLOCATABLE(:) :: LOWER
for a dynamic array or
REAL, DIMENSION(15) :: LOWER
for a static array. This will give you the exact same error message if you have not dimensioned LOWER as an array prior to using it as an array.
Tom

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page