Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Tune Visual Studio Fortran,Multi Linking, error LNK2019

$
0
0

Hello,

It' s been a few time that i don't poste.

I am working, in interprocedural programming for Fortran with C.

I had a big Fortran programm who "drive" all the programm.

There is the toto.fortran programm, a Wrapper.C wich is a C programm; and a C++ programm Archi.

I created : ARCHI-RLD-1D-Wrap-3-.obj  which is the C++ object compiled with Intel C++

I created the : WRAPPER-3-.obj  which is the C object, compiled with the Intel C++; compiled as C programm

And i had the big Fortran project which I had the two object.

The Fortran "call" WRAPPER-3-.obj, and the Wrapper "call" ARCHI-RLD-1D-Wrap-3-.obj 

I had those errors :

---------------------------------------------------------------------------------------------------------------------------------------------------

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

1>Copyright (C) Microsoft Corporation.  All rights reserved.

1>Linking...

1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library

1>WRAPPER-3-.obj : error LNK2019: unresolved external symbol __init_ referenced in function __init_from_wrapper_

1>WRAPPER-3-.obj : error LNK2019: unresolved external symbol __developpe_pas_temps_ referenced in function __update_tableau_

1>WRAPPER-3-.obj : error LNK2019: unresolved external symbol __mise_a_jour_SR_ referenced in function __update_tableau_

1>WRAPPER-3-.obj : error LNK2019: unresolved external symbol __update_vecteur_densitees_racinaires_ referenced in function __update_tableau_

1>WRAPPER-3-.obj : error LNK2019: unresolved external symbol __step_imcremente_temps_archi_ referenced in function __update_tableau_

1>WRAPPER-3-.obj : error LNK2019: unresolved external symbol __get_vecteur_densitees_racinaires_ referenced in function __update_tableau_

1>ARCHI-RLD-1D-Wrap-3-.obj : error LNK2019: unresolved external symbol "float * __cdecl init_orig(void)" (?init_orig@@YAPAMXZ) referenced in function "void __cdecl _init_(void)" (?_init_@@YAXXZ)

1>Release\MIN3P-Root-BIND-V5.1.exe : fatal error LNK1120: 7 unresolved externals

1>

1>Build log written to  "file://D:\PROJET--COUPLAGE-VISUAL-SOURCES--\MIN3P-Rld-MAI-2014\MIN3P-Rld-V1-\MIN3P-Root-BIND-V5.1-\MIN3P-Root-BIND-V5.1\MIN3P-Root-BIND-V5.1\Release\BuildLog.htm"

1>MIN3P-Root-BIND-V5.1 - 8 error(s), 1 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Any one could help ??

 

Thanks in advance

Best regards

 

 


Viewing all articles
Browse latest Browse all 3270


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