[prev in list] [next in list] [prev in thread] [next in thread]
List: omniorb-list
Subject: FW: [omniORB] MS VC++ 6.0 // unresolved links
From: "wpvankooten" <wpvankooten () hotmail ! com>
Date: 2004-07-31 18:33:55
Message-ID: 000601c4772c$ef9014c0$66c8a8c0 () MSXPHlaptop
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:st1="urn:schemas-microsoft-com:office:smarttags" \
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C4773D.B2F07530">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:\5B8B\4F53;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
pre
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:SimSun;}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Hello <span \
class=SpellE>Ameya</span><o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>I have the same problems as James. \
First error “The byte order of this platform is unknown” which \
disappeared when I looked in</span></font><st1:PersonName>to</st1:PersonName> de \
preprocessor definitions. Several items where duplicated in that field. And now do I \
<st1:PersonName>ge</st1:PersonName>t the error LNK2001.<o:p></o:p></pre><pre><font \
size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>I also tried your link below, but I \
do not know what I should do with it \
</span></font><st1:PersonName>to</st1:PersonName> create a workspace or project file. \
I am not familiar with Unix like compiling. Please can you help me with this \
problem?<o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>With \
regards<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>Willem van \
Kooten<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>Student<o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>Hello \
James,<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>Few months back, I had experienced \
a similar issue (it was actually memory<o:p></o:p></span></font></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>leak). I requested omniORB \
users </span></font><st1:PersonName>to</st1:PersonName> send me a sample VC++ \
Workspace file.<o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>After using the sample Workspace file, I was able \
</span></font><st1:PersonName>to</st1:PersonName> solve my problem. \
Maybe<o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>you can also do the same. Here's the link \
</span></font><st1:PersonName>to</st1:PersonName> the workspace \
file<o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'><a \
href="http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040130/1">ht \
tp://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040130/1</a><o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span \
style='font-size:10.0pt'>a84ac79/client-0002.obj<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>You can \
</span></font><st1:PersonName>ge</st1:PersonName>t details by browsing the discussion \
thread at:<o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><a \
href="http://www.omniorb-support.com/pipermail/omniorb-list/2004-January/024942.ht">ht \
tp://www.omniorb-support.com/pipermail/omniorb-list/2004-January/024942.ht</a><o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span \
style='font-size:10.0pt'>ml<o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'>Regards,<o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>Ameya \
Virkar<o:p></o:p></span></font></pre><pre><st1:country-region><st1:place><font \
size=2 face="Courier New"><span \
style='font-size:10.0pt'>Singapore</span></font></st1:place></st1:country-region> \
Technologies Electronics<o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>-----Original \
Messa</span></font><st1:PersonName>ge</st1:PersonName>-----<o:p></o:p></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>From: <a
href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">omniorb-list-bounces \
at omniorb-support.com</a><o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'>[mail</span></font><st1:PersonName>to</st1:PersonName>:<a \
href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">omniorb-list-bounces \
at omniorb-support.com</a>] On Behalf Of Mike Mascari<o:p></o:p></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>Sent: \
</span></font><st1:date Month="6" Day="16" Year="2004">Wednesday, June 16, \
2004</st1:date> <st1:time Hour="23" Minute="30">11:30 \
PM</st1:time><o:p></o:p></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>To: James E Taylor<o:p></o:p></span></font></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>Cc: <a \
href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">omniorb-list at \
omniorb-support.com</a><o:p></o:p></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'>Subject: Re: [omniORB] MS VC++ 6.0 // unresolved \
links<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>James E Taylor \
wrote:<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>><i><span \
style='font-style:italic'> They're all set.<span style='mso-spacerun:yes'> \
</span>This is the full list of compilation \
options:<o:p></o:p></span></i></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'>><i><span \
style='font-style:italic'><o:p></o:p></span></i></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>><i><span \
style='font-style:italic'> /nologo /MD /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D \
"WIN32" /D<o:p></o:p></span></i></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>><i><span \
style='font-style:italic'> "_CONSOLE" /D "_MBCS" /D \
"__WIN32__" /D "__x86__" \
/D<o:p></o:p></span></i></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'>><i><span style='font-style:italic'> \
_WIN32_WINNT=0x0400 /D "__NT__" /D __OSVERSION__=4 \
/FR"Debug/"<o:p></o:p></span></i></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>><i><span \
style='font-style:italic'> /Fo"Debug/" /Fd"Debug/" /FD \
/GZ<o:p></o:p></span></i></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>Here is what I use for a \
debug build:<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>1) Compile \
flags:<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>/nologo /MDd /W3 /Gm /GX /ZI /Od /I \
"./" /D "WIN32" /D "_DEBUG" \
/D<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>"_WINDOWS" /D "_AFXDLL" /D \
"_MBCS" /D "__WIN32__" /D "__x86__" \
/D<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>"__NT__" /D __OSVERSION__=4 \
/Fp"Debug/example.pch" \
/Yu"stdafx.h"<o:p></o:p></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'>/Fo"Debug/" /Fd"Debug/" /FD \
/GZ /Zm200 /c<o:p></o:p></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>2) Link \
flags:<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>wsock32.lib advapi32.lib \
omniORB403_rtd.lib omniDynamic403_rtd.lib<o:p></o:p></span></font></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>omnithread30_rtd.lib \
omnisslTP40_rtd.lib<o:p></o:p></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font \
size=2 face="Courier New"><span style='font-size:10.0pt'>3) Link \
direc</span></font><st1:PersonName>to</st1:PersonName>ries:<o:p></o:p></pre><pre><font
size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'><amongst \
others><o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>C:\Program \
Files\omni\lib\x86_win32<o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>Of course, linking \
omnisslTP40_rtd.lib is optional, if you want \
SSL<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>support. I'm not sure, but it might be possible that the /MD \
switch<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>instead of the /MDd switch is the problem. Also, the above \
is for a<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>Win32 application, not a console application, but I doubt \
that would<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'>affect linking in omniORB \
libraries...<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'>HTH,<o:p></o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span style='font-size:10.0pt'>Mike \
Mascari<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>omniORB-list mailing \
list<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span \
style='font-size:10.0pt'><a \
href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">omniORB-list at \
omniorb-support.com</a><o:p></o:p></span></font></pre><pre><font size=2 face="Courier \
New"><span style='font-size:10.0pt'><a \
href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">http://www.omniorb \
-support.com/mailman/listinfo/omniorb-list</a><o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font size=2 \
face="Courier New"><span \
style='font-size:10.0pt'><o:p> </o:p></span></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
_______________________________________________
omniORB-list mailing list
omniORB-list@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic