[omniORB] Windows 7 VS 2015 build fail

dean Kaplan kaplandjk at gmail.com
Wed Jan 31 14:41:14 GMT 2018


You need to be 64 bit Python. 

Make sure u use the correct command prompt (native 64bit). It’s hidden down the tree a bit. Killed me. 

Dean Kaplan
Kapsoft


Sent from my iPhone
Please excuse typos

> On Jan 30, 2018, at 10:49 PM, Cyunkai via omniORB-list <omniorb-list at omniorb-support.com> wrote:
> 
> Hi there,
> 
> I am a rookie of using omniORB.
> I got the same problem when built omniORB 4.2.2 libraries.
> My environment is similar to Dean's - Windows 7 Professional x64 and Visual Studio 2015.
> 
> I have reinstalled Python to let its path matches the need (C:\Python36\python).
> Both Cygwin and Python installed are 32bit version.
> 
> The python setting in x86_win32_vs_14.mk:
> PYTHON = /cygdrive/c/Python36/python
> 
> Here is my built log
> 
> D:\Projects\Libraries\omniORB-4.2.2\src>make export
> making export in src/tool...
> make[1]: Entering directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/to
> ol'
> making export in src/tool/omniidl...
> make[2]: Entering directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/to
> ol/omniidl'
> make[2]: /cygdrive/c/Python36/python: Command not found
> making export in src/tool/omniidl/cxx...
> make[3]: Entering directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/to
> ol/omniidl/cxx'
> make[3]: /cygdrive/c/Python36/python: Command not found
> make[3]: /cygdrive/c/Python36/python: Command not found
> make[3]: /cygdrive/c/Python36/python: Command not found
> make[3]: /cygdrive/c/Python36/python: Command not found
> making export in src/tool/omniidl/cxx/cccp...
> make[4]: Entering directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/to
> ol/omniidl/cxx/cccp'
> .
> .
> .
> .
> ../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -EHs -GS -GR -Zi -nolog
> o -I -DPYTHON_INCLUDE="<Python.h>" -DPYTHON_THREAD_INC="<pythread.h>" -DIDLMODUL
> E_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I. -I. -I../../../../includ
> e -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_
> SECURE_NO_DEPRECATE=1 -Foidlpython.o idlpython.cc
> cl -c -O2 -MD -EHs -GS -GR -Zi -nologo -I -DPYTHON_INCLUDE=<Python.h> -DPYTHON_T
> HREAD_INC=<pythread.h> -DIDLMODULE_VERSION=\"0x2630\" -DMSDOS -DOMNIIDL_EXECUTAB
> LE -I. -I. -I..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D_
> _NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foidlpython.o -Tpidlpython
> .cc
> idlpython.cc
> idlpython.cc(31): error C2006: '#include': expected a filename, found 'identifie
> r'
> idlpython.cc(31): fatal error C1083: Cannot open include file: '': No such file
> or directory
> make[3]: *** [../../../../mk/win32.mk:490: idlpython.o] Error 2
> make[3]: Leaving directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/too
> l/omniidl/cxx'
> make[2]: *** [dir.mk:16: export] Error 2
> make[2]: Leaving directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/too
> l/omniidl'
> make[1]: *** [dir.mk:22: export] Error 2
> make[1]: Leaving directory '/cygdrive/d/Projects/Libraries/omniORB-4.2.2/src/too
> l'
> make: *** [dir.mk:26: export] Error 2
> 
> D:\Projects\Libraries\omniORB-4.2.2\src>
> 
> Does anyone know where went wrong?
> Thank you.
> 
> CyunKai Huang
> 
> -----Original Message-----
> From: Duncan Grisby via omniORB-list [mailto:omniorb-list at omniorb-support.com] 
> Sent: Tuesday, January 30, 2018 6:10 PM
> To: Dean Kaplan; omniorb-list at omniorb-support.com
> Subject: Re: [omniORB] Windows 7 VS 2015 build fail
> 
>> On Mon, 2018-01-29 at 23:57 -0500, Dean Kaplan via omniORB-list wrote:
>> 
>> I'm new to omniOrb and can NOT build the system. I think I followed 
>> the directions, but something is wrong. Windows 7, Visual Studio 2015 
>> (#14).
> 
> [...]
>> make[3]: /cygdrive/c/Python36: Command not found
>> make[3]: /cygdrive/c/Python36: Command not found
> 
> That shows the problem. In your platform makefile, mk/platforms/x86_win32_vs_14.mk, you presumably have:
> 
> PYTHON = /cygdrive/c/Python36
> 
> when actually you need
> 
> PYTHON = /cygdrive/c/Python36/python
> 
> 
> Duncan.
> 
> -- 
> -- Duncan Grisby         --
>  -- duncan at grisby.org     --
>   -- http://www.grisby.org --
> 
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
> 
> _________________________________________________________________________________________________________________________
> 
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> 
> <Screenshot_013118_104025_AM.jpg>
> _______________________________________________
> 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