<div> </div>
<div>Hi, </div>
<div>I would like to know if the topic below has been solved because I have exactly the same problem.</div>
<div>I' ve download the 3 packages Symphony : 5.1.0, 5.1.1 and 5.1.8 for windows.</div>
<div>Each time I tried to compile milp.c, indicating well the paths (\include for .h, and \lib for .lib), I had the same link errors : </div>
<div><em>undefined reference to sym_open_environment(), </em></div>
<div><em>undefined reference to sym_get_infinity(), </em></div>
<div><em>etc...</em></div>
<div>I'm currently working with code::blocks, but I've also tried to compile it with Dev-cpp, NetBeans and even Microsoft visual studio 2008. I get always the same link errors!</div>
<div>It's been 3 days that I looked up in every forum, and I can't find solutions.</div>
<div>I'm despairing</div>
<div> </div>
<div> >Hi all,<br> ><br> >Forgive a potentially silly question from a complete novice. I'm trying to<br> >run the 'milp.c' example to learn how Symphony works. I'm using Visual C++<br>
>express 2008 with the 'Symphony-5.1.1-win32-msvc-v8' binaries package.<br> >'milp.c' compiles fine but has trouble linking. I get the following errors:<br> ><br> >main.obj : error LNK2019: unresolved external symbol<br>
>_sym_close_environment referenced in function _main<br> >main.obj : error LNK2019: unresolved external symbol _sym_get_obj_val<br> >referenced in function _main<br> >main.obj : error LNK2019: unresolved external symbol<br>
>_sym_get_col_solution referenced in function _main<br> >main.obj : error LNK2019: unresolved external symbol _sym_solve<br> >referenced in function _main<br> >main.obj : error LNK2019: unresolved external symbol<br>
>_sym_explicit_load_problem referenced in function _main<br> >main.obj : error LNK2019: unresolved external symbol _sym_get_infinity<br> >referenced in function _main<br> >main.obj : error LNK2019: unresolved external symbol<br>
>_sym_open_environment referenced in function _main<br> >C:\Documents and Settings\yang.sui\My Documents\Visual Studio<br> >2008\Projects\symphony\Debug\symphony.exe : fatal error LNK1120: 7<br> >unresolved externals<br>
><br> ><br> >I believe all my include directories are correctly set, as well as library<br> >dependencies. I've tried using Visual C++ 2005 and but end up with the<br> >exact same problems. I also built the symphony code from source using<br>
>Cygwin and tried the 'milp.c' example in Eclipse but I have the same<br> >problems there.<br> ><br> >What am I doing wrong?<br> ><br> >Thanks in advance for your time.<br> ><br>
>Yang</div>