help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] glpkmex installation error


From: Giorgia Rossi_Campus
Subject: [Help-glpk] glpkmex installation error
Date: Wed, 11 Nov 2009 15:52:55 +0300

Hi 


I have installed glpk-4.34 for Windows and cant seem to install glpkmex in 
MATLAB and i keep getting this error: 



>> makeglpkmex

GLPKMEX - A Matlab interface for GLPK. Script installer. 

Version 2.2 compatible with GLPK 4.18 (or higher)

(C) 2001-2007, Nicolo #39; Giorgetti.

 

Do you want to use graphic installer? Y/N [Y]: y

GLPK path... C:\Programmi\GnuWin32

GLPK include files...OK

GLPK library file...OK

Do you compile GLPKMEX with CYGWIN? Y/N [Y]: n

lcc preprocessor error: glpkcc.cpp:27 Could not find include file <cfloat> 

lcc preprocessor error: glpkcc.cpp:28 Could not find include file <csetjmp> 

lcc preprocessor error: glpkcc.cpp:29 Could not find include file <ctime> 

Error glpkcc.cpp: 34  empty declaration 

Error glpkcc.cpp: 34  syntax error; found "C" expecting `; #39; 

Error glpkcc.cpp: 34  unrecognized declaration 

Error glpkcc.cpp: 34  unrecognized declaration 

lcc preprocessor error: glpkcc.cpp:36 Could not find include file <glplib.h> 

Error glpkcc.cpp: 36  unrecognized declaration 

Error glpkcc.cpp: 110  syntax error; found `mark #39; expecting `; #39; 

Error glpkcc.cpp: 139  undeclared identifier `clock_t #39; 

Warning glpkcc.cpp: 139  Statement has no effect 

Error glpkcc.cpp: 139  syntax error; found `t_start #39; expecting `; #39; 

Error glpkcc.cpp: 139  undeclared identifier `t_start #39; 

Error glpkcc.cpp: 147  illegal use of type name `glp_prob #39; 

Error glpkcc.cpp: 147  undeclared identifier `lp #39; 

Error glpkcc.cpp: 147  operands of * have illegal types `glp_prob #39; and `int 
#39; 

Error glpkcc.cpp: 147  operands of = have illegal types `int #39; and `pointer 
to glp_prob #39; 

Error glpkcc.cpp: 147  lvalue required 

Error glpkcc.cpp: 152  type error in argument 1 to `glp_set_obj_dir #39;; found 
`int #39; expected `pointer to glp_prob #39; 

Error glpkcc.cpp: 154  type error in argument 1 to `glp_set_obj_dir #39;; found 
`int #39; expected `pointer to glp_prob #39; 

Error glpkcc.cpp: 160  too many errors 

 

  C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: Compile of  #39;glpkcc.cpp #39; 
failed. 

 

??? Error using ==> mex at 218

Unable to complete successfully.

 

Error in ==> makeglpkmex at 111

eval([ #39;mex  #39; cmd]);






Please advise...Thank you! 




Rgds 

Giorgia

 

Hi


I have installed glpk-4.34 for Windows and cant seem to install glpkmex in MATLAB and i keep getting this error:



>> makeglpkmex

GLPKMEX - A Matlab interface for GLPK. Script installer.

Version 2.2 compatible with GLPK 4.18 (or higher)

(C) 2001-2007, Nicolo' Giorgetti.

 

Do you want to use graphic installer? Y/N [Y]: y

GLPK path... C:\Programmi\GnuWin32

GLPK include files...OK

GLPK library file...OK

Do you compile GLPKMEX with CYGWIN? Y/N [Y]: n

lcc preprocessor error: glpkcc.cpp:27 Could not find include file <cfloat>

lcc preprocessor error: glpkcc.cpp:28 Could not find include file <csetjmp>

lcc preprocessor error: glpkcc.cpp:29 Could not find include file <ctime>

Error glpkcc.cpp: 34  empty declaration

Error glpkcc.cpp: 34  syntax error; found "C" expecting `;'

Error glpkcc.cpp: 34  unrecognized declaration

Error glpkcc.cpp: 34  unrecognized declaration

lcc preprocessor error: glpkcc.cpp:36 Could not find include file <glplib.h>

Error glpkcc.cpp: 36  unrecognized declaration

Error glpkcc.cpp: 110  syntax error; found `mark' expecting `;'

Error glpkcc.cpp: 139  undeclared identifier `clock_t'

Warning glpkcc.cpp: 139  Statement has no effect

Error glpkcc.cpp: 139  syntax error; found `t_start' expecting `;'

Error glpkcc.cpp: 139  undeclared identifier `t_start'

Error glpkcc.cpp: 147  illegal use of type name `glp_prob'

Error glpkcc.cpp: 147  undeclared identifier `lp'

Error glpkcc.cpp: 147  operands of * have illegal types `glp_prob' and `int'

Error glpkcc.cpp: 147  operands of = have illegal types `int' and `pointer to glp_prob'

Error glpkcc.cpp: 147  lvalue required

Error glpkcc.cpp: 152  type error in argument 1 to `glp_set_obj_dir'; found `int' expected `pointer to glp_prob'

Error glpkcc.cpp: 154  type error in argument 1 to `glp_set_obj_dir'; found `int' expected `pointer to glp_prob'

Error glpkcc.cpp: 160  too many errors

 

  C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: Compile of 'glpkcc.cpp' failed.

 

??? Error using ==> mex at 218

Unable to complete successfully.

 

Error in ==> makeglpkmex at 111

eval(['mex ' cmd]);






Please advise...Thank you!




Rgds

Giorgia


reply via email to

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