Originally posted by: SystemAdmin
[dalkiran said:]
Hello All,
I am using Microsoft Visual Studio 2005 and coding with C++. I want to add a nonlinear optimization software that uses multi-treaded run time library to my current code. On the other hand, my current code which calls cplex uses multi-treaded dll.
I believe I am getting errors since these two run time libraries are inconsistent. So, I tired to rebuilt my code with multi-treaded run time library but I got a bunch of LNK2005 errors,such as
error LNK2005: __initp_misc_invarg already defined in LIBCMTD.lib(invarg.obj) LIBCMT.lib
error LNK2005: __invoke_watson already defined in LIBCMTD.lib(invarg.obj) LIBCMT.lib
Alternatively, I tired to built library file o the nonlinear solver using multi-treaded dll but it does not work either.
error LNK2001: unresolved external symbol ___mb_cur_max
error LNK2001: unresolved external symbol __pctype
Is it possible to have multi-treaded run time in stead of multi-treaded dll in a project that call cplex in Microsoft Visual Studio 2005?
Thank you or your help and interest
Evrim
#CPLEXOptimizers#DecisionOptimization