Using VS7.0 to test an SDK made on VS8.0

R

realrobby

Hello, I'm wondering if anybody here can help.

I'm currently using VS7 to test an SDK made on VS8 for the purpose of
ensuring backwards compatibility. I'm having some problems (copy/
pasted below), however, and I believe it is a matter of incorrect
linker settings on my part, but I'm not sure what mistake I'm making.
All CRTs are compiled with /MDd. Does anybody know why it doesn't seem
to be loading the external function calls? I have verified that the
linker can see the dasdk.lib library.

Thanks very much,
Robby

------ Build started: Project: sdkDemo, Configuration: Debug Win32
------

Compiling...
sdkDemo.cpp
AssemblyInfo.cpp
Generating Code...
Linking...
dasdk.lib(DaSessionImp.obj) : warning LNK4229: invalid directive '/
manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
dasdk.lib(DaSessionImp.obj) : warning LNK4229: invalid directive '/
manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
dasdk.lib(DaSessionImp.obj) : warning LNK4078: multiple '.CRT'
sections found with different attributes (40300040)
dasdk.lib(DaManager.obj) : warning LNK4229: invalid directive '/
manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
dasdk.lib(DaManager.obj) : warning LNK4229: invalid directive '/
manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
dasdk.lib(DaManagerImp.obj) : warning LNK4229: invalid directive '/
manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
dasdk.lib(DaManagerImp.obj) : warning LNK4229: invalid directive '/
manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
common.lib(DaCommonSemaphoreWin.obj) : warning LNK4229: invalid
directive '/manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
common.lib(DaCommonSemaphoreWin.obj) : warning LNK4229: invalid
directive '/manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
common.lib(ConfigFileReader.obj) : warning LNK4229: invalid directive
'/manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
common.lib(ConfigFileReader.obj) : warning LNK4229: invalid directive
'/manifestdependency:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
msvcprtd.lib(MSVCP71D.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::blush:perator<<<char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_ostream<char,struct
std::char_traits<char> > &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (??$?6DU?
$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_ostream@DU?
$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@0@@Z) already defined in
sdkDemo.obj
msvcprtd.lib(MSVCP71D.dll) : error LNK2005: "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl std::blush:perator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (??$?HDU?
$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@0@ABV10@0@Z) already defined in
sdkDemo.obj
msvcprtd.lib(MSVCP71D.dll) : error LNK2005: "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl std::blush:perator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,char const *)" (??$?HDU?
$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@0@ABV10@PBD@Z) already defined
in sdkDemo.obj
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "public: static class log4cpp::Category & __cdecl
log4cpp::Category::getInstance(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (?
getInstance@Category@log4cpp@@SAAAV12@ABV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function
"protected: __thiscall DaSessionImp::DaSessionImp(class DaManagerImp
*)" (??0DaSessionImp@@IAE@PAVDaManagerImp@@@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2019: unresolved external
symbol "public: static class log4cpp::Category & __cdecl
log4cpp::Category::getInstance(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (?
getInstance@Category@log4cpp@@SAAAV12@ABV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function
"private: __thiscall DaManagerImp::DaManagerImp(class DaManagerImp
const &)" (??0DaManagerImp@@AAE@ABV0@@Z)
common.lib(ConfigFileReader.obj) : error LNK2001: unresolved external
symbol "public: static class log4cpp::Category & __cdecl
log4cpp::Category::getInstance(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (?
getInstance@Category@log4cpp@@SAAAV12@ABV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol ___CxxFrameHandler3 referenced in function __ehhandler$??
0DaSessionImp@@IAE@PAVDaManagerImp@@@Z
dasdk.lib(DaManager.obj) : error LNK2001: unresolved external symbol
___CxxFrameHandler3
dasdk.lib(DaManagerImp.obj) : error LNK2001: unresolved external
symbol ___CxxFrameHandler3
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol ___CxxFrameHandler3 referenced in function "??
__Elogger@@YAXXZ" (??__Elogger@@YAXXZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: long __thiscall
uima::CAS::reset(void)" (__imp_?reset@CAS@uima@@QAEJXZ) referenced in
function __catch$?
processURI@DaSessionImp@@EAEPAUFilteredDocument@@PBD@Z$0
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "public: void __cdecl log4cpp::Category::error(char const
*,...)" (?error@Category@log4cpp@@QAAXPBDZZ) referenced in function
__catch$?processURI@DaSessionImp@@EAEPAUFilteredDocument@@PBD@Z$0
dasdk.lib(DaManagerImp.obj) : error LNK2019: unresolved external
symbol "public: void __cdecl log4cpp::Category::error(char const
*,...)" (?error@Category@log4cpp@@QAAXPBDZZ) referenced in function
__ehhandler$?initLogger@DaManagerImp@@AAEXXZ
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
uima::SofaFS::setRemoteSofaURI(char const *)" (__imp_?
setRemoteSofaURI@SofaFS@uima@@QAEXPBD@Z) referenced in function
"private: virtual struct FilteredDocument * __thiscall
DaSessionImp::processURI(char const *)" (?
processURI@DaSessionImp@@EAEPAUFilteredDocument@@PBD@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: __thiscall
uima::SofaFS::SofaFS(void)" (__imp_??0SofaFS@uima@@QAE@XZ) referenced
in function "private: virtual struct FilteredDocument * __thiscall
DaSessionImp::processURI(char const *)" (?
processURI@DaSessionImp@@EAEPAUFilteredDocument@@PBD@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "public: void __cdecl log4cpp::Category::info(char const
*,...)" (?info@Category@log4cpp@@QAAXPBDZZ) referenced in function
"private: virtual struct FilteredDocument * __thiscall
DaSessionImp::processURI(char const *)" (?
processURI@DaSessionImp@@EAEPAUFilteredDocument@@PBD@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2001: unresolved external
symbol "public: void __cdecl log4cpp::Category::info(char const
*,...)" (?info@Category@log4cpp@@QAAXPBDZZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: virtual __thiscall
icu_3_0::UnicodeString::~UnicodeString(void)" (__imp_??
1UnicodeString@icu_3_0@@UAE@XZ) referenced in function "protected:
void __thiscall DaSessionImp::createSourceSofa(class uima::SofaFS
&)" (?createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: virtual __thiscall
icu_3_0::UnicodeString::~UnicodeString(void)" (__imp_??
1UnicodeString@icu_3_0@@UAE@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::SofaFS __thiscall
uima::CAS::createSofa(class uima::SofaID const &,char const
*)" (__imp_?createSofa@CAS@uima@@QAE?AVSofaFS@2@ABVSofaID@2@PBD@Z)
referenced in function "protected: void __thiscall
DaSessionImp::createSourceSofa(class uima::SofaFS &)" (?
createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::SofaID const &
__thiscall uima::AnnotatorContext::mapToSofaID(class
icu_3_0::UnicodeString const &)" (__imp_?
mapToSofaID@AnnotatorContext@uima@@QAEABVSofaID@2@ABVUnicodeString@icu_3_0@@@Z)
referenced in function "protected: void __thiscall
DaSessionImp::createSourceSofa(class uima::SofaFS &)" (?
createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::AnnotatorContext *
__thiscall uima::AnnotatorContext::getDelegate(class
icu_3_0::UnicodeString const &)const " (__imp_?
getDelegate@AnnotatorContext@uima@@QBEPAV12@ABVUnicodeString@icu_3_0@@@Z)
referenced in function "protected: void __thiscall
DaSessionImp::createSourceSofa(class uima::SofaFS &)" (?
createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class icu_3_0::UnicodeString &
__thiscall icu_3_0::UnicodeString::blush:perator=(class
icu_3_0::UnicodeString const &)" (__imp_??
4UnicodeString@icu_3_0@@QAEAAV01@ABV01@@Z) referenced in function
"protected: void __thiscall DaSessionImp::createSourceSofa(class
uima::SofaFS &)" (?
createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class std::map<class
icu_3_0::UnicodeString,class uima::AnnotatorContext *,struct
std::less<class icu_3_0::UnicodeString>,class std::allocator<struct
std::pair<class icu_3_0::UnicodeString const ,class
uima::AnnotatorContext *> > > const & __thiscall
uima::AnnotatorContext::getDelegates(void)const " (__imp_?
getDelegates@AnnotatorContext@uima@@QBEABV?
$map@VUnicodeString@icu_3_0@@PAVAnnotatorContext@uima@@U?
$less@VUnicodeString@icu_3_0@@@std@@V?$allocator@U?$pair@$
$CBVUnicodeString@icu_3_0@@PAVAnnotatorContext@uima@@@std@@@6@@std@@XZ)
referenced in function "protected: void __thiscall
DaSessionImp::createSourceSofa(class uima::SofaFS &)" (?
createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: __thiscall
icu_3_0::UnicodeString::UnicodeString(void)" (__imp_??
0UnicodeString@icu_3_0@@QAE@XZ) referenced in function "protected:
void __thiscall DaSessionImp::createSourceSofa(class uima::SofaFS
&)" (?createSourceSofa@DaSessionImp@@IAEXAAVSofaFS@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: virtual __thiscall
uima::ErrorInfo::~ErrorInfo(void)" (__imp_??1ErrorInfo@uima@@UAE@XZ)
referenced in function __catch$?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ$0
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: __thiscall
uima::ANIterator::~ANIterator(void)" (__imp_??
1ANIterator@uima@@QAE@XZ) referenced in function __catch$?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ$0
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
uima::FSIterator::moveToNext(void)" (__imp_?
moveToNext@FSIterator@uima@@QAEXXZ) referenced in function __catch$?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ$0
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::UnicodeStringRef
__thiscall uima::FeatureStructure::getStringValue(class uima::Feature
const &)const " (__imp_?getStringValue@FeatureStructure@uima@@QBE?
AVUnicodeStringRef@2@ABVFeature@2@@Z) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::AnnotationFS
__thiscall uima::ANIterator::get(void)const " (__imp_?
get@ANIterator@uima@@QBE?AVAnnotationFS@2@XZ) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: bool __thiscall
uima::FSIterator::isValid(void)const " (__imp_?
isValid@FSIterator@uima@@QBE_NXZ) referenced in function "protected:
struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
uima::FSIterator::moveToFirst(void)" (__imp_?
moveToFirst@FSIterator@uima@@QAEXXZ) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::ANIterator
__thiscall uima::ANIndex::iterator(void)const " (__imp_?
iterator@ANIndex@uima@@QBE?AVANIterator@2@XZ) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: unsigned int __thiscall
uima::FSIndex::getSize(void)const " (__imp_?
getSize@FSIndex@uima@@QBEIXZ) referenced in function "protected:
struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: wchar_t const * __thiscall
uima::UnicodeStringRef::getBuffer(void)const " (__imp_?
getBuffer@UnicodeStringRef@uima@@QBEPB_WXZ) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: int __thiscall
uima::UnicodeStringRef::length(void)const " (__imp_?
length@UnicodeStringRef@uima@@QBEHXZ) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::Feature __thiscall
uima::Type::getFeatureByBaseName(class icu_3_0::UnicodeString const
&)const " (__imp_?getFeatureByBaseName@Type@uima@@QBE?
AVFeature@2@ABVUnicodeString@icu_3_0@@@Z) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::Type __thiscall
uima::TypeSystem::getType(class icu_3_0::UnicodeString const &)const
" (__imp_?getType@TypeSystem@uima@@QBE?
AVType@2@ABVUnicodeString@icu_3_0@@@Z) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::TypeSystem const &
__thiscall uima::CAS::getTypeSystem(void)const " (__imp_?
getTypeSystem@CAS@uima@@QBEABVTypeSystem@2@XZ) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::CAS * __thiscall
uima::CAS::getView(class uima::SofaFS)" (__imp_?
getView@CAS@uima@@QAEPAV12@VSofaFS@2@@Z) referenced in function
"protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::SofaFS __thiscall
uima::CAS::getSofa(class uima::SofaID const &)" (__imp_?
getSofa@CAS@uima@@QAE?AVSofaFS@2@ABVSofaID@2@@Z) referenced in
function "protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: __thiscall
icu_3_0::UnicodeString::UnicodeString(char const *,char const
*)" (__imp_??0UnicodeString@icu_3_0@@QAE@PBD0@Z) referenced in
function "protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaManagerImp.obj) : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: __thiscall
icu_3_0::UnicodeString::UnicodeString(char const *,char const
*)" (__imp_??0UnicodeString@icu_3_0@@QAE@PBD0@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "public: void __thiscall log4cpp::Category::error(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?error@Category@log4cpp@@QAEXABV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function "protected: struct FilteredDocument *
__thiscall DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
common.lib(ConfigFileReader.obj) : error LNK2001: unresolved external
symbol "public: void __thiscall log4cpp::Category::error(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?error@Category@log4cpp@@QAEXABV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static char const * __cdecl
uima::AnalysisEngine::getErrorIdAsCString(long)" (__imp_?
getErrorIdAsCString@AnalysisEngine@uima@@SAPBDJ@Z) referenced in
function "protected: struct FilteredDocument * __thiscall
DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: __thiscall
uima::ErrorInfo::ErrorInfo(void)" (__imp_??0ErrorInfo@uima@@QAE@XZ)
referenced in function "protected: struct FilteredDocument *
__thiscall DaSessionImp::processSofa(void)" (?
processSofa@DaSessionImp@@IAEPAUFilteredDocument@@XZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol _u_strToWCS_3_0 referenced in function "public: static enum
UErrorCode __cdecl strUtils::uChar2wchar_t(wchar_t *,int,int,wchar_t
const *,int)" (?uChar2wchar_t@strUtils@@SA?
AW4UErrorCode@@PA_WHHPB_WH@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall uima::Exception::asString(void)const
" (__imp_?asString@Exception@uima@@QBE?AV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function
__catch$?initAggregatedEngine@DaSessionImp@@IAEXXZ$0
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static class
uima::TextAnalysisEngine * __cdecl
uima::TextAnalysisEngine::createTextAnalysisEngine(char const *,class
uima::ErrorInfo &)" (__imp_?
createTextAnalysisEngine@TextAnalysisEngine@uima@@SAPAV12@PBDAAVErrorInfo@2@@Z)
referenced in function "protected: void __thiscall
DaSessionImp::initAggregatedEngine(void)" (?
initAggregatedEngine@DaSessionImp@@IAEXXZ)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: char const * __thiscall
uima::LogFacility::getLastErrorAsCStr(void)const " (__imp_?
getLastErrorAsCStr@LogFacility@uima@@QBEPBDXZ) referenced in function
"protected: void __thiscall DaSessionImp::tafCheckError(long,class
uima::TextAnalysisEngine const &)" (?
tafCheckError@DaSessionImp@@IAEXJABVTextAnalysisEngine@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::LogFacility &
__thiscall uima::AnnotatorContext::getLogger(void)const " (__imp_?
getLogger@AnnotatorContext@uima@@QBEAAVLogFacility@2@XZ) referenced in
function "protected: void __thiscall
DaSessionImp::tafCheckError(long,class uima::TextAnalysisEngine const
&)" (?tafCheckError@DaSessionImp@@IAEXJABVTextAnalysisEngine@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall uima::ErrorInfo::asString(void)const
" (__imp_?asString@ErrorInfo@uima@@QBE?AV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function
"protected: void __thiscall DaSessionImp::tafCheckError(class
uima::ErrorInfo const &)" (?
tafCheckError@DaSessionImp@@IAEXABVErrorInfo@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl uima::blush:perator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,class
uima::ErrorInfo const &)" (__imp_??6uima@@YAAAV?$basic_ostream@DU?
$char_traits@D@std@@@std@@AAV12@ABVErrorInfo@0@@Z) referenced in
function "protected: void __thiscall DaSessionImp::tafCheckError(class
uima::ErrorInfo const &)" (?
tafCheckError@DaSessionImp@@IAEXABVErrorInfo@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: long __thiscall
uima::ErrorInfo::getErrorId(void)const " (__imp_?
getErrorId@ErrorInfo@uima@@QBEJXZ) referenced in function "protected:
void __thiscall DaSessionImp::tafCheckError(class uima::ErrorInfo
const &)" (?tafCheckError@DaSessionImp@@IAEXABVErrorInfo@uima@@@Z)
dasdk.lib(DaSessionImp.obj) : error LNK2019: unresolved external
symbol __imp___invalid_parameter_noinfo referenced in function
"public: __thiscall std::_Tree<class std::_Tmap_traits<class
icu_3_0::UnicodeString,class uima::AnnotatorContext *,struct
std::less<class icu_3_0::UnicodeString>,class std::allocator<struct
std::pair<class icu_3_0::UnicodeString const ,class
uima::AnnotatorContext *> >,0>
::const_iterator::const_iterator(struct std::_Tree_nod<class
std::_Tmap_traits<class icu_3_0::UnicodeString,class
uima::AnnotatorContext *,struct std::less<class
icu_3_0::UnicodeString>,class std::allocator<struct std::pair<class
icu_3_0::UnicodeString const ,class uima::AnnotatorContext *> >,0>
::_Node *,class std::_Tree<class std::_Tmap_traits<class
icu_3_0::UnicodeString,class uima::AnnotatorContext *,struct
std::less<class icu_3_0::UnicodeString>,class std::allocator<struct
std::pair<class icu_3_0::UnicodeString const ,class
uima::AnnotatorContext *> >,0> > const *)" (??0const_iterator@?
$_Tree@V?
$_Tmap_traits@VUnicodeString@icu_3_0@@PAVAnnotatorContext@uima@@U?
$less@VUnicodeString@icu_3_0@@@std@@V?$allocator@U?$pair@$
$CBVUnicodeString@icu_3_0@@PAVAnnotatorContext@uima@@@std@@@6@
$0A@@std@@@std@@QAE@PAU_Node@?$_Tree_nod@V?
$_Tmap_traits@VUnicodeString@icu_3_0@@PAVAnnotatorContext@uima@@U?
$less@VUnicodeString@icu_3_0@@@std@@V?$allocator@U?$pair@$
$CBVUnicodeString@icu_3_0@@PAVAnnotatorContext@uima@@@std@@@6@
$0A@@std@@@2@PBV12@@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class uima::util::Filename const
* __thiscall uima::ResourceManager::getStreamHandlerForURIScheme(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)" (__imp_?
getStreamHandlerForURIScheme@ResourceManager@uima@@QAEPBVFilename@util@2@V?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function "public: __thiscall
DaManagerImp::DaManagerImp(char const *)" (??0DaManagerImp@@QAE@PBD@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static class
uima::ResourceManager & __cdecl
uima::ResourceManager::getInstance(void)" (__imp_?
getInstance@ResourceManager@uima@@SAAAV12@XZ) referenced in function
"public: __thiscall DaManagerImp::DaManagerImp(char const *)" (??
0DaManagerImp@@QAE@PBD@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static class
uima::ResourceManager & __cdecl
uima::ResourceManager::createInstance(char const *,char const
*)" (__imp_?createInstance@ResourceManager@uima@@SAAAV12@PBD0@Z)
referenced in function "public: __thiscall
DaManagerImp::DaManagerImp(char const *)" (??0DaManagerImp@@QAE@PBD@Z)
dasdk.lib(DaManagerImp.obj) : error LNK2019: unresolved external
symbol "public: static void __cdecl
log4cpp::propertyConfigurator::configure(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?
configure@PropertyConfigurator@log4cpp@@SAXABV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function
"private: void __thiscall DaManagerImp::initLogger(void)" (?
initLogger@DaManagerImp@@AAEXXZ)
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static char * __cdecl
xercesc_2_6::XMLString::transcode(wchar_t const * const)" (__imp_?
transcode@XMLString@xercesc_2_6@@SAPADQB_W@Z) referenced in function
__catch$??0ConfigImp@@QAE@PBD@Z$0
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: wchar_t const * __thiscall
xercesc_2_6::XMLException::getMessage(void)const " (__imp_?
getMessage@XMLException@xercesc_2_6@@QBEPB_WXZ) referenced in function
__catch$??0ConfigImp@@QAE@PBD@Z$0
common.lib(ConfigFileReader.obj) : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: static class
xercesc_2_6::MemoryManager *
xercesc_2_6::XMLPlatformUtils::fgMemoryManager" (__imp_?
fgMemoryManager@XMLPlatformUtils@xercesc_2_6@@2PAVMemoryManager@2@A)
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static class
xercesc_2_6::DOMImplementation * __cdecl
xercesc_2_6::DOMImplementationRegistry::getDOMImplementation(wchar_t
const *)" (__imp_?
getDOMImplementation@DOMImplementationRegistry@xercesc_2_6@@SAPAVDOMImplementation@2@PB_W@Z)
referenced in function "public: __thiscall ConfigImp::ConfigImp(char
const *)" (??0ConfigImp@@QAE@PBD@Z)
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static void __cdecl
xercesc_2_6::XMLPlatformUtils::Initialize(char const * const,char
const * const,class xercesc_2_6::panicHandler * const,class
xercesc_2_6::MemoryManager * const,bool)" (__imp_?
Initialize@XMLPlatformUtils@xercesc_2_6@@SAXQBD0QAVPanicHandler@2@QAVMemoryManager@2@_N@Z)
referenced in function "public: __thiscall ConfigImp::ConfigImp(char
const *)" (??0ConfigImp@@QAE@PBD@Z)
common.lib(ConfigFileReader.obj) : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: static char const * const
xercesc_2_6::XMLUni::fgXercescDefaultLocale" (__imp_?
fgXercescDefaultLocale@XMLUni@xercesc_2_6@@2QBDB)
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static void __cdecl
xercesc_2_6::XMLPlatformUtils::Terminate(void)" (__imp_?
Terminate@XMLPlatformUtils@xercesc_2_6@@SAXXZ) referenced in function
"public: virtual __thiscall ConfigImp::~ConfigImp(void)" (??
1ConfigImp@@UAE@XZ)
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: wchar_t const * __thiscall
xercesc_2_6::DOMException::getMessage(void)const " (__imp_?
getMessage@DOMException@xercesc_2_6@@QBEPB_WXZ) referenced in function
__catch$?getValue@ConfigImp@@QAE?AV?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z$0
common.lib(ConfigFileReader.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: static wchar_t * __cdecl
xercesc_2_6::XMLString::transcode(char const * const)" (__imp_?
transcode@XMLString@xercesc_2_6@@SAPA_WQBD@Z) referenced in function
"public: class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __thiscall
ConfigImp::getValue(char const *)" (?getValue@ConfigImp@@QAE?AV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
C:\Documents and Settings\rgrossma\My Documents\Visual Studio Projects
\sdkDemo\Debug\sdkDemo.exe : fatal error LNK1120: 56 unresolved
externals

