Discussion:
[omniORB] Static libraries
Mirosław Madej
2008-06-19 17:41:17 UTC
Permalink
I try to build OmniORB with MinGW but it fails all the time with some errors
about Python.
But Could anyone send me only the static libraries from OmniORB distro
compiled under MinGW?? I need them to compile application that is written in
Qt and uses OmniORB and ofcouurse on Windows Qt apps are compiled under
MinGW so I think that I need only these libraries to compile my application.
And that's why I tried to compile OmniORB with MinGW.

Errors that I have are that kind:

idlpython.cc :498 error: 'PyList_SetItem' undeclared <first use this
function>

It seems like compiler can't find Python includes, I don't know why?? I
made everything from Readme_win32.txt (or something like that). I don't know
how to apply that patch for mingw compiler(what commends etc.) So I only
didn't apply the patch.
--
Mirek Madej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080619/78899acd/attachment.htm
Mirosław Madej
2008-06-19 17:42:27 UTC
Permalink
I try to build OmniORB with MinGW but it fails all the time with some errors
about Python.
But Could anyone send me only the static libraries from OmniORB distro
compiled under MinGW?? I need them to compile application that is written in
Qt and uses OmniORB and ofcouurse on Windows Qt apps are compiled under
MinGW so I think that I need only these libraries to compile my application.
And that's why I tried to compile OmniORB with MinGW.

Errors that I have are that kind:

idlpython.cc :498 error: 'PyList_SetItem' undeclared <first use this
function>

It seems like compiler can't find Python includes, I don't know why?? I
made everything from Readme_win32.txt (or something like that). I don't know
how to apply that patch for mingw compiler(what commends etc.) So I only
didn't apply the patch.
--
Mirek Madej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080619/d7505455/attachment.htm
julio teca
2008-06-19 20:37:06 UTC
Permalink
Miroslaw,

Have you set up correctly <omniORB_src_dir>/mk/platforms/x86_win32_mingw.mk?

You should specify something like:
PYTHON = /usr/bin/python
in this file.

You must have a working python installation in order to build omniORB. It is
required by
the omniidl tool.

But I think I have bad news for you. We are trying to do the same thing. As
far as I know
omniORB can not be build over MinGW. In the first place we have that MinGW
offers a very limited subset of Posix commands. omniORB uses Posix. In the
second place, I obtained a number of warnings regarding the lack of some
Cygwin DLLs before the build crashed.

Let me know if you have more luck than me!

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080619/af261d3b/attachment.htm
Continue reading on narkive:
Loading...