Discussion:
[omniORB] (no subject)
Mark Gabriel Paylaga
2014-04-11 02:19:43 UTC
Permalink
Hello,

I have linking errors like these:
boxes.o : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static char const * const _CORBA_String_helper::empty_string"
(__imp_?empty_string at _CORBA_String_helper@@2QEBDEB) ......
......
deferredRequest.o : error LNK2019: unresolved external symbol "public:
class omniORB::logger & __cdecl omniORB::logger::operator<<(int)"
(??6logger at omniORB@@QEAAAEAV01 at ***@Z) referenced in function "public: class
omniORB::logger & __cdecl omniORB::logger::operator<<(bool)"
(??6logger at omniORB@@QEAAAEAV01 at ***@Z)
typecode.o : error LNK2001: unresolved external symbol "public: class
omniORB::logger & __cdecl omniORB::logger::operator<<(int)"
(??6logger at omniORB@@QEAAAEAV01 at ***@Z)
deferredRequest.o : error LNK2019: unresolved external symbol "public:
static class CORBA::Exception * __cdecl CORBA::Exception::_duplicate(class
CORBA::Exception *)" (?_duplicate at ***@CORBA@@SAPEAV12 at PEAV12@@Z)
referenced in function "int `public: virtual void __cdecl
omni::DeferredRequest::execute(void)'::`1'::catch$0" (?catch$0@
?0??execute at ***@omni@@UEAAXXZ at 4HA) etc....

and others when compiling OmniORB4.1.6 on Windows 7 64-bit.

I followed the instructions in the README.win32. But I still can't get it
to link properly. Compilation is ok, only the linking.

Operating System: Windows 7 64-bit
Python: Used the python-2.7.6.amd64 msi in the website
OmniOrb: 4.1.6 (just the source)
MSVC version: 2008
gnuwin32: gnu-win32-lite (to use 'make' utility when compiling)

===================
*Files edited:*
[omniroot]\config\*config.mk <http://config.mk/>*
Uncommented this line:
platform = x86_win32_vs_9

[omniroot]\mk\platforms\*x86_win32_vs_9.mk <http://x86_win32_vs_9.mk/>*
#PYTHON = $(ABSTOP)/$(BINDIR)/omnipython
PYTHON = /cygdrive/c/Python27/python

#OPEN_SSL_ROOT = /cygdrive/c/openssl
(I'll just disable first to make it not too complicated)

=====================
*PATH:*

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>vcvarsall.bat x64
Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.

C:\>path
PATH=c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\amd64;c:\Windows\
Microsoft.NET\Framework64\v3.5;c:\Windows\Microsoft.NET\Framework64\v3.5\Microso
ft .NET Framework 3.5 (Pre-Release
Version);c:\Windows\Microsoft.NET\Framework64
\v2.0.50727;c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\VCPackages;c:\
Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;c:\Program
Files (x8
6)\Microsoft Visual Studio 9.0\Common7\Tools;c:\Program Files
(x86)\Microsoft Vi
sual Studio 9.0\Common7\Tools\bin;C:\Program Files\\Microsoft
SDKs\Windows\v6.0A
\bin\x64;C:\Program Files\\Microsoft
SDKs\Windows\v6.0A\bin\win64\x64;C:\Program
Files\\Microsoft
SDKs\Windows\v6.0A\bin;C:\Python27;C:\Software\COTS\omniORB\om
niORB_4.1.5\bin\x86_win32;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C
:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c
:\Program Files (x86)\Microsoft SQL
Server\90\Tools\binn\;C:\gnuwin32\;C:\gnuwin
32\bin;C:\Software\Junction


Can anyone give me suggestions on what I could have missed?

Best regards,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20140411/c98e8468/attachment.html>
Loading...