[Symphony] 'Unresolved external symbol' linking error with 'milp.c' example
Yang Sui
yang.signup at gmail.com
Thu Jan 22 13:02:53 EST 2009
Hi all,
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:
main.obj : error LNK2019: unresolved external symbol
_sym_close_environment referenced in function _main
main.obj : error LNK2019: unresolved external symbol _sym_get_obj_val
referenced in function _main
main.obj : error LNK2019: unresolved external symbol
_sym_get_col_solution referenced in function _main
main.obj : error LNK2019: unresolved external symbol _sym_solve
referenced in function _main
main.obj : error LNK2019: unresolved external symbol
_sym_explicit_load_problem referenced in function _main
main.obj : error LNK2019: unresolved external symbol _sym_get_infinity
referenced in function _main
main.obj : error LNK2019: unresolved external symbol
_sym_open_environment referenced in function _main
C:\Documents and Settings\yang.sui\My Documents\Visual Studio
2008\Projects\symphony\Debug\symphony.exe : fatal error LNK1120: 7
unresolved externals
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.
What am I doing wrong?
Thanks in advance for your time.
Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20090122/6375fa53/attachment.html>
More information about the Symphony
mailing list