<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1148282591;
        mso-list-type:hybrid;
        mso-list-template-ids:-1237690332 1830866054 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Greetings,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am new to Coin-OR/FlopCpp and have been getting a number
of errors when I try to build solutions for the example files. Can
someone help me out? <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Many thanks!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>
</span></span><![endif]>Dan<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>For example, building the “transport” example I get this
series of errors:<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "class flopc::MP_expression __cdecl flopc::operator*(class
flopc::Constant const &,class flopc::MP_expression const &)"
(??Dflopc@@YA?AVMP_expression@0@ABVConstant@0@ABV10@@Z) referenced in function
_main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_domain::~MP_domain(void)"
(??1MP_domain@flopc@@QAE@XZ) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: void __thiscall flopc::MP_constraint::operator=(class
flopc::Constraint const &)"
(??4MP_constraint@flopc@@QAEXABVConstraint@1@@Z) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "class flopc::MP_expression __cdecl flopc::sum(class
flopc::MP_domain const &,class flopc::MP_expression const &)"
(?sum@flopc@@YA?AVMP_expression@1@ABVMP_domain@1@ABV21@@Z) referenced in
function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: static class flopc::MP_index & __cdecl
flopc::MP_index::getEmpty(void)" (?getEmpty@MP_index@flopc@@SAAAV12@XZ)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_expression::MP_expression(class
flopc::VariableRef const &)" (??0MP_expression@flopc@@QAE@ABVVariableRef@1@@Z)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: void __thiscall flopc::MP_constraint::display(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)const "
(?display@MP_constraint@flopc@@QBEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_constraint::MP_constraint(class
flopc::MP_set_base const &,class flopc::MP_set_base const &,class
flopc::MP_set_base const &,class flopc::MP_set_base const &,class
flopc::MP_set_base const &)"
(??0MP_constraint@flopc@@QAE@ABVMP_set_base@1@0000@Z) referenced in function
_main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: void __thiscall flopc::MP_variable::display(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?display@MP_variable@flopc@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_variable::MP_variable(class
flopc::MP_set_base const &,class flopc::MP_set_base const &,class
flopc::MP_set_base const &,class flopc::MP_set_base const &,class
flopc::MP_set_base const &)"
(??0MP_variable@flopc@@QAE@ABVMP_set_base@1@0000@Z) referenced in function
_main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: class flopc::DataRef const & __thiscall
flopc::DataRef::operator=(class flopc::Constant const &)"
(??4DataRef@flopc@@QAEABV01@ABVConstant@1@@Z) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "class flopc::Constant __cdecl flopc::operator/(class
flopc::Constant const &,class flopc::Constant const &)"
(??Kflopc@@YA?AVConstant@0@ABV10@0@Z) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "class flopc::Constant __cdecl flopc::operator*(class
flopc::Constant const &,class flopc::Constant const &)"
(??Dflopc@@YA?AVConstant@0@ABV10@0@Z) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::Constant::Constant(int)" (??0Constant@flopc@@QAE@H@Z)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::Constant::Constant(class flopc::DataRef
const &)" (??0Constant@flopc@@QAE@ABVDataRef@1@@Z) referenced in
function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: static class flopc::MP_index_exp const & __cdecl
flopc::MP_index_exp::getEmpty(void)"
(?getEmpty@MP_index_exp@flopc@@SAABV12@XZ) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_index_exp::MP_index_exp(class
flopc::MP_index &)" (??0MP_index_exp@flopc@@QAE@AAVMP_index@1@@Z)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::Constant::Constant(double)"
(??0Constant@flopc@@QAE@N@Z) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: static class flopc::MP_set & __cdecl
flopc::MP_set::getEmpty(void)" (?getEmpty@MP_set@flopc@@SAAAV12@XZ)
referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: static class flopc::MP_model & __cdecl
flopc::MP_model::getDefaultModel(void)"
(?getDefaultModel@MP_model@flopc@@SAAAV12@XZ) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall
OsiClpSolverInterface::OsiClpSolverInterface(void)"
(??0OsiClpSolverInterface@@QAE@XZ) referenced in function _main<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "private: virtual class flopc::MP_domain __thiscall
flopc::MP_index::getDomain(class flopc::MP_set *)const "
(?getDomain@MP_index@flopc@@EBE?AVMP_domain@2@PAVMP_set@2@@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_domain::MP_domain(class
flopc::MP_domain_base *)" (??0MP_domain@flopc@@QAE@PAVMP_domain_base@1@@Z)
referenced in function "public: virtual __thiscall flopc::MP_set::operator
class flopc::MP_domain(void)const " (??BMP_set@flopc@@UBE?AVMP_domain@1@XZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_domain_set::MP_domain_set(class
flopc::MP_set const *,class flopc::MP_index *)"
(??0MP_domain_set@flopc@@QAE@PBVMP_set@1@PAVMP_index@1@@Z) referenced in function
"public: virtual __thiscall flopc::MP_set::operator class
flopc::MP_domain(void)const " (??BMP_set@flopc@@UBE?AVMP_domain@1@XZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "public: virtual void __thiscall
flopc::MP_data::operator()(void)const " (??RMP_data@flopc@@UBEXXZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "private: static double flopc::MP_data::outOfBoundData"
(?outOfBoundData@MP_data@flopc@@0NA)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_index_exp::MP_index_exp(class
flopc::MP_index_exp const &)" (??0MP_index_exp@flopc@@QAE@ABV01@@Z)
referenced in function "public: __thiscall flopc::DataRef::DataRef(class
flopc::MP_data *,class flopc::MP_index_exp const &,class
flopc::MP_index_exp const &,class flopc::MP_index_exp const &,class
flopc::MP_index_exp const &,class flopc::MP_index_exp const
&,int)" (??0DataRef@flopc@@QAE@PAVMP_data@1@ABVMP_index_exp@1@1111H@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "public: virtual double __thiscall
flopc::DataRef::evaluate(void)const " (?evaluate@DataRef@flopc@@UBENXZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall flopc::DataRef::getStage(void)const
" (?getStage@DataRef@flopc@@UBEHXZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "public: virtual void __thiscall
flopc::DataRef::operator()(void)const " (??RDataRef@flopc@@UBEXXZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "private: virtual void __thiscall flopc::MP_variable::operator()(void)const
" (??RMP_variable@flopc@@EBEXXZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "private: __thiscall flopc::VariableRef::VariableRef(class
flopc::MP_variable *,class flopc::MP_index_exp const &,class flopc::MP_index_exp
const &,class flopc::MP_index_exp const &,class flopc::MP_index_exp
const &,class flopc::MP_index_exp const &)"
(??0VariableRef@flopc@@AAE@PAVMP_variable@1@ABVMP_index_exp@1@1111@Z)
referenced in function "public: class flopc::VariableRef const & __thiscall
flopc::MP_variable::operator()(class flopc::MP_index_exp const &,class
flopc::MP_index_exp const &,class flopc::MP_index_exp const &,class
flopc::MP_index_exp const &,class flopc::MP_index_exp const &)"
(??RMP_variable@flopc@@QAEABVVariableRef@1@ABVMP_index_exp@1@0000@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_expression::MP_expression(class
flopc::Constant const &)"
(??0MP_expression@flopc@@QAE@ABVConstant@1@@Z) referenced in function
"class flopc::Constraint __cdecl flopc::operator<=(class
flopc::MP_expression const &,class flopc::Constant const &)"
(??Nflopc@@YA?AVConstraint@0@ABVMP_expression@0@ABVConstant@0@@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: void __thiscall flopc::MP_model::minimize(class
flopc::MP_expression const &)"
(?minimize@MP_model@flopc@@QAEXABVMP_expression@2@@Z) referenced in function
"void __cdecl flopc::minimize(class flopc::MP_expression const
&)" (?minimize@flopc@@YAXABVMP_expression@1@@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: virtual __thiscall
flopc::MP_domain_base::~MP_domain_base(void)"
(??1MP_domain_base@flopc@@UAE@XZ) referenced in function
__unwindfunclet$??0?$MP_domain_subset@$01@flopc@@QAE@PAV?$MP_subset@$01@1@ABV?$vector@PAVMP_index@flopc@@V?$allocator@PAVMP_index@flopc@@@std@@@std@@@Z$0<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall
flopc::MP_domain_base::MP_domain_base(void)"
(??0MP_domain_base@flopc@@QAE@XZ) referenced in function "public:
__thiscall flopc::MP_domain_subset<2>::MP_domain_subset<2>(class
flopc::MP_subset<2> *,class std::vector<class flopc::MP_index *,class
std::allocator<class flopc::MP_index *> > const &)"
(??0?$MP_domain_subset@$01@flopc@@QAE@PAV?$MP_subset@$01@1@ABV?$vector@PAVMP_index@flopc@@V?$allocator@PAVMP_index@flopc@@@std@@@std@@@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2001: unresolved external
symbol "public: virtual unsigned int __thiscall
flopc::MP_domain_base::size(void)const "
(?size@MP_domain_base@flopc@@UBEIXZ)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: static class flopc::MP_domain const & __cdecl
flopc::MP_domain::getEmpty(void)" (?getEmpty@MP_domain@flopc@@SAABV12@XZ)
referenced in function "public: virtual class flopc::MP_domain __thiscall
flopc::SUBSETREF::getDomain(class flopc::MP_set *)const "
(?getDomain@SUBSETREF@flopc@@UBE?AVMP_domain@2@PAVMP_set@2@@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>transport.obj : error LNK2019: unresolved external
symbol "public: __thiscall flopc::MP_index_exp::MP_index_exp(int)"
(??0MP_index_exp@flopc@@QAE@H@Z) referenced in function "public:
__thiscall std::vector<class flopc::MP_index_exp,class
std::allocator<class flopc::MP_index_exp> >::vector<class
flopc::MP_index_exp,class std::allocator<class flopc::MP_index_exp>
>(unsigned int)" (??0?$vector@VMP_index_exp@flopc@@V?$allocator@VMP_index_exp@flopc@@@std@@@std@@QAE@I@Z)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>C:\FlopC++-1.0.5\MSVisualStudio\v8\FlopCpp\examples\transport\Debug\transport.exe
: fatal error LNK1120: 39 unresolved externals<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>Build log was saved at "file://c:\FlopC++-1.0.5\MSVisualStudio\v8\FlopCpp\examples\transport\Debug\BuildLog.htm"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>transport
- 40 error(s), 0 warning(s)</span><o:p></o:p></p>
</div>
</body>
</html>