Hi<br />Omniorb echo example run without problems (VS15 64bit).<br />I wonder if Omniorb and Qt is compatible on Windows. I try to compile examples from<br /><a href="https://github.com/liangqi/qt-omniorb">https://github.com/liangqi/qt-omniorb</a><br />But I cant run this examples because I have got strange compiler error:<br /><br />        cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -EHsc /Fddebug\eg1.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I. -I..\..\..\..\x-unix\omniORB\include -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include\QtCore -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include\QtGui -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include\QtANGLE -Idebug -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\mkspecs\win32-msvc2015 -Fodebug\ @C:\Users\Komp\AppData\Local\Temp\nmD582.tmp<br />omniorbthread.cpp<br />C:\x-unix\omniORB\include\omniORB4/CORBA_sysdep_trad.h(545): fatal error C1189: #error:  "The byte order of this platform is unknown"<br />echo.cpp<br />C:\x-unix\omniORB\include\omniORB4/CORBA_sysdep_trad.h(545): fatal error C1189: #error:  "The byte order of this platform is unknown"<br />Generating Code...<br />NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'<br />Stop.<br />NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'<br />Stop.<br /><br /><br />So the byte order is not set for x64 in configuration. I can fix it.<br />But another problem arises. It require pthread.h to compile under windows nt!!!<br /><br /><br />        cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -EHsc /Fddebug\eg1.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I. -I..\..\..\..\x-unix\omniORB\include -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include\QtCore -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include\QtGui -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\include\QtANGLE -Idebug -I..\..\..\..\x-unix\qt5.5.0\5.5\msvc2015_64\mkspecs\win32-msvc2015 -Fodebug\ @C:\Users\Komp\AppData\Local\Temp\nm56DA.tmp<br />omniorbthread.cpp<br />C:\x-unix\omniORB\include\omnithread/posix.h(39): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory<br />echo.cpp<br />C:\x-unix\omniORB\include\omnithread/posix.h(39): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory<br />Generating Code...<br />NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'<br />Stop.<br />NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'<br />Stop.<br /><br /><br />It is strange as I have followed lines in omniorb/mk/win32.mk<br /># Use native win32 threads<br />ThreadSystem = NT<br /><br /># Use pthread_nt, comment out ThreadSystem line above and uncomment the<br /># following 2 lines.<br />#ThreadSystem = NTPosix<br />#OMNITHREAD_CPPFLAGS= -D__POSIX_NT__<br /><br />So I expect it use native NT threads.<br /><br />Please tell me what do I should to do with that error. <br />Or maybe you can confirm that Omniorb with Qt on Windows x64 is not compatible?<br /><br />regards<br />Szyk Cech