- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the following error message.
error LNK2019: unresolved external symbol _JLEN@12 referenced in function _VOL99CALC VOL99.obj.
I have been updating from cvf to ivf.
I thought it was simple.
In project properties, Configuaration Properties, Fortran, General I have the following additional includes.
Debug/
\\DavidG\\Grade\\GradeSource\\grade\\gcb
\\DavidG\\Grade\\GradeSource\\grade\\graphics
\\DavidG\\Grade\\GradeSource\\grade\\iface
The function jlen is defined in the correct location.
Is there something I have missed?
Thanks
error LNK2019: unresolved external symbol _JLEN@12 referenced in function _VOL99CALC VOL99.obj.
I have been updating from cvf to ivf.
I thought it was simple.
In project properties, Configuaration Properties, Fortran, General I have the following additional includes.
Debug/
\\DavidG\\Grade\\GradeSource\\grade\\gcb
\\DavidG\\Grade\\GradeSource\\grade\\graphics
\\DavidG\\Grade\\GradeSource\\grade\\iface
The function jlen is defined in the correct location.
Is there something I have missed?
Thanks
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have "EXTERNAL JLEN" somewhere?
In the project properties, select Fortran > External Procedures. Change Calling mechanism to " and rebuild.
In the project properties, select Fortran > External Procedures. Change Calling mechanism to "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks as if VOL99.obj may not have been rebuilt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe not - if the project was converted from CVF, the option /iface:CVF is automatically applied which will cause routines to be STDCALL by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I added 'include.f90' to the project and it works, I didn't have it in the cvf project.
include 'jlen.ffn' ! length of string
include 'ucase.fsb' ! uppercase
include 'jlen.ffn' ! length of string
include 'ucase.fsb' ! uppercase

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