Build log was saved at "file://c:\Documents and Settings\rgrossma\My
Documents\Visual Studio Projects\sdkDemo\Debug\BuildLog.htm"
sdkDemo - 70 error(s), 11 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped
 
J

Jochen Kalmbach [MVP]

Hi realrobby!
I'm currently using VS7 to test an SDK made on VS8 for the purpose of
ensuring backwards compatibility.

You *only* can provide VS-independend libraries (SDK) if you do not have
any dependency on CRT/MFC/ATL/STL or any special compiler feature!

So the only solution in your case is to deploy different LIBs/OBJs for
every compiler-release (and even better for every VS-SP!).

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
R

realrobby

Thanks for the info, Jochen. However, if we're using static-linking to
runtime libraries when compiling the DLL, shouldn't that avoid the
problem?

I'm having a lot of trouble writing a dummy DLL in VS2005 and calling
it from a VS2003 exe. Even when I only use the ANSI C libraries, I get
runtime errors like "An application has made an attempt to load the C
runtime library incorrectly. R6034." Is there any particular set of
linker settings that I should be aware of? Should a standard 2005 DLL
be compatible with a 2003 EXE?

Thank you very much in advance for your help!
Robby
 
J

Jochen Kalmbach [MVP]

Hi realrobby!
Thanks for the info, Jochen. However, if we're using static-linking to
runtime libraries when compiling the DLL, shouldn't that avoid the
problem?

