[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Help-glpk] Unresolved external symbol
From: |
Vergamini, Didier |
Subject: |
RE: [Help-glpk] Unresolved external symbol |
Date: |
Tue, 3 Feb 2004 08:11:01 -0500 |
Try putting a extern "C" around the include directives of glpk in your
C++ code.
Didier Vergamini
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
address@hidden
Sent: Tuesday, February 03, 2004 6:53 AM
To: address@hidden
Subject: [Help-glpk] Unresolved external symbol
I'm trying to link my project using MSVC6.0++ but i'm getting the
following errors. I have tried a lot of things but nothing works. Do
someone knows what parameter is missing?
Thanks,
Eduardo Soares.
Linking...
Creating library Debug/trilho_otm.lib and object Debug/trilho_otm.exp
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_load_mat3(struct LPX *,int,int * const,int * const,double *
const)"
(?glp_lpx_load_mat3@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_col_coef(struct LPX *,int,double)"
(?glp_lpx_set_col_coef@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_obj_dir(struct LPX *,int)"
(?glp_lpx_set_obj_dir@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_col_kind(struct LPX *,int,int)"
(?glp_lpx_set_col_kind@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_col_bnds(struct LPX *,int,int,double,double)"
(?glp_lpx_set_col_bnds@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_add_cols(struct LPX *,int)"
(?glp_lpx_add_cols@@YAHPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_row_bnds(struct LPX *,int,int,double,double)"
(?glp_lpx_set_row_bnds@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_row_name(struct LPX *,int,char *)"
(?glp_lpx_set_row_name@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_add_rows(struct LPX *,int)"
(?glp_lpx_add_rows@@YAHPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_delete_prob(struct LPX *)" (?glp_lpx_delete_prob@@YAXPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "double
__cdecl glp_lpx_get_mip_col(struct LPX *,int)"
(?glp_lpx_get_mip_col@@YANPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "double
__cdecl glp_lpx_get_mip_obj(struct LPX *)"
(?glp_lpx_get_mip_obj@@YANPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_get_mip_stat(struct LPX *)"
(?glp_lpx_get_mip_stat@@YAHPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_integer(struct LPX *)" (?glp_lpx_integer@@YAHPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_simplex(struct LPX *)" (?glp_lpx_simplex@@YAHPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_real_parm(struct LPX *,int,double)"
(?glp_lpx_set_real_parm@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_get_num_bin(struct LPX *)" (?glp_lpx_get_num_bin@@YAHPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_get_num_int(struct LPX *)" (?glp_lpx_get_num_int@@YAHPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_get_num_cols(struct LPX *)"
(?glp_lpx_get_num_cols@@YAHPAULPX@@@Z)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_print_prob(struct LPX *,char *)"
(?glp_lpx_print_prob@@YAHPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_write_lpt(struct LPX *,char *)"
(?glp_lpx_write_lpt@@YAHPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "int __cdecl
glp_lpx_write_mps(struct LPX *,char *)"
(?glp_lpx_write_mps@@YAHPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_class(struct LPX *,int)"
(?glp_lpx_set_class@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "void __cdecl
glp_lpx_set_prob_name(struct LPX *,char *)"
(?glp_lpx_set_prob_name@@YAXPAULPX@@address@hidden)
trilho_otm.obj : error LNK2001: unresolved external symbol "struct LPX *
__cdecl glp_lpx_create_prob(void)" (?glp_lpx_create_prob@@YAPAULPX@@XZ)
Debug/trilho_otm.dll : fatal error LNK1120: 25 unresolved externals
Error executing link.exe.
trilho_otm.dll - 26 error(s), 0 warning(s)
_______________________________________________
Help-glpk mailing list
address@hidden http://mail.gnu.org/mailman/listinfo/help-glpk