I have a numerical model with Fortran, "C" and C++ libraries called from a "C" main.
I use Intel Fortran and Intel C++/C compilers for compiling the project.
After a Visual Studio update, Intel C++/C stopped working.
Found this link which describes my problem:
An Intel guru on that thread suggested using "oneAPI".
Downloaded it and modified my VS solution.
I can compile this numerical model (7 Libs - mixed Fortran, C and C++) and a C main - but I am getting one unresolved reference:
"error LNK2019: unresolved external symbol _for_stop_core_quit ..."
"_for_stop_core_quit" is not one of my functions.
Thanks for reaching out to us.
Please let us know the version of your OneAPI toolkits.
Also, wanted confirmation, are you using VS 2019 16.8 preview? If not then please give us your VS version.
And send us a small reproducer with the steps that you have followed, so that it will help us to get more insight into the problem.
Thanks for the prompt reply!
I started to build a "reduced sub-model" to duplicate the error.
I discovered that I was compiling the "C" and "C++" libraries with Intel C++ 19.2.
But, I was compiling the main app with Intel C++ 19.0.
Setting the main app to be compiled with Intel C++ 19.2 solved the problem.
So - the problem only occurs if I mix libraries/app with differing versions of Intel C++.
Thanks for the confirmation.
It is recommended to build your complete project with the latest Intel oneAPI C compiler which comes with the latest basekit, even if you are getting errors with the latest compiler do let us know.
We will try to resolve the problem.
We are assuming that the provided details have solved your issues. We will no longer monitor this thread.
Please post a new thread if you have any other issues.