<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FR-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I found that my problem was in the config.mk file (see below). Instead of directly changing OSVERSION__=4, <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I put the line with OSVERSION__=5 in comment and add a new one with OSVERSION__=4. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>The problem was due to the backslash at end of the commented line….<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>-------- BAD ------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'># The IDL compiler doesn't write code that uses config.h, so we have to compile<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'># the generated files with a couple of extra options:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>#EXTRA_IDL_CXXFLAGS = -D__WIN32__ -D__x86__=1 -D__OSVERSION__=5 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>EXTRA_IDL_CXXFLAGS = -D__WIN32__ -D__x86__=1 -D__OSVERSION__=4 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> -D_WIN32_WINNT=0x0400 -D__NT__ -D_COS_LIBRARY<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>-------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>-------- OK ------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'># The IDL compiler doesn't write code that uses config.h, so we have to compile<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'># the generated files with a couple of extra options:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>#EXTRA_IDL_CXXFLAGS = -D__WIN32__ -D__x86__=1 -D__OSVERSION__=5 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>EXTRA_IDL_CXXFLAGS = -D__WIN32__ -D__x86__=1 -D__OSVERSION__=4 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> -D_WIN32_WINNT=0x0400 -D__NT__ -D_COS_LIBRARY<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>-------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Béat<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Obermaier, Stephen J [US] (TS) [mailto:stephen.obermaier@ngc.com] <br><b>Sent:</b> jeudi 9 février 2017 15:22<br><b>To:</b> Mauron, Beat (CH - MSS)<br><b>Subject:</b> Re: EXT :[omniORB] OmniEvent with Win10 64bits<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-family:"Calibri","sans-serif";color:black'>The byte order thing tells me you don't have the correct preprocessor definitions set to define the target platform.<o:p></o:p></span></p><p><span style='font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p><p><span style='font-family:"Calibri","sans-serif";color:black'>__WIN32__;__x86__;_WIN32_WINNT=0x0500;__NT__;__OSVERSION__=4<o:p></o:p></span></p><p><span style='font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p><p><span style='font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p><div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:12.0pt;color:#212121'><hr size=2 width="98%" align=center></span></div><div id=divRplyFwdMsg><p class=MsoNormal><b><span style='color:black'>From:</span></b><span style='color:black'> Mauron, Beat (CH - MSS) via omniORB-list <<a href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a>><br><b>Sent:</b> Thursday, February 9, 2017 5:28 AM<br><b>To:</b> <a href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a><br><b>Subject:</b> EXT :[omniORB] OmniEvent with Win10 64bits</span><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal><span lang=EN-US style='color:#212121'>Good morning,</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'> </span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>We are currently using omniORB and omniEvent in applications compiled with MSVC++ 2005 on machine running winXP.</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>Now we are going to move on win10 64bits, using MSVC++ 2015.</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>Following the instructions listed in README.FIRST.TXT and README.WIN32.TXT, I have been able to compile omniORB-4.2.1. on this new environment.</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>Now I am trying to compile omniEvent (also following README.TXT instructions) but I got this message: (I also attached the config files)</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:#212121'> </span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>C:\udevqt\addon\omniEvents-2_6_2>make</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>make -C idl all</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>make[1]: Entering directory `C:/udevqt/addon/omniEvents-2_6_2/idl'</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS 'C:\udevqt\addon\omniORB-4.2.1\idl'/COS/CosLifeCycle.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS 'C:\udevqt\addon\omniORB-4.2.1\idl'/COS/CosEventComm.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS 'C:\udevqt\addon\omniORB-4.2.1\idl'/COS/CosEventChannelAdmin.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS 'C:\udevqt\addon\omniORB-4.2.1\idl'/COS/CosTypedEventComm.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS 'C:\udevqt\addon\omniORB-4.2.1\idl'/COS/CosTypedEventChannelAdmin.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS FT.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS omniEvents.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>omniidl -bcxx -Wba -Wbh='.hh' -Wbs='.cc' -Wbd='DynSK.cc' -WbBOA -Wbuse_quotes -I'C:\udevqt\addon\omniORB-4.2.1\idl'\COS EventChannelAdmin.idl</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>cl -nologo -c -TP -IC:\\udevqt\\addon\\omniORB-4.2.1\\include -DHAVE_CONFIG_H -I../idl -I../src -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -EHsc -MD -GR -D_CRT_SECURE_NO_DEPRECATE -I. FT.cc</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>FT.cc</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>C:\udevqt\addon\omniORB-4.2.1\include\omniORB4/CORBA_sysdep_trad.h(545): fatal error C1189: #error: "The byte order of this platform is unknown"</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>make[1]: *** [FT.obj] Error 2</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>make[1]: Leaving directory `C:/udevqt/addon/omniEvents-2_6_2/idl'</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Courier New";color:#212121'>make: *** [all] Error 2</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:#212121'> </span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:#212121'> </span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>Do you have an idea about the way to solve this issue ?</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'> </span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>Many thanks </span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#212121'>Béat Mauron</span><span style='color:#212121'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:#212121'> </span><span style='color:#212121'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:12.0pt;color:#212121'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:gray'>This e-mail may contain confidential information and/or copyright material. This e-mail is intended for the use of the addressee only. Any unauthorized use may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately by using the reply facility in your e-mail software. Information contained in and/or attached to this document may be subject to Export Control Regulations of the European Community, USA or other countries. Each recipient of this document is responsible to ensure that usage and/or transfer of any information contained in this document complies with all relevant Export Control regulations. If you are in any doubt about the Export Control restrictions that apply to this information, please contact the sender immediately.<br><br>Be aware that the contents of this e-mail may be monitored to ensure compliance with the Meggitt IT User policy.</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p></div></div></div></body></html>