
October 19th, 2012, 07:45 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 6
Time spent in forums: 47 m 16 sec
Reputation Power: 0
|
|
|
Cannot open -lglpk: No such file or directory
Hello,
While building the glpk module , i got the following error:
C:\Python27\cvxopt-1.1.5\src>python setup.py build --compiler=mingw32
running build
running build_py
running build_ext
building 'glpk' extension
C:\G77\bin\gcc.exe -mno-cygwin -mdll -O -Wall -I/usr/include -IC:\Python27\cvxop
t-1.1.5\src\include -IC:\Python27\cvxopt-1.1.5\src\PC -c C/glpk.c -o build\temp.
win32-2.7\Release\c\glpk.o
In file included from C:\Python27\cvxopt-1.1.5\src\include\pyport.h:312,
from C:\Python27\cvxopt-1.1.5\src\include\Python.h:58,
from C\cvxopt.h:22,
from C/glpk.c:22:
C:\Python27\cvxopt-1.1.5\src\include\math.h:256: warning: conflicting types for
built-in function 'scalb'
writing build\temp.win32-2.7\Release\c\glpk.def
C:\MinGW\bin\dllwrap.exe -mno-cygwin -mdll -static --output-lib build\temp.win32
-2.7\Release\c\libglpk.a --def build\temp.win32-2.7\Release\c\glpk.def -s build\
temp.win32-2.7\Release\c\glpk.o -L/usr/lib -LC:\Python27\cvxopt-1.1.5\src\libs -
LC:\Python27\cvxopt-1.1.5\src\PCbuild -lglpk -lpython27 -lmsvcr90 -o build\lib.w
in32-2.7\cvxopt\glpk.pyd
ld: cannot open -lglpk: No such file or directory
dllwrap: gcc exited with status 1
error: command 'dllwrap' failed with exit status 1
It seems that it is looking for the glpk directory, i have the glpk file but don't know where the system is looking for?
Any suggestion?
Thank you.
|