- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Any suggestions?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the prompt reply!
Well....
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++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please give us an update on your issues.
Are you still getting the errors from the latest compiler?
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Warm Regards,
Abhishek
![](/skins/images/9DC05BB6E5999F99F35389BFB16D84DF/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page