- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
link /DLL /NOLOGO /OUT:..\..\lib\intel_dll
\wxmsw290_intel_isl_intel.dll /pdb:"..\..\lib\intel_dll
\wxmsw290_intel_isl_intel.pdb" /LIBPATH:..\..\lib\intel_dll @c:\temp
\nm82D.tmp
Creating library ..\..\lib\intel_dll\wxmsw29.lib and object ..\..
\lib\intel_dll\wxmsw29.exp
monodll_string.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) class std::basic_ostream
std::basic_ostream
*)" (__imp_??6std@@YAAAV?$basic_ostream@DU?
$char_traits@D@std@@@0@AAV10@PBD@Z) referenced in function "class
std::basic_ostream
operator<<(class std::basic_ostream
$wxScopedCharTypeBuffer@D@@@Z)
monodll_variant.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) class std::basic_ostream
std::basic_ostream
*)" (__imp_??6std@@YAAAV?$basic_ostream@DU?
$char_traits@D@std@@@0@AAV10@PBD@Z)
..\..\lib\intel_dll\wxmsw290_intel_isl_intel.dll : fatal error
LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems that you will encounter this issue when using the ICL with VC.NET 2003.
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I understand what the problem is...
MSVC++ 2003 and later versions are not link compatible with
MSVC++ 2002 and earlier versions because they mangle certain
symbols differently.
The mangled name of the symbol you are seeing as unresolved,
i.e.
__imp_??6std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z
would only have been mangled this way if you either:
(1) compiled the object file in a MSVC++ 2002 environment
or
(2) used the /Qvc7 or /Qvc6 flag in your compilation.
If you do either of the above you cannot link successfully
against the MSVC++ 2003 C++ standard library.
If you had compiled correctly (either with the /Qvc7.1
switch or in a MSVC++ 2003 environment) the symbol would
have been mangled as:
__imp_??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@st
d@@@0@AAV10@PBD@Z
For the reasons above I don't think users should ever explicitly
specify the /Qvc switch. If you omit the switch the icl driver
will figure out which compatibility mode to use based upon
the version of the cl.exe executable in the user's PATH.
This is what I mean by "environment".
Please check to see if the problem is as described above.
thanks,
Judy
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page