Discussion:
[omniORB] win64 question
Matthew Bettencourt
2006-10-23 21:24:50 UTC
Permalink
I get an error when try to build omniORB (both 4.0.7 and 4.1rc1) on a
win64 machine. The compile stops when it trys to run omniidl. When i
run it by hand I get a dll error
"The applicaion has faild to start because MSVCR80.dll was not found..."

I find many copies, many are in my search path as well.

I see which compiler i am using
C:\Program Files (x86)\Microsoft Visual Studio 8\VC>which cl
/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/VC/BIN/amd64/cl

So, i try to force the issue and grab the one i think it needs from here
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\redist\amd64\Microsoft.VC80.CRT

now i get runtime error
an application has made an attempt to load the c runtime librart
incorrectly.

I check other applications in that dir. omkdpend/libwrapper and they
both work w/ the msvsr80.dll in my dir and out so i am guessing it isn't
an install issue for MSVC but something else??

I have a 1/2 cocked thoery. that this is related to python. i know that
omniidl uses python libs and if for somereason i don't have matching
libs for python and omniORB then i am fubar'ed?? I am using
python-2.5.amd64.msi

Thanks
Matt
PS, as you may have gathered, i am not a windows person. what is ldd
for windows so i can check dependencies.?
Thanks
M
Matthew Bettencourt
2006-10-23 22:02:14 UTC
Permalink
Oddity and more info
When the binary is in the src/tool/omniidl/cxx dir it runs. I found out
about depends.exe under windows and it says it is getting the following dll.
c:\windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_3fea50ad\MSVCR80.DLL
however, if i copy it to the bin dir, it doesn't run and depends doesn't
find the msvcr80.dll (I have taken all out of my path BTW). If i copy
the one listed above into the bin/x86_win32 dir, it dies w/ the invalid
attempt to load the dll file.

I have more info and more confusion at this point, ideas?

Thanks,
Matt
Post by Matthew Bettencourt
I get an error when try to build omniORB (both 4.0.7 and 4.1rc1) on a
win64 machine. The compile stops when it trys to run omniidl. When i
run it by hand I get a dll error
"The applicaion has faild to start because MSVCR80.dll was not found..."
I find many copies, many are in my search path as well.
I see which compiler i am using
C:\Program Files (x86)\Microsoft Visual Studio 8\VC>which cl
/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/VC/BIN/amd64/cl
So, i try to force the issue and grab the one i think it needs from here
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\redist\amd64\Microsoft.VC80.CRT
now i get runtime error
an application has made an attempt to load the c runtime librart
incorrectly.
I check other applications in that dir. omkdpend/libwrapper and they
both work w/ the msvsr80.dll in my dir and out so i am guessing it isn't
an install issue for MSVC but something else??
I have a 1/2 cocked thoery. that this is related to python. i know that
omniidl uses python libs and if for somereason i don't have matching
libs for python and omniORB then i am fubar'ed?? I am using
python-2.5.amd64.msi
Thanks
Matt
PS, as you may have gathered, i am not a windows person. what is ldd
for windows so i can check dependencies.?
Thanks
M
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Peter Klotz
2006-10-23 22:30:03 UTC
Permalink
Post by Matthew Bettencourt
Oddity and more info
When the binary is in the src/tool/omniidl/cxx dir it runs. I found out
about depends.exe under windows and it says it is getting the following dll.
c:\windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_3fea50ad\MSVCR80.DLL
however, if i copy it to the bin dir, it doesn't run and depends doesn't
find the msvcr80.dll (I have taken all out of my path BTW). If i copy
the one listed above into the bin/x86_win32 dir, it dies w/ the invalid
attempt to load the dll file.
I have more info and more confusion at this point, ideas?
You need the compiler generated manifest files in order to compile
omniORB 4.0.7 with VS2005.

See here for a short explanation:

http://www.omniorb-support.com/pipermail/omniorb-list/2006-April/027643.html

Best regards, Peter.
Matthew Bettencourt
2006-10-23 23:44:25 UTC
Permalink
That fixed the first problem. I am now having problems with omniidl in a
different way. I had to set pythonpath
PYTHONPATH=C:\Python25;C:\Python25\Lib;C:\Python25\DLLs
and that let omniidl run w/o getting an import os error.

