FW: [omniORB] MS VC++ 6.0 // unresolved links

wpvankooten wpvankooten at hotmail.com
Sat Jul 31 21:33:55 BST 2004


Hello Ameya
 
I have the same problems as James. First error "The byte order of this
platform is unknown" which disappeared when I looked into de
preprocessor definitions. Several items where duplicated in that field.
And now do I get the error LNK2001.
 
I also tried your link below, but I do not know what I should do with it
to create a workspace or project file. I am not familiar with Unix like
compiling. Please can you help me with this problem?
 
With regards
 
Willem van Kooten
Student
 
Hello James,
 
Few months back, I had experienced a similar issue (it was actually
memory
leak). I requested omniORB users to send me a sample VC++ Workspace
file.
After using the sample Workspace file, I was able to solve my problem.
Maybe
you can also do the same. Here's the link to the workspace file
 
http://www.omniorb-support.com/pipermail/omniorb-list/attachments/200401
30/1
a84ac79/client-0002.obj
 
You can get details by browsing the discussion thread at:
http://www.omniorb-support.com/pipermail/omniorb-list/2004-January/02494
2.ht
ml
 
Regards,
Ameya Virkar
Singapore Technologies Electronics
 
 
-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
<http://www.omniorb-support.com/mailman/listinfo/omniorb-list> 
[mailto:omniorb-list-bounces at omniorb-support.com
<http://www.omniorb-support.com/mailman/listinfo/omniorb-list> ] On
Behalf Of Mike Mascari
Sent: Wednesday, June 16, 2004 11:30 PM
To: James E Taylor
Cc: omniorb-list at omniorb-support.com
<http://www.omniorb-support.com/mailman/listinfo/omniorb-list> 
Subject: Re: [omniORB] MS VC++ 6.0 // unresolved links
 
James E Taylor wrote:
 
> They're all set.  This is the full list of compilation options:
>
> /nologo /MD /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D
> "_CONSOLE" /D "_MBCS" /D "__WIN32__" /D "__x86__" /D
> _WIN32_WINNT=0x0400 /D "__NT__" /D __OSVERSION__=4 /FR"Debug/"
> /Fo"Debug/" /Fd"Debug/" /FD /GZ
 
Here is what I use for a debug build:
 
1) Compile flags:
 
/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /D "WIN32" /D "_DEBUG" /D
"_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "__WIN32__" /D "__x86__" /D
"__NT__" /D __OSVERSION__=4 /Fp"Debug/example.pch" /Yu"stdafx.h"
/Fo"Debug/" /Fd"Debug/" /FD /GZ /Zm200 /c
 
2) Link flags:
 
wsock32.lib advapi32.lib omniORB403_rtd.lib omniDynamic403_rtd.lib
omnithread30_rtd.lib omnisslTP40_rtd.lib
 
3) Link directories:
 
<amongst others>
 
C:\Program Files\omni\lib\x86_win32
 
Of course, linking omnisslTP40_rtd.lib is optional, if you want SSL
support. I'm not sure, but it might be possible that the /MD switch
instead of the /MDd switch is the problem. Also, the above is for a
Win32 application, not a console application, but I doubt that would
affect linking in omniORB libraries...
 
HTH,
 
Mike Mascari
 
 
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
<http://www.omniorb-support.com/mailman/listinfo/omniorb-list> 
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
 
 
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040731/7804626c/attachment.htm


More information about the omniORB-list mailing list