<div>Dear all:</div>
<div> </div>
<div>I used Visual Studio 2005 MFC application to generate a user interface and the Symphony lib to solve a MILP model. I included "symphony.h" in the C++ file and used "sym_environment *env = sym_open_environment()" to generate a symphony environment in C++ file. But duing building the project, there is error showed "Error 12 error LNK2019: unresolved external symbol _sym_open_environment referenced in function "protected: __thiscall CProductionSchedulingSystemDoc::CProductionSchedulingSystemDoc(void)" (<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:??0CProductionSchedulingSystemDoc@@IAE@XZ" target="_blank">??0CProductionSchedulingSystemDoc@@IAE@XZ</a>) Production Scheduling SystemDoc.obj". </div>
<div> </div>
<div>I have checked the lib path, it seems no problem. And not sure what's the other reasons cause this problem. Can anyone give some hints? If you have an example to implement Symphony lib in a MFC application, that will be nice.</div>
<div> </div>
<div>Thanks in advance</div>
<div><br clear="all">best regards</div>
<div>James Pang</div>