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

On the problem that I submitted on 11 September

Edward99
Beginner
278 Views

following this thread: https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-VS2022-static-Fortran-library-called-on-a-Cpp-project/m-p/1716222#M177085

First, thanks for the replay. I managed to progress a bit.

 

"Also I switched the C++ Project to use the Intel C++ compiler" - can this cause the problem with the link that I now have with "unresolved symbols" Fortran functions ? 

I must emphasize that the problem manifests itself only on VS2022, when I compile and link on the OneHpc terminal I am able to compile, link and run correctly.

I am pretty knowledgeable on Visual C++ on al its versions and know how to build and use a static Fortran library for  a C++ application.

Can you perhaps guide me where was the change of compilers done?

 

The test program received from you worked, but with other projects and functions (with or without arguments) that are similar to the test program, still suffer from unresolved symbols  .

If it is not a problem suitable to this community please excuse me.

I attach an example of the problem in VS2022.

0 Kudos
0 Replies
Reply