Discussion:
[omniORB] Problem building first example is this configuration correct ? Newbie
Rajesh Khan
2011-12-13 23:20:38 UTC
Permalink
So I downloaded omniorb and am attempting to build the echo example. I
Generated the .hh and SK files and included them in my project.

According to the documentation that shipped with Omniorb in
Readme.win32.txt it says to include the following in additional dependancies
ws2_32.lib, mswsock.lib, advapi32.lib, omniORB410_rt.lib,
omniDynamic410_rt.lib, omnithread32_rt.lib
I however included thefollowing (The bold ones are different .. since i
cant seem to find the recommended libraries)
ws2_32.lib,mswsock.lib,advapi32.lib*,omniORB4_rt.lib*,*omniDynamic4_rt.lib*,
*
omnithread_rt.lib,omniORB414_rtd.lib,omniDynamic4_rtd.lib,omnithread_rtd.lib
*

I included the following preprocessors :
__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4

And I am using VS2010,Win7 now when I build it an exe file does get
generated but when i run it , I get the message
*"The program cant start because omniORB414_vc10_rt.dll is missing from
your computer , Try reinstalling the prgram"*

I hav double checked and the dll file does exist and in Visual Studio 2010
my compiler is also provided with the path to the dlls in *Linker >>
General >> Additional Library directories*
So any ideas why my exe generated from eg1.cc wont run ?? Suggestions ???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111213/764e28c0/attachment.htm
Duncan Grisby
2011-12-14 23:09:23 UTC
Permalink
On Tue, 2011-12-13 at 10:20 -0700, Rajesh Khan wrote:

[...]
Post by Rajesh Khan
And I am using VS2010,Win7 now when I build it an exe file does get
generated but when i run it , I get the message
"The program cant start because omniORB414_vc10_rt.dll is missing from
your computer , Try reinstalling the prgram"
You need the directory with omniORB414_vc10.dll in your path.

Why are you using omniORB 4.1.4? That is quite old. The current release
is 4.1.6.

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Rajesh Khan
2011-12-15 09:25:34 UTC
Permalink
Thanks for the advice.. solved the problem and also converted to 4.1.6/
Post by Duncan Grisby
[...]
Post by Rajesh Khan
And I am using VS2010,Win7 now when I build it an exe file does get
generated but when i run it , I get the message
"The program cant start because omniORB414_vc10_rt.dll is missing from
your computer , Try reinstalling the prgram"
You need the directory with omniORB414_vc10.dll in your path.
Why are you using omniORB 4.1.4? That is quite old. The current release
is 4.1.6.
Duncan.
--
-- Duncan Grisby --
-- http://www.grisby.org --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111214/ba527ffa/attachment.htm
Loading...