[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] The linkage error under VC6
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] The linkage error under VC6 |
Date: |
Fri, 7 Jul 2006 18:23:52 +0400 |
> I configure VC to run GLPK two months ago. It works well.
>
> Today I find there is linkage errors. I check the configuration of
> include
> and library settings. It seems right to me.
>
> The following errors is from transp.c
>
> Does anybody have idea about how to solve this problem. Thanks
>
>
>
> --------------------Configuration: transp - Win32
> Debug--------------------
> Compiling...
> transp.c
> Linking...
> transp.obj
> : error LNK2001: unresolved external symbol _glp_lpx_get_obj_val
> transp.obj :
> error LNK2001: unresolved external symbol _glp_lpx_simplex
> transp.obj : error
> LNK2001: unresolved external symbol _glp_lpx_read_model
> Debug/transp.exe :
> fatal error LNK1120: 3 unresolved externals
> Error executing link.exe.
>
>
>
> transp.exe - 4 error(s), 0 warning(s)
Looks like you forgot to specify glpk.lib in the project settings.