Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

error LNK2019

Pannagendra_k_
Beginner
698 Views

hi Team,

i am working ICC compiler 2015 (Composer XE 2015).

i am facing a strange error mentioned below,

main.obj : error LNK2019: unresolved external symbol __intel_new_feature_proc_init referenced in function main.

This will occur when i build in Release x64 mode. However Debug x64 mode is working fine.

Also i am able to build same project in both modes with ICC compiler 2013 without any problem.

Please suggest me i am new to this.

 

0 Kudos
5 Replies
SergeyKostrov
Valued Contributor II
698 Views
>>... >>main.obj : error LNK2019: unresolved external symbol __intel_new_feature_proc_init referenced >>in function main. >> >>This will occur when i build in Release x64 mode. However Debug x64 mode is working fine. Take a look at Linker options for both configurations and for VS 2013 and 2015 project files ( extensions .vcproj ) to verify that they Not differ. Also, I wonder if any IPO options are used?
0 Kudos
Judith_W_Intel
Employee
698 Views

 

If you search the forum you'll see this has been asked a couple of times before:

https://software.intel.com/en-us/forums/intel-c-compiler/topic/564110

https://software.intel.com/en-us/forums/intel-c-compiler/topic/541943

Do any of these posts help?

 

0 Kudos
Pannagendra_k_
Beginner
698 Views

Hi Judith,

https://software.intel.com/en-us/forums/intel-c-compiler/topic/564110 

i tried the best flagged result from Jennifer J. (Intel). unfortunately result is same.

https://software.intel.com/en-us/forums/intel-c-compiler/topic/541943

>>Please set the project property Linker > General > Show Progress to "Show some progress messages", relink, and then post the output

i am using VS 2010, in Linker > General > Show Progress i dont have option "Show some progress messages". so i used, "Display all progress messages (/VERBOSE)". i got the below output.

main.obj : error LNK2019: unresolved external symbol __intel_new_feature_proc_init referenced in function main

i did not observed any libirc.lib in output window. please suggest.

 

0 Kudos
Pannagendra_k_
Beginner
698 Views

hi,

i would like to update my previous comment, same project is working fine in other machines for ICC compiler 2015.

i compared system variables and environmnet varibles no difference. please suggest.

0 Kudos
Pannagendra_k_
Beginner
698 Views

Hi All, thank you for your response.

i have resolved the issue now. it was path issue of intel compiler. thank you for your kind support.

0 Kudos
Reply