Hi all,<br><br>Forgive a potentially silly question from a complete novice. I'm trying to run the 'milp.c' example to learn how Symphony works. I'm using Visual C++ express 2008 with the 'Symphony-5.1.1-win32-msvc-v8' binaries package. 'milp.c' compiles fine but has trouble linking. I get the following errors:<br>
<font size="2"><br></font><pre><font size="2">main.obj : error LNK2019: unresolved external symbol _sym_close_environment referenced in function _main<br>main.obj : error LNK2019: unresolved external symbol _sym_get_obj_val referenced in function _main<br>
main.obj : error LNK2019: unresolved external symbol _sym_get_col_solution referenced in function _main<br>main.obj : error LNK2019: unresolved external symbol _sym_solve referenced in function _main<br>main.obj : error LNK2019: unresolved external symbol _sym_explicit_load_problem referenced in function _main<br>
main.obj : error LNK2019: unresolved external symbol _sym_get_infinity referenced in function _main<br>main.obj : error LNK2019: unresolved external symbol _sym_open_environment referenced in function _main<br>C:\Documents and Settings\yang.sui\My Documents\Visual Studio 2008\Projects\symphony\Debug\symphony.exe : fatal error LNK1120: 7 unresolved externals<br>
</font></pre><br>I believe all my include directories are correctly set, as well as library dependencies. I've tried using Visual C++ 2005 and but end up with the exact same problems. I also built the symphony code from source using Cygwin and tried the 'milp.c' example in Eclipse but I have the same problems there.<br>
<br>What am I doing wrong?<br><br>Thanks in advance for your time.<br><br>Yang<br>