Which problem?
If you pass CRT/MFC/STL stuff it makes the problem even worser!

You must never link against the static CRT/MFC/ART if you pass such
stuff into or out of the DLL!

I'm having a lot of trouble writing a dummy DLL in VS2005 and calling
it from a VS2003 exe. Even when I only use the ANSI C libraries, I get
runtime errors like "An application has made an attempt to load the C
runtime library incorrectly. R6034."

Yes. In case you never pass CRT/MFC/ATL stuff, then you should link
against the static versions!
Is there any particular set of
linker settings that I should be aware of? Should a standard 2005 DLL
be compatible with a 2003 EXE?

What is "standard"?
By default VS2003 uses the static version; while VS2005 uses the DLL
version of the CRT.
But you can change this in the C/C++ project settings (Runtime).

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
R

realrobby

Hi realrobby!


Which problem?
If you pass CRT/MFC/STL stuff it makes the problem even worser!

You must never link against the static CRT/MFC/ART if you pass such
stuff into or out of the DLL!


Yes. In case you never pass CRT/MFC/ATL stuff, then you should link
against the static versions!


What is "standard"?
By default VS2003 uses the static version; while VS2005 uses the DLL
version of the CRT.
But you can change this in the C/C++ project settings (Runtime).

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/

Jochen,

Thanks for all of your help! The problem, it turned out, was that VS
was generating a bad manifest file. I'm not sure why or how, but when
I do it on the command line it works fine. I reinstalled VS and now it
appears to generate them okay on its own. All problems solved. Thanks
a ton!

Robby
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top