Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

unresolved symbol: _for_stop_core_quiet

Terry_G_
初学者
3,510 次查看

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:

https://community.intel.com/t5/Intel-C-Compiler/Visual-Studio-2019-16-8-preview-breaks-ICL-for-lt-utility-gt-AND/m-p/1214097#M37627

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?

 

 

0 项奖励
5 回复数
AbhishekD_Intel
主持人
3,491 次查看

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


0 项奖励
Terry_G_
初学者
3,486 次查看

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++.

 

 

0 项奖励
AbhishekD_Intel
主持人
3,475 次查看

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

 

0 项奖励
AbhishekD_Intel
主持人
3,372 次查看

Hi,


Please give us an update on your issues.

Are you still getting the errors from the latest compiler?


Warm Regards,

Abhishek


0 项奖励
AbhishekD_Intel
主持人
3,346 次查看

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


0 项奖励
回复