[omniORB] Can't build omniORB 4.2.2 with Visual Studio 2017
Dalecki, Janusz
jdalecki at tycoint.com
Tue Mar 13 02:08:33 GMT 2018
Hi,
I am having trouble to generate OmniORB dlls and libs.
I am running it on Windows 7 Dell Laptop platform 64bit version with Visual Studio 2017 community edition.
I have downloaded omniORB 4.2.2, Cygwin64 and Python 36_32
After following instructions from README.win32.txt:
* setting platform = x86_win32_vs_15 in config.mk,
* PYTHON = /cygdrive/c/Python/Python36-32 in x86_win32_vs_15.mk
* set path=%path%;c:\cygwin64\bin;C:\Python\Python36-32"
... this is an output from the Visual Studio 2017 console after following above steps. I am not sure whether the final error "error C2006: '#include': expected a filename, found 'identifier'" is caused by an earlier "Command not found" error or they are independent. I can't find anything useful on Internet:
C:\omniORB\src>make export
making export in src/tool...
make[1]: Entering directory '/cygdrive/c/omniORB/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory '/cygdrive/c/omniORB/src/tool/omniidl'
make[2]: /cygdrive/c/Python/Python36-32: Command not found
making export in src/tool/omniidl/cxx...
make[3]: Entering directory '/cygdrive/c/omniORB/src/tool/omniidl/cxx'
make[3]: /cygdrive/c/Python/Python36-32: Command not found
make[3]: /cygdrive/c/Python/Python36-32: Command not found
make[3]: /cygdrive/c/Python/Python36-32: Command not found
make[3]: /cygdrive/c/Python/Python36-32: Command not found
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory '/cygdrive/c/omniORB/src/tool/omniidl/cxx/cccp'
(dir="../../../../../bin/x86_win32"; files="omnicpp.exe"; for file in $files; do if [ ! -d $dir ]; then (umask 022; set -x; mkdir -p $dir); fi; dirs='. .'; case "$file" in /*) fullfile="$file";; *) fullfile=""; for _dir in $dirs;
do if [ -f $_dir/$file ]; then if [ "$_dir" = "." ]; then fullfile="$file"; else fullfile="$_dir/$file"; fi; break; fi; done; if [ ! "$fullfile" ]; then echo "ERROR: Cannot find $file in $dirs"; exit 1; fi;; esac; base=`basename $
file`; if [ -f $dir/$base ] && cmp $fullfile $dir/$base >/dev/null; then echo "File $base hasn't changed."; else (set -x; install -c $fullfile $dir); fi; done; )
File omnicpp.exe hasn't changed.
make[4]: Leaving directory '/cygdrive/c/omniORB/src/tool/omniidl/cxx/cccp'
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -EHs -GS -GR -Zi -nologo -I -DPYTHON_INCLUDE="<Python.h>" -DPYTHON_THREAD_INC="<pythread.h>" -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -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 idlpython.cc
cl -c -O2 -MD -EHs -GS -GR -Zi -nologo -I -DPYTHON_INCLUDE=<Python.h> -DPYTHON_THREAD_INC=<pythread.h> -DIDLMODULE_VERSION=\"0x2630\" -DMSDOS -DOMNIIDL_EXECUTABLE -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 'identifier'
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/c/omniORB/src/tool/omniidl/cxx'
make[2]: *** [dir.mk:16: export] Error 2
make[2]: Leaving directory '/cygdrive/c/omniORB/src/tool/omniidl'
make[1]: *** [dir.mk:22: export] Error 2
make[1]: Leaving directory '/cygdrive/c/omniORB/src/tool'
make: *** [dir.mk:26: export] Error 2
Regards,
Janusz
________________________________
This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20180313/ab48c976/attachment-0001.html>
More information about the omniORB-list
mailing list