Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Unresolved External Symbol

davidgraham
Beginner
456 Views
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




0 Kudos
4 Replies
Steven_L_Intel1
Employee
456 Views
Do you have "EXTERNAL JLEN" somewhere?

In the project properties, select Fortran > External Procedures. Change Calling mechanism to " and rebuild.
0 Kudos
TimP
Honored Contributor III
456 Views
It looks as if VOL99.obj may not have been rebuilt.
0 Kudos
Steven_L_Intel1
Employee
456 Views
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.
0 Kudos
davidgraham
Beginner
456 Views
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


0 Kudos
Reply