<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have linking errors like these:</div>
<div style="font-family:arial,sans-serif;font-size:13px">boxes.o : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static char const * const _CORBA_String_helper::empty_string" (__imp_?empty_string@_CORBA_String_helper@@2QEBDEB) ......<br>
</div><div style="font-family:arial,sans-serif;font-size:13px">......</div><div style="font-family:arial,sans-serif;font-size:13px"><div><font face="arial, sans-serif">deferredRequest.o : error LNK2019: unresolved external symbol "public: class omniORB::logger & __cdecl omniORB::logger::operator<<(int)" (??6logger@omniORB@@QEAAAEAV01@H@Z) referenced in function "public: class omniORB::logger & __cdecl omniORB::logger::operator<<(bool)" (??6logger@omniORB@@QEAAAEAV01@_N@Z)</font></div>
<div><font face="arial, sans-serif">typecode.o : error LNK2001: unresolved external symbol "public: class omniORB::logger & __cdecl omniORB::logger::operator<<(int)" (??6logger@omniORB@@QEAAAEAV01@H@Z)</font></div>
<div><font face="arial, sans-serif">deferredRequest.o : error LNK2019: unresolved external symbol "public: static class CORBA::Exception * __cdecl CORBA::Exception::_duplicate(class CORBA::Exception *)" (?_duplicate@Exception@CORBA@@SAPEAV12@PEAV12@@Z) referenced in function "int `public: virtual void __cdecl omni::DeferredRequest::execute(void)'::`1'::catch$0" (?catch$0@?0??execute@DeferredRequest@omni@@UEAAXXZ@4HA) etc....</font></div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">and others when compiling OmniORB4.1.6 on Windows 7 64-bit. </div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I followed the instructions in the README.win32. But I still can't get it to link properly. Compilation is ok, only the linking.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Operating System: Windows 7 64-bit</div><div style="font-family:arial,sans-serif;font-size:13px">Python: Used the python-2.7.6.amd64 msi in the website</div>
<div style="font-family:arial,sans-serif;font-size:13px">OmniOrb: 4.1.6 (just the source)</div><div style="font-family:arial,sans-serif;font-size:13px">MSVC version: 2008</div><div style="font-family:arial,sans-serif;font-size:13px">
gnuwin32: gnu-win32-lite (to use 'make' utility when compiling)</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">===================</div>
<div style="font-family:arial,sans-serif;font-size:13px"><b>Files edited:</b></div><div style="font-family:arial,sans-serif;font-size:13px">[omniroot]\config\<b><a href="http://config.mk/" target="_blank">config.mk</a></b><br>
</div><div style="font-family:arial,sans-serif;font-size:13px">Uncommented this line:</div><div style="font-family:arial,sans-serif;font-size:13px">platform = x86_win32_vs_9<br></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">[omniroot]\mk\platforms\<b><a href="http://x86_win32_vs_9.mk/" target="_blank">x86_win32_vs_9.mk</a></b><br></div><div style="font-family:arial,sans-serif;font-size:13px">
#PYTHON = $(ABSTOP)/$(BINDIR)/omnipython<br></div><div style="font-family:arial,sans-serif;font-size:13px">PYTHON = /cygdrive/c/Python27/python</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
#OPEN_SSL_ROOT = /cygdrive/c/openssl <br>(I'll just disable first to make it not too complicated)<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
=====================</div><div style="font-family:arial,sans-serif;font-size:13px"><b>PATH:</b></div><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>vcvarsall.bat x64</div>
<div>Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.</div><div><br></div><div>C:\>path</div><div>PATH=c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64;c:\Windows\</div><div>Microsoft.NET\Framework64\v3.5;c:\Windows\Microsoft.NET\Framework64\v3.5\Microso</div>
<div>ft .NET Framework 3.5 (Pre-Release Version);c:\Windows\Microsoft.NET\Framework64</div><div>\v2.0.50727;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;c:\</div><div>Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;c:\Program Files (x8</div>
<div>6)\Microsoft Visual Studio 9.0\Common7\Tools;c:\Program Files (x86)\Microsoft Vi</div><div>sual Studio 9.0\Common7\Tools\bin;C:\Program Files\\Microsoft SDKs\Windows\v6.0A</div><div>\bin\x64;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\bin\win64\x64;C:\Program</div>
<div> Files\\Microsoft SDKs\Windows\v6.0A\bin;C:\Python27;C:\Software\COTS\omniORB\om</div><div>niORB_4.1.5\bin\x86_win32;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C</div><div>:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c</div>
<div>:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\gnuwin32\;C:\gnuwin</div><div>32\bin;C:\Software\Junction</div><div style="font-weight:bold"><br></div></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Can anyone give me suggestions on what I could have missed?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Best regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Mark</div></div>