help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] linking with msvc


From: Andrew Makhorin
Subject: Re: [Help-glpk] linking with msvc
Date: Wed, 27 Nov 2002 20:09:52 +0300

>I have founded the error:
>
>   Creating library glpk.lib and object glpk.exp
>        1 file(s) copied.
>glpsol.c
>Microsoft (R) Incremental Linker Version 6.00.8168
>Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
>
>out:glpsol.exe
>glpsol.obj
>glpk.lib
>glpsol.obj : error LNK2001: unresolved external symbol _glp_lpx_read_lpt
>glpsol.exe : fatal error LNK1120: 1 unresolved externals
>        1 file(s) copied.
>        1 file(s) copied.
>        1 file(s) copied.
>The system cannot find the file specified.


You need to add the line

echo glp_lpx_read_lpt >> glpk.def

among similar lines into the bat you are using. The point is that some
new routines were included in the package since version 3.2, so their
names are missing in the bat.



On 27 Nov 2002 at 11:12, address@hidden wrote:

From:                   address@hidden
To:                     address@hidden
Subject:                [Help-glpk] linking with msvc
Date sent:              Wed, 27 Nov 2002 11:12:24 -0500

> Hallo,
> 
> I would like to use GLPK with Micorsoft Visual Studio.
> 
> I followed the instructions of Andrew Makhorin in the message of 
> the Thu, 18 Jul 2002 and I created the dll's with the 
> "makedll.bat" which he suggested.
> 
> Still am not able to link.
> 
> It would be very nice if somebody could help me, and tell me the 
> options that I have to chose in order to link succesfully (actually 
> I am also pretty novice to Visual studio too.)
> 
> Thank you very much.
> 
> Danilo Mercurio 
> 
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-glpk
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]