[omniORB] New User OmniORB

Jens Kristian Villadsen jenskristianvilladsen at gmail.com
Wed Nov 4 10:36:06 GMT 2009


Hi Ekrem

Sounds like your paths are not set corretly to the shared libs. Mine are 
e.g. like on the attached picture. There is also a guide to "Setting 
Environment Variables on Windows" example - mine are: 
C:\omniORB-4.1.4\bin\x86_win32;C:\omniORB-4.1.4\lib\x86_win32



Let me know if it works for you

Ekrem Karaman skrev:
> Both release and debug mode causes the same error.
> I think I am executing the Program in a wrong way.
> But I cannot find the error.
> I am just clicking on the exe file for the server and for the client.
> Do I have to set anything else ? For example the ports that should be 
> used while executing the program.
> cheers
> ekrem
>  
> On Wed, Nov 4, 2009 at 9:09 AM, Jens Kristian Villadsen 
> <jenskristianvilladsen at gmail.com 
> <mailto:jenskristianvilladsen at gmail.com>> wrote:
>
>     Hi Ekrem
>
>     I haven't seen that error before - are you running it as debug or
>     release? You might resolve the problem by downloading the latest
>     redistributable from MS at
>     http://www.microsoft.com/Downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en
>     <http://www.microsoft.com/Downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en>
>     Also, are you running it as x64 ?
>     Ekrem Karaman skrev:
>
>         Hi,
>         another question. My Hello Project compilation worked. But
>         when I try to start the client.exe or the server.exe,
>         I get the following Debug Error:
>                                        This application has requested
>         the Runtime to terminate it in an unusual way.
>                                        Please contact the
>         application´s support team for more information
>         I hope you can help.
>         Cheers
>
>
>          On Wed, Nov 4, 2009 at 8:30 AM, Ekrem Karaman
>         <ekrems61 at gmail.com <mailto:ekrems61 at gmail.com>
>         <mailto:ekrems61 at gmail.com <mailto:ekrems61 at gmail.com>>> wrote:
>
>            The "Additional Dependencies" were missing in my project.
>            Now, it works.
>            Thanks a lot.
>
>            On Tue, Nov 3, 2009 at 4:33 PM, Jens Kristian Villadsen
>            <jenskristianvilladsen at gmail.com
>         <mailto:jenskristianvilladsen at gmail.com>
>            <mailto:jenskristianvilladsen at gmail.com
>         <mailto:jenskristianvilladsen at gmail.com>>> wrote:
>
>                What you also need to include is the header files from the
>                omniORB distribution. This is also done in the project
>                settings under "Additional Include Directories"
>                My path is e.g. "C:\omniORB-4.1.4\include"
>
>                You also need to set the "Additional Dependencies" in your
>                project settings. Mine for debug is e.g.
>                ws2_32.lib mswsock.lib advapi32.lib omniORB414_rtd.lib
>                omniDynamic414_rtd.lib omnithread34_rtd.lib
>
>                You also need to set the "Additional Library
>         Directories" in
>                your project settings. Mine is e.g.
>                "C:\omniORB-4.1.4\lib\x86_win32"
>
>                Let me know if it works for you
>
>                Ekrem Karaman skrev:
>
>                    Hello Jens,
>                     I did what you said. It worked.
>                    But now I have about 100 link errors in my
>         HelloCorba test
>                    example.
>
>                    The error numbers are
>                                       -error LNK2001
>                                       -error LNK2005
>                                       -error LNK2019
>                     I have already included the omniORB lib in Project
>                    Settings. But I think something is still missing there.
>                    Cheers
>                    Ekrem
>                    On Tue, Nov 3, 2009 at 9:31 AM, Jens Kristian Villadsen
>                    <jenskristianvilladsen at gmail.com
>         <mailto:jenskristianvilladsen at gmail.com>
>                    <mailto:jenskristianvilladsen at gmail.com
>         <mailto:jenskristianvilladsen at gmail.com>>
>                    <mailto:jenskristianvilladsen at gmail.com
>         <mailto:jenskristianvilladsen at gmail.com>
>
>                    <mailto:jenskristianvilladsen at gmail.com
>         <mailto:jenskristianvilladsen at gmail.com>>>> wrote:
>
>                       Hi Ekrem -
>                       What you need to do is to set the variables in
>         Visual
>                    Studio. You
>                       can set them under the property pages for your
>         project,
>                    under the
>                       "Preprocessor Definitions" (If you do not know where
>                    that is
>                       located, look at
>                      
>         http://msdn.microsoft.com/en-us/library/hhzbb5c8.aspx
>                    ). Set the
>                       Preprocessor Definitions to:
>
>                                
>         WIN32;_DEBUG;_CONSOLE;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__
>                       ;__OSVERSION__=4;
>
>                       That should do the job.
>
>                       Ekrem Karaman skrev:
>
>                           Hello,
>                            I have a problem with the correct
>         configuration o
>                    omniORB.
>                           I went trough a a lot of tutorials and tried
>         to fix
>                    it, but it
>                           didn`t work.
>                           My Programming Environment is Visual Studio 2008
>                    and all
>                           environment variables are correctly set.
>                           The programming language is C++.
>                           The error is:
>                            fatal error C1189: #error : "The byte order of
>                    this platform
>                           is unknown"
>                            It is something about Big Endian and Little
>                    Endian. But what
>                           are the correct settings for the config.mk
>         <http://config.mk/>
>                    <http://config.mk/> <http://config.mk/>
>                           <http://config.mk/> File.
>
>                           And are there any other to DoŽs.
>                            Cheers
>
>
>                           GRATIS für alle WEB.DE-Nutzer: Die maxdome
>                    Movie-FLAT!   Jetzt
>                           freischalten unter *http://movieflat.web.de
>         <http://movieflat.web.de/>
>                    <http://movieflat.web.de/>
>                           <http://movieflat.web.de/>*                
>            
>         ------------------------------------------------------------------------
>
>                           _______________________________________________
>                           omniORB-list mailing list
>                           omniORB-list at omniorb-support.com
>         <mailto:omniORB-list at omniorb-support.com>
>                    <mailto:omniORB-list at omniorb-support.com
>         <mailto:omniORB-list at omniorb-support.com>>
>                           <mailto:omniORB-list at omniorb-support.com
>         <mailto:omniORB-list at omniorb-support.com>
>                    <mailto:omniORB-list at omniorb-support.com
>         <mailto:omniORB-list at omniorb-support.com>>>
>
>                                    
>         http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>                          
>
>
>
>
>
>

-------------- next part --------------
Skipped content of type multipart/related


More information about the omniORB-list mailing list