Quantcast
Channel: Intel® Fortran Composer XE
Viewing all articles
Browse latest Browse all 1424

MS VC DLL linking with IVF static library

$
0
0

I have some unresolved symbol issues. First background

Solution has a C# project that uses an MS VC++ .DLL also in the solution, the DLL in turn links with an IVF static library. I am receiving linking errors when linking the .DLL. I have resolved most of the unresolved symbols excepting for:

error LNK2001: unresolved external symbol for_check_mult_overflow64
error LNK2001: unresolved external symbol for_alloc_allocatable
error LNK2001: unresolved external symbol for_dealloc_allocatable
error LNK2001: unresolved external symbol for_stop_core
error LNK2019: unresolved external symbol for_cpystr
error LNK2019: unresolved external symbol d_int_val
error LNK2019: unresolved external symbol for_fp_class_s_
error LNK2019: unresolved external symbol for_fp_class_t_
error LNK2019: unresolved external symbol for_fp_class_x_
error LNK2019: unresolved external symbol for_is_nan_s_
error LNK2019: unresolved external symbol __for_ieee_set_flag_
error LNK2019: unresolved external symbol for_is_nan_t_
error LNK2019: unresolved external symbol for_is_nan_x_
error LNK2019: unresolved external symbol for_get_fpe_
error LNK2019: unresolved external symbol for_exponent4_v
error LNK2019: unresolved external symbol for_exponent8_v
error LNK2019: unresolved external symbol for_exponent16_v
error LNK2019: unresolved external symbol __for_ieee_next_after_k4_8
error LNK2019: unresolved external symbol __for_ieee_next_after_k8_
error LNK2019: unresolved external symbol __for_ieee_next_after_k16_
error LNK2019: unresolved external symbol __for_ieee_rem_k8_
error LNK2019: unresolved external symbol __for_ieee_rem_k16_
error LNK2019: unresolved external symbol __for_ieee_scalb_k44_
error LNK2019: unresolved external symbol __for_ieee_scalb_k84_
error LNK2019: unresolved external symbol __for_ieee_scalb_k164_
error LNK2019: unresolved external symbol for_set_fpe_
error LNK2019: unresolved external symbol __for_ieee_get_flag_
error LNK2019: unresolved external symbol __for_ieee_set_halting_mode_
error LNK2019: unresolved external symbol __for_ieee_get_halting_mode_

The solution also contains and IVF test program that links with the IFV static library. The test program links and runs properly.

Compiling the C++ project with Intel C++ has issues with namespace System.

I haven't tried making my Fortran static library into a .DLL. I though I'd ask before going that route.

Jim Dempsey


Viewing all articles
Browse latest Browse all 1424

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>