[omniORB] re: ANNOUNCE: omniORB 4.1.0 RC 2 and omniORBpy 3.0 RC 2
OKeeffe, Michael K
MOKEEFFE at amfam.com
Tue Nov 28 10:33:35 GMT 2006
The 4.1 source compiles fine, and our test scripts ran successfully for
VC6, thanks for the great work!
A couple points on the documentation and make files for building the new
release (just 4.1.0 RC 2, not omniORBpy), that might be useful to folks
like me who are not expert C++ hackers:
1. In the README.win32.txt file, under "Building omniORB from the
source files", step B refers to the old platforms (x86_nt_*), as does
the example in step C. The ./config/config.mk correctly refers to the
new files (x86_win32_*).
2. You now need to have the Visual Studio MFC/include directory in your
include path, since, at minimum, the file afxres.h is required, which
previously was not. The README is correct since it recommends running
Visual Studio's VCVARS32.bat which would set the correct path, however
if you previously had a lean and mean path, you'll need to change that
to compile the source.
3. In the make files for Visual Studio, there are a bunch of new flags
- whether to build multithread dlls, multithreaded debug dlls,
multithread static lib, and multithread static debug lib. You'd think
from the comment line below (which is after the multithreaded dll flags)
that you should build _either_ static libs _or_ dlls, but currently all
flags are uncommented.
[snip]
#
# Or
#
# Use the following set of flags to build and use multithread static
libraries
#
[snip]
Leaving all the flags uncommented works fine, and builds both .dlls and
static libs, however if you think you will save some build cycles by
commenting out the .dll section, for example, it won't work (similar
error if static section commented out):
Microsoft (R) Library Manager Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -D_OMNITHREAD_DLL -I.
-I. -I.
./../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__
-D__OSVERSI
ON__=4 -Foshared/nt.o nt.cc
cl -c -O2 -D_OMNITHREAD_DLL -I. -I. -I..\..\..\include -D__WIN32__
-D_WIN32_WINN
T=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Foshared\nt.o -Tpnt.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
nt.cc
nt.cc(615) : error C2065: '_beginthreadex' : undeclared identifier
nt.cc(792) : error C2065: '_endthreadex' : undeclared identifier
More information about the omniORB-list
mailing list