|
-
August 20th, 2004, 05:09 PM
#1
vc6 to vc7 project move link errors
Howdy all,
I have a project that is being moved from VC6 to VC.NET 2003. It compiles and links fine in VC6. But when I compile in VC.NET I get lots of linker errors.
---------------------
Code:
Linking...
Creating library .\Debug/libtc.lib and object .\Debug/libtc.exp
AuthzFilter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall bedrock::callback::MemberFunctor3 > *,int),class judo::Element *,class std::vector > *,int>::operator()(void)" (??R?$MemberFunctor3@PAVAuthzFilter@textconf@@P812@AEXPAVElement@judo@@PAV?$vector@PBVIAffiliate@textconf@@V?$allocator@PBVIAffiliate@textconf@@@std@@@std@@H@ZPAV34@PAV56@H@callback@bedrock@@UAEXXZ)
AuthzFilter.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bedrock::callback::MemberFunctor3 > *,int),class judo::Element *,class std::vector > *,int>::MemberFunctor3 > *,int),class judo::Element *,class std::vector > *,int>(class textconf::AuthzFilter * const &,void (__thiscall textconf::AuthzFilter::*const &)(class judo::Element *,class std::vector > *,int),class judo::Element *,class std::vector > *,int)" (__imp_??0?$MemberFunctor3@PAVAuthzFilter@textconf@@P812@AEXPAVElement@judo@@PAV?$vector@PBVIAffiliate@textconf@@V?$allocator@PBVIAffiliate@textconf@@@std@@@std@@H@ZPAV34@PAV56@H@callback@bedrock@@QAE@ABQAVAuthzFilter@textconf@@ABQ834@AEXPAVElement@judo@@PAV?$vector@PBVIAffiliate@textconf@@V?$allocator@PBVIAffiliate@textconf@@@std@@@std@@H@Z12H@Z) referenced in function "class bedrock::callback::Functor * __cdecl bedrock::callback::wrap > *,class std::vector > *,int,int>(class textconf::AuthzFilter *
const &,void (__thiscall textconf::AuthzFilter::*)(class judo::Element *,class std::vector > *,int),class judo::Element * const &,class std::vector > * const &,int const &)" (??$wrap@PAVAuthzFilter@textconf@@V12@XPAVElement@judo@@PAV34@PAV?$vector@PBVIAffiliate@textconf@@V?$allocator@PBVIAffiliate@textconf@@@std@@@std@@PAV56@HH@callback@bedrock@@YAPAVFunctor@01@ABQAVAuthzFilter@textconf@@P834@AEXPAVElement@judo@@PAV?$vector@PBVIAffiliate@textconf@@V?$allocator@PBVIAffiliate@textconf@@@std@@@std@@H@ZABQAV56@ABQAV78@ABH@Z)
---------------------
And so on and so forth........
I am sure it has something to do with the use of templates, but cannot figure out why it works in VC6 and not VC7. Same exact code, project files, etc. in both.
Anybody have any clues? Do you need more info? Help?
Thanks all,
Dabbink
Last edited by Andreas Masur; August 21st, 2004 at 02:36 AM.
Reason: Added code tags
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|