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

unresolved external symbol for_dealloc_allocatable_handle referenced in function

DougR
Beginner
447 Views

I am migrating from Intel FORTRAN 2018 to the current version and am getting a bunch of unresolved externals relating to allocatable variables.  It is pretty generic FORTRAN and has been through many compilers without issue until now.

 

>Model003_lib.lib(solver.obj) : error LNK2019: unresolved external symbol for_dealloc_allocatable_handle referenced in function SOLVE
1>Model003_lib.lib(solver.obj) : error LNK2019: unresolved external symbol for_alloc_allocatable_handle referenced in function SOLVE

 

Am I missing a library or something?  Using Visual Studio 2022 and 2026 with FORTRAN integrated into it.

 

Any help would be greatly appreciated.

 

Thanks.

0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
425 Views

An error of this nature usually indicates that you are linking to language libraries older than the compiler.

Reply