[omniORB] Problem building OmniORB on Windows
Damir Dezeljin
programing at mbss.org
Wed Jun 23 11:01:08 BST 2004
Hi.
I tried to compile OmniORB and OmniORBPy on Windows, however I'm geting
following linkage errors:
----
cl -c -O2 -MD -EHs -GS -GR -Zd -nologo -I.. -I.\..
-I..\..\..\..\include\omniORB4\internal -DUSE_omniORB_logStream -
D_OMNIORB_DYNAMIC_LIBRARY -DNTArchitecture -I. -I. -I..\..\..\..\include
-D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4
-Foshared\Namingdynstub.o -TpNamingdynstub.cc
Creating library shared/omniDynamic403_rt.lib and object
shared/omniDynamic403_rt.exp
ir.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@@2QBDB)
irdynstub.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@@2QBDB)
...
----
My platform:
----
- Windows 2000 PRO sp4
- MS VS.NET 2003
- Python 2.3
----
I'm trying to compile today CVS checkout of omni4_0_develop branch.
Relevant ENV variables:
----
INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\PlatformSDK\include\prerelease;C:\Program Files\Microsoft Visual
Studio .NET 2003\VC7\PlatformSDK\include;C:\Program Files\Microsoft
Visual Studio .NET 2003\SDK\v1.1\include;
LIB=C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\LIB;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual
Studio .NET 2003\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\lib;
MSVCDir=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\bin\prerelease;C:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\Tools\bin;C:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\bin;C:\WINNT\Microsoft.NET\Framework\v1.1.4322;
C:\usr\cvs;C:\usr\gnuwin32\bin;C:\WINNT\system32;C:\WINNT;C:\Python23;
PROCESSOR_ARCHITECTURE=x86
PYTHONPATH=C:\Python23
----
%TOP%\config\config.mk contains:
----
platform = x86_nt_4.0_vs_7
----
%TOP%\mk\platforms\x86_nt_4.0_vs_7.mk contains:
----
PYTHON = /cygdrive/c/Python23/python
----
Any sugestion?
10x and regards,
Dezo
More information about the omniORB-list
mailing list