[omniORB] Using omniORB libraries with Visual C++ 2003/7.1
Jan Olderdissen
jan at ixiacom.com
Fri Oct 8 13:26:38 BST 2004
Kelvin,
I've come up with the following procedure for doing this with 4.0.3:
-------------------------------
1. Install python 2.3.4
2. Install cygwin with at least make (not sure what else is needed)
3. untar omniORB tar.gz (tar xzf omniORB-4.0.3.tar.gz) to omniorb/main/src
4. untar omniORBpy tar.gz (tar xzf ../../../omniORBpy-2.3.tar.gz) to
omniorb/main/src/omniORB-4.0.3/src/lib
5. Cofigure sources as per readmes
6. Run vsvars32.bat from visual studio 7 (it's in Common7/Tools) from a DOS
box
7. Start up cygwin with \cygwin\bin\bash --login -i
8. CD to omniorb/main/src/omniORB-4.0.3/src
9. Run 'make export'
10. CD to omniorb/main/src/omniORB-4.0.3/src/lib/omniORBpy-2.3
11. Run 'make export'
Note:
If you run into this error when building omniorb
make[3]: *** No rule to make target `//c/python22/include/Python.h', needed
by `
idlpython.d'. Stop.
Run 'rm tool/omniidl/cxx/*.d' to fix it. You'll run into this every time you
rebuild omniorb.
-------------------------------
The tricky bit is in steps 6 and 7.
Note that the unpatched 4.0.4 is a bit broken on Windows if memory serves.
Jan
-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Kelvin Lam
Sent: Friday, October 08, 2004 11:54 AM
To: omniorb-list at omniorb-support.com
Subject: [omniORB] Using omniORB libraries with Visual C++ 2003/7.1
Maks,
I found that you were able to build omniORB 4.0.4 from scretch in VC7? I
have WinXP Pro with Visual Studio .NET 2003, and I'm having difficulty to
compile from src. Would you be kind enough to give me some pointers?
I'm very new with omniORB and want to first at least get some examples to
compile. Right now, nothing compile for me :-(
Thank.
Kelvin
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list