[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Problems installing glpkmex with glpk 4.28
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Problems installing glpkmex with glpk 4.28 |
Date: |
Fri, 16 May 2008 15:52:34 +0400 |
> I replaced 'lib_mem_usage' by 'glp_mem_usage' but now have the next
> message:
> GLPKMEX - A Matlab interface for GLPK. Script installer.
> Version 2.4 compatible with GLPK 4.20 (or higher)
> (C) 2001-2007, Nicolo' Giorgetti.
> Do you want to use graphic installer? Y/N [Y]: y
> GLPK path... C:\MATLAB\R2007b\work\glpk
> GLPK include files...OK
> GLPK library file...OK
> Do you compile GLPKMEX with CYGWIN? Y/N [Y]: n
> Microsoft (R) Incremental Linker Version 8.00.50727.762
> Copyright (C) Microsoft Corporation. All rights reserved.
> C:\Users\EPRE\AppData\Local\Temp\mex_C18BBF61-3122-4C16-D7B3-E0CDC2B83FCA\glpkcc.obj
> C:\MATLAB\R2007b\work\glpk\src\.libs\libglpk.a
> Creating library
> C:\Users\EPRE\AppData\Local\Temp\mex_C18BBF61-3122-4C16-D7B3-E0CDC2B83FCA\templib.x
> and object
> C:\Users\EPRE\AppData\Local\Temp\mex_C18BBF61-3122-4C16-D7B3-E0CDC2B83FCA\templib.exp
> libglpk.a(glplib03.o) : error LNK2019: unresolved external symbol
> ___getreent referenced in function __glp_lib_xerror1
> libglpk.a(glplib01.o) : error LNK2001: unresolved external symbol
> ___getreent
> libglpk.a(glplib04.o) : error LNK2001: unresolved external symbol
> ___getreent
> libglpk.a(glplpx14.o) : error LNK2019: unresolved external symbol
> __imp___ctype_ referenced in function _read_card
> libglpk.a(glplpx16.o) : error LNK2001: unresolved external symbol
> __imp___ctype_
> libglpk.a(glplib11.o) : error LNK2001: unresolved external symbol
> __imp___ctype_
> libglpk.a(glppds.o) : error LNK2001: unresolved external symbol
> __imp___ctype_
> libglpk.a(glplpx16.o) : error LNK2019: unresolved external symbol __alloca
> referenced in function _fatal
> libglpk.a(glplib09.o) : error LNK2001: unresolved external symbol __alloca
> libglpk.a(glplpx16.o) : error LNK2019: unresolved external symbol _setjmp
> referenced in function __glp_lpx_read_cpxlp
> libglpk.a(glpapi09.o) : error LNK2001: unresolved external symbol _setjmp
> libglpk.a(glplpx16.o) : error LNK2019: unresolved external symbol ___errno
> referenced in function _read_char
> libglpk.a(glplib08.o) : error LNK2001: unresolved external symbol ___errno
> libglpk.a(glpapi09.o) : error LNK2001: unresolved external symbol ___errno
> libglpk.a(glppds.o) : error LNK2001: unresolved external symbol ___errno
> libglpk.a(glplib08.o) : error LNK2019: unresolved external symbol _gzclose
> referenced in function __glp_lib_xfclose
> libglpk.a(glplib08.o) : error LNK2019: unresolved external symbol _gzflush
> referenced in function __glp_lib_xfflush
> libglpk.a(glplib08.o) : error LNK2019: unresolved external symbol _gzputc
> referenced in function __glp_lib_xfputc
> libglpk.a(glplib08.o) : error LNK2019: unresolved external symbol _gzerror
> referenced in function __glp_lib_xfgetc
> libglpk.a(glplib08.o) : error LNK2019: unresolved external symbol _gzgetc
> referenced in function __glp_lib_xfgetc
> libglpk.a(glplib08.o) : error LNK2019: unresolved external symbol _gzopen
> referenced in function __glp_lib_xfopen
> libglpk.a(glplib12.o) : error LNK2019: unresolved external symbol
> _lt_dlclose referenced in function __glp_xdlclose
> libglpk.a(glplib12.o) : error LNK2019: unresolved external symbol _lt_dlsym
> referenced in function __glp_xdlsym
> libglpk.a(glplib12.o) : error LNK2019: unresolved external symbol _lt_dlexit
> referenced in function __glp_xdlopen
> libglpk.a(glplib12.o) : error LNK2019: unresolved external symbol _lt_dlopen
> referenced in function __glp_xdlopen
> libglpk.a(glplib12.o) : error LNK2019: unresolved external symbol
> _lt_dlerror referenced in function __glp_xdlopen
> libglpk.a(glplib12.o) : error LNK2019: unresolved external symbol _lt_dlinit
> referenced in function __glp_xdlopen
> glpkcc.mexw32 : fatal error LNK1120: 17 unresolved externals
> C:\MATLAB\R2007B\BIN\MEX.PL: Error: Link of 'glpkcc.mexw32' failed.
Looks like there is something wrong in the installer script you are
using, because no libraries are available to the linker.
I think you should address your question to Nicolo' Giorgetti who is
the author of glpkmex.