[omniORB] Please add support for building with VisualStudio14
szyk100
szyk100 at o2.pl
Tue Aug 11 10:47:01 BST 2015
Hello
BTW: I wonder why return adress for that message is not to mailing list but to person? It is error prone - should I correct that adress manually every time I want to respond?
I encountered two errors when I try compile omniorb. First: lack cl in the PATH, and second it don't see io.h (whitch is moved to different directory - details below).
Below error is due to lack cl in the PATH (no mentioned in omniorb documentation):
$ make export
making export in src/tool...
make[1]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx/cccp'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o cexp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o cexp.c
cl: No such file or directory
../../../../../mk/win32.mk:487: recipe for target 'cexp.o' failed
make[4]: *** [cexp.o] Error 1
make[4]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx/cccp'
dir.mk:21: recipe for target 'export' failed
make[3]: *** [export] Error 1
make[3]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx'
dir.mk:16: recipe for target 'export' failed
make[2]: *** [export] Error 1
make[2]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl'
dir.mk:22: recipe for target 'export' failed
make[1]: *** [export] Error 1
make[1]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool'
dir.mk:26: recipe for target 'export' failed
make: *** [export] Error 1
But I typed that command:
$ export PATH=$PATH:/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 14.0/VC/bin/
and it now see cl.exe
Below error is caused by lack io.h in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
Because it is in:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
And I can't solve it. Please help me with that.
Komp at Patatajnia /cygdrive/c/!-pro/lib/omniORB-4.2.0/src
$ make export
making export in src/tool...
make[1]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx/cccp'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o cexp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o cexp.c
cexp.c
c:\!-pro\lib\omniorb-4.2.0\src\tool\omniidl\cxx\cccp\config-windows.h(1): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
../../../../../mk/win32.mk:487: recipe for target 'cexp.o' failed
make[4]: *** [cexp.o] Error 2
make[4]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx/cccp'
dir.mk:21: recipe for target 'export' failed
make[3]: *** [export] Error 1
make[3]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl/cxx'
dir.mk:16: recipe for target 'export' failed
make[2]: *** [export] Error 1
make[2]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool/omniidl'
dir.mk:22: recipe for target 'export' failed
make[1]: *** [export] Error 1
make[1]: Leaving directory '/cygdrive/c/!-pro/lib/omniORB-4.2.0/src/tool'
dir.mk:26: recipe for target 'export' failed
make: *** [export] Error 1
regards
Szyk Cech
Dnia 11 sierpnia 2015 11:00 Duncan Grisby <duncan at grisby.org> napisał(a):
>
> > On Mon, 2015-08-10 at 21:31 +0200, szyk100 wrote:
>
> > Hi I try build omniorb with Cygwin (failed), Mingw(failed) both due to
> > some compiler errors. Now I try build it with Visual Studio 14 but it
> > also failed because it is different from previous versions (notably
> > diffrent from VS10). They added "Universal CRT" to Visual C++ and the
> > result is that it don't see io.h file (and probably many others).
>
> What exactly did you do, and what exactly failed? It compiles fine for
> me with Visual Studio 2015 (also known as VS 14).
>
> Duncan.
>
>
More information about the omniORB-list
mailing list