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

Unresolved externs STD::COUT

Joseph_R_
Beginner
606 Views

hi

I am getting the following unresolved externs

Using Microsoft header <iostream> with the intel compiler and I have to link with intel .libs is there anything comparable with the intel compiler for iiostream  
 

error LNK2019: unresolved external symbol "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z) referenced in function "public: void __cdecl std::_Container_base12::_Orphan_all(void)" (?_Orphan_all@_Container_base12@std@@QEAAXXZ)
1>MyExcHandler.lib(myexchandler.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z)

 

0 Kudos
3 Replies
jimdempseyatthecove
Honored Contributor III
606 Views

https://msdn.microsoft.com/en-us/library/windows/desktop/dd406935(v=vs.85).aspx
Header: Dmoimpl.h
Library: Dmoguids.lib; Msdmo.lib

Are you missing a library on your additional libraries?

Jim Dempsey

0 Kudos
Joseph_R_
Beginner
606 Views

I am using the Intel compiler for SEH many of the examples have inline assembler and I am running 64 bit code I had originally posted this problems on the CodeProject and the developer there said I was mixing Microsoft Headers with Intel .lbs when running the intel compiler can I use Microsoft headers and Microsoft .libs he pointed me to this URL   https://software.intel.com/en-us/node/709060 DO I have to use intel headers and libs  

 

 

 

0 Kudos
Judith_W_Intel
Employee
606 Views

 

What SDK are you using? The normal Parallel Studio SDK does not have its own version of the standard libraries, you should link in the Microsoft ones by default. Does SEH stand for structured exception handling?

0 Kudos
Reply