make[2]: Entering directory `/cygdrive/c/Documents and
Settings/hpctest/Desktop/
MCEL Complete/omniORB-4.0.7/src/lib/omniORB'
../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T -bcxx -Wbh=.hh
-Wbs=SK.cc -W ba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4
../../../idl/Naming.idl
PYTHONPATH=C:\Python25;C:\Python25\Lib;C:\Python25\DLLs;
c:\Documents and Settings\hpctest\Desktop\MCEL
Complete\omniORB-4.0.7\bin\x86_wi n32\omniidl -T -bcxx -Wbh=.hh
-Wbs=SK.cc -Wba -p..\..\..\src\lib\omniORB -Wbdebu g -v -ComniORB4
..\..\..\idl\Naming.idl
omniidl: Warning: No back-ends specified; checking IDL for validity
omniidl: 'and' does not exist
make[2]: *** [omniORB4/Naming.hh] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and
Settings/hpctest/Desktop/M CEL Complete/omniORB-4.0.7/src/lib/omniORB'
make[1]: *** [export] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and
Settings/hpctest/Desktop/MCEL Complete/omniORB-4.0.7/src/lib'
make: *** [export] Error 1

I searched the lists and didn't see anything refering to this.
Thanks
Matt
Post by Peter Klotz
Post by Matthew Bettencourt
Oddity and more info
When the binary is in the src/tool/omniidl/cxx dir it runs. I found
out about depends.exe under windows and it says it is getting the
following dll.
c:\windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_3fea50ad\MSVCR80.DLL
however, if i copy it to the bin dir, it doesn't run and depends
doesn't find the msvcr80.dll (I have taken all out of my path BTW).
If i copy the one listed above into the bin/x86_win32 dir, it dies w/
the invalid attempt to load the dll file.
I have more info and more confusion at this point, ideas?
You need the compiler generated manifest files in order to compile
omniORB 4.0.7 with VS2005.
http://www.omniorb-support.com/pipermail/omniorb-list/2006-April/027643.html
Best regards, Peter.
Matthew Bettencourt
2006-10-24 00:28:11 UTC
Permalink
Sorry, i win idiot of the year award (3rd year running). It was a
makefile issue, it was not escaping documents and settings correctly.

It has been happily compiling except for some errors on not finding a
size_t overload for << which can be cast into a (unsigned int) and it
works. Example
giopServer.cc:749 the cast was added
l << "Close " << (unsigned int) pd_bidir_strands.size()
<< " bidirectional connections...\n";


Thanks for the help and sorry for the questions
M
Post by Matthew Bettencourt
That fixed the first problem. I am now having problems with omniidl in a
different way. I had to set pythonpath
PYTHONPATH=C:\Python25;C:\Python25\Lib;C:\Python25\DLLs
and that let omniidl run w/o getting an import os error.
make[2]: Entering directory `/cygdrive/c/Documents and
Settings/hpctest/Desktop/
MCEL Complete/omniORB-4.0.7/src/lib/omniORB'
../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T -bcxx -Wbh=.hh
-Wbs=SK.cc -W ba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4
../../../idl/Naming.idl
PYTHONPATH=C:\Python25;C:\Python25\Lib;C:\Python25\DLLs;
c:\Documents and Settings\hpctest\Desktop\MCEL
Complete\omniORB-4.0.7\bin\x86_wi n32\omniidl -T -bcxx -Wbh=.hh
-Wbs=SK.cc -Wba -p..\..\..\src\lib\omniORB -Wbdebu g -v -ComniORB4
..\..\..\idl\Naming.idl
omniidl: Warning: No back-ends specified; checking IDL for validity
omniidl: 'and' does not exist
make[2]: *** [omniORB4/Naming.hh] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and
Settings/hpctest/Desktop/M CEL Complete/omniORB-4.0.7/src/lib/omniORB'
make[1]: *** [export] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and
Settings/hpctest/Desktop/MCEL Complete/omniORB-4.0.7/src/lib'
make: *** [export] Error 1
I searched the lists and didn't see anything refering to this.
Thanks
Matt
Post by Peter Klotz
Post by Matthew Bettencourt
Oddity and more info
When the binary is in the src/tool/omniidl/cxx dir it runs. I found
out about depends.exe under windows and it says it is getting the
following dll.
c:\windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_3fea50ad\MSVCR80.DLL
however, if i copy it to the bin dir, it doesn't run and depends
doesn't find the msvcr80.dll (I have taken all out of my path BTW).
If i copy the one listed above into the bin/x86_win32 dir, it dies w/
the invalid attempt to load the dll file.
I have more info and more confusion at this point, ideas?
You need the compiler generated manifest files in order to compile
omniORB 4.0.7 with VS2005.
http://www.omniorb-support.com/pipermail/omniorb-list/2006-April/027643.html
Best regards, Peter.
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Continue reading on narkive:
Loading...