[Symphony] Error in compiling/linking with MVS2008

Putra Manggala putra.manggala at gmail.com
Sun Aug 2 05:04:47 EDT 2009


So I managed to build it.  One just needs to reimport the libSymphony
package.

On Sun, Aug 2, 2009 at 12:58 AM, Putra Manggala <putra.manggala at gmail.com>wrote:

> Hi,
> I have a clean install of MVS2008.  I can build the newest Symphony fine,
> however when I try to build the separate solution user or match for example,
> I get the following error:
>
> 7>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 7>Copyright (C) Microsoft Corporation.  All rights reserved.
> 7>Linking...
> 7>libsymphony.lib(master.obj) : error LNK2019: unresolved external symbol
> "int __cdecl sp_free_sp(struct SP_DESC *)" (?sp_free_sp@@YAHPAUSP_DESC@@@Z)
> referenced in function "int __cdecl sym_solve(struct SYM_ENVIRONMENT *)"
> (?sym_solve@@YAHPAUSYM_ENVIRONMENT@@@Z)
> 7>libsymphony.lib(master.obj) : error LNK2019: unresolved external symbol
> "int __cdecl sp_initialize(struct TM_PROB *)" (?sp_initialize@
> @YAHPAUTM_PROB@@@Z) referenced in function "int __cdecl sym_solve(struct
> SYM_ENVIRONMENT *)" (?sym_solve@@YAHPAUSYM_ENVIRONMENT@@@Z)
> 7>libsymphony.lib(lp_wrapper.obj) : error LNK2019: unresolved external
> symbol "int __cdecl sp_add_solution(struct LP_PROB *,int,int *,double
> *,double,int)" (?sp_add_solution@@YAHPAULP_PROB@@HPAHPANNH at Z) referenced
> in function "int __cdecl is_feasible_u(struct LP_PROB *,char,char)"
> (?is_feasible_u@@YAHPAULP_PROB@@DD at Z)
> 7>libsymphony.lib(lp_wrapper.obj) : error LNK2019: unresolved external
> symbol "int __cdecl feasibility_pump(struct LP_PROB *,char *,double &,double
> *)" (?feasibility_pump@@YAHPAULP_PROB@@PADAANPAN at Z) referenced in function
> "int __cdecl is_feasible_u(struct LP_PROB *,char,char)" (?is_feasible_u@
> @YAHPAULP_PROB@@DD at Z)
> 7>libsymphony.lib(lp_wrapper.obj) : error LNK2019: unresolved external
> symbol "int __cdecl fp_should_call_fp(struct LP_PROB *,int,int *,char)"
> (?fp_should_call_fp@@YAHPAULP_PROB@@HPAHD at Z) referenced in function "int
> __cdecl is_feasible_u(struct LP_PROB *,char,char)" (?is_feasible_u@
> @YAHPAULP_PROB@@DD at Z)
> 7>libsymphony.lib(lp_wrapper.obj) : error LNK2019: unresolved external
> symbol "int __cdecl local_search(struct LP_PROB *,double *,double *,double
> *)" (?local_search@@YAHPAULP_PROB@@PAN11 at Z) referenced in function "int
> __cdecl is_feasible_u(struct LP_PROB *,char,char)" (?is_feasible_u@
> @YAHPAULP_PROB@@DD at Z)
> 7>libsymphony.lib(lp_wrapper.obj) : error LNK2019: unresolved external
> symbol "int __cdecl round_solution(struct LP_PROB *,double *,double *)"
> (?round_solution@@YAHPAULP_PROB@@PAN1 at Z) referenced in function "int
> __cdecl is_feasible_u(struct LP_PROB *,char,char)" (?is_feasible_u@
> @YAHPAULP_PROB@@DD at Z)
> 7>.\Debug/user.exe : fatal error LNK1120: 7 unresolved externals
> 7>Build log was saved at
> "file://c:\Users\pmangg\Documents\COIN\Coin-SYMPHONY\SYMPHONY\Applications\USER\MSVisualStudio\v9\Debug\BuildLog.htm"
> 7>user - 8 error(s), 0 warning(s)
>
> Does anybody have any idea how to deal with this LNK error?
>
> Thank,
> Putra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20090802/667c0b9e/attachment.html>


More information about the Symphony mailing list