<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>I&#8217;ve been trying to build and run omniNotify 2.1 with
Visual Studio 2008 (aka Visual Studio 9.0), and have been having
problems.&nbsp; I fixed the compile errors changing &#8220;#include
&lt;iostream.h&gt;&#8221; to &#8220;#include &lt;iostream&gt;&#8221; and
putting in &#8220;using namespace std;&#8221; where needed.&nbsp; However, in
trying to build the shared libraries (and shared debug libraries), I get errors
from the linker about undefined symbols.&nbsp; I have explicitly forced &#8220;msvcprt.lib&#8221;
into the linker command, but I get the same set of undefined symbols.&nbsp; I&#8217;ve
got some of the undefined symbols (and the commands) down below.&nbsp; I was
able to find these symbols in msvcurt.lib (I did a brute force findstr on all
the libraries in the same directory as the C++ runtime library). &nbsp;But that
library is for Microsoft&#8217;s &#8220;Common Language Runtime&#8221;.&nbsp; How
can I build so that I don&#8217;t need those symbols?:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>+
../../../../bin/x86_win32/linkwrapper -gnuwin32
-out:shared/COSNotify413_vc9_rt.dll -DLL -nologo -DEBUG
-def:shared/COSNotify4.def -IMPLIB:shared/COSNotify413_rt.lib
-libpath:../../../../lib/x86_win32 shared/RDIInteractive.o
shared/ChannelAdmin_i.o shared/corba_wrappers_impl.o shared/CosEventProxy.o
shared/CosNfyUtils.o shared/CosNotification.o shared/EventChannel_i.o
shared/FilterAdmin_i.o shared/Filter_i.o shared/omniNotify.o
shared/ProxyConsumer.o shared/ProxySupplier.o shared/RDI.o
shared/RDIstrstream.o shared/RDIChannelUtil.o shared/RDIConfig.o
shared/RDIConstraint.o shared/RDIDynamicEval.o shared/RDIEval.o
shared/RDIEventQueue.o shared/RDINotifQueue.o shared/RDINotifServer.o
shared/RDIOplocks.o shared/RDIOpSeq.o shared/RDIParser_l.o shared/RDIParser_y.o
shared/RDIRVM.o shared/RDIRVMPool.o shared/RDIStaticEval.o
shared/RDITimeWrappers.o shared/RDITypeMap.o omniORB413_rt.lib
omniDynamic413_rt.lib omnithread34_rt.lib ws2_32.lib mswsock.lib advapi32.lib
COS413_rt.lib COSDynamic413_rt.lib AttNotification413_rt.lib msvcprt.lib
msvcrt.lib shared/COSNotify413_vc9_rt.res<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>shared\COSNotify4.def(1)
: warning LNK4093: Drive/Directory component ignored in 'LIBRARY' statement<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>&nbsp;&nbsp;
Creating library shared/COSNotify413_rt.lib and object
shared/COSNotify413_rt.exp<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>COSNotify413_rt.exp
: error LNK2001: unresolved external symbol &quot;char * __cdecl
std::_Allocate&lt;char&gt;(unsigned int,char *)&quot;
(??$_Allocate@D@std@@YAPADIPAD@Z)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>COSNotify413_rt.exp
: error LNK2001: unresolved external symbol &quot;struct
std::_Secure_char_traits_tag __cdecl std::_Char_traits_cat&lt;struct
std::char_traits&lt;char&gt; &gt;(void)&quot;
(??$_Char_traits_cat@U?$char_traits@D@std@@@std@@YA?AU_Secure_char_traits_tag@0@XZ)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>COSNotify413_rt.exp
: error LNK2001: unresolved external symbol &quot;char * __cdecl
std::_Traits_helper::copy_s&lt;struct std::char_traits&lt;char&gt; &gt;(char
*,unsigned int,char const *,unsigned int)&quot;
(??$copy_s@U?$char_traits@D@std@@@_Traits_helper@std@@YAPADPADIPBDI@Z)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>COSNotify413_rt.exp
: error LNK2001: unresolved external symbol &quot;char * __cdecl
std::_Traits_helper::copy_s&lt;struct std::char_traits&lt;char&gt; &gt;(char
*,unsigned int,char const *,unsigned int,struct
std::_Secure_char_traits_tag)&quot; (??$copy_s@U?$char_traits@D@std@@@_Traits_helper@std@@YAPADPADIPBDIU_Secure_char_traits_tag@1@@Z)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>shared\COSNotify413_vc9_rt.dll
: fatal error LNK1120: 25 unresolved externals<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>link
-out:shared\COSNotify413_vc9_rt.dll -DLL -nologo -DEBUG
-def:shared\COSNotify4.def -IMPLIB:shared/COSNotify413_rt.lib
-libpath:..\..\..\..\lib\x86_win32 shared\RDIInteractive.o
shared\ChannelAdmin_i.o shared\corba_wrappers_impl.o shared\CosEventProxy.o
shared\CosNfyUtils.o shared\CosNotification.o shared\EventChannel_i.o
shared\FilterAdmin_i.o shared\Filter_i.o shared\omniNotify.o
shared\ProxyConsumer.o shared\ProxySupplier.o shared\RDI.o
shared\RDIstrstream.o shared\RDIChannelUtil.o shared\RDIConfig.o
shared\RDIConstraint.o shared\RDIDynamicEval.o shared\RDIEval.o
shared\RDIEventQueue.o shared\RDINotifQueue.o shared\RDINotifServer.o
shared\RDIOplocks.o shared\RDIOpSeq.o shared\RDIParser_l.o shared\RDIParser_y.o
shared\RDIRVM.o shared\RDIRVMPool.o shared\RDIStaticEval.o
shared\RDITimeWrappers.o shared\RDITypeMap.o omniORB413_rt.lib
omniDynamic413_rt.lib omnithread34_rt.lib ws2_32.lib mswsock.lib advapi32.lib
COS413_rt.lib COSDynamic413_rt.lib AttNotification413_rt.lib msvcprt.lib
msvcrt.lib shared\COSNotify413_vc9_rt.res<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p></o:p></span></p>

</div>

</body>

</html>