Noob
unread,Dec 1, 2015, 7:10:53 PM12/1/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi there.
I know this is a forum for C++ and not VS but I hope this is an error
you will find easy to recognize.
I have a small VS Solution containing a static library project and an
executable. When I try to build it all I receive gigantic error
messages. The messages mention things like "__penter", "__pexit",
"__thiscall" and I'm afraid I have no idea what they are.
I'm going to post the messages below hoping that they will be
meaningful to someone willing to give me a little hand here.
testlib.lib(rule_params.obj) : error LNK2019: unresolved external symbol
__penter referenced in function "public: __thiscall std::pair<class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > >
>,bool>::pair<class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >,bool><class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >
&,bool,void>(class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > > &,bool &&)"
(??$?0AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_NX@?$pair@V?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_N@std@@QAE@AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@1@$$QA_N@Z)
testlib.lib(stdafx.obj) : error LNK2001: unresolved external symbol __penter
testlib.lib(rule_params.obj) : error LNK2019: unresolved external symbol
__pexit referenced in function "public: __thiscall std::pair<class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > >
>,bool>::pair<class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >,bool><class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >
&,bool,void>(class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > > &,bool &&)"
(??$?0AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_NX@?$pair@V?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_N@std@@QAE@AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@1@$$QA_N@Z)
testlib.lib(stdafx.obj) : error LNK2001: unresolved external symbol __pexit