help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] I cann't install GLPKMEX


From: Plaimas Kitiporn
Subject: [Help-glpk] I cann't install GLPKMEX
Date: Thu, 12 Jul 2007 17:30:31 +0400

Dear all,
I tried to install GLPKMEX on Matlab. After I installed GLPK program from 
package glpk-4.9.tar.gz, I typed 'makeglpkmex' in the Matlab. I found the 
errors like the following.
So, please help me to debug it. Thank you!
best,
Kitiporn

>> makeglpkmex
GLPK Matlab interface (Version: 1.1). Script installer.
(C) 2001-2007, Nicolo' Giorgetti.

Do you want to use graphic installer? Y/N [Y]: Y
GLPK path... /home/plaimas/glpk-4.9
GLPK include files...OK
GLPK library file...OK
glpkcc.cpp: In function `int glpk(int, int, int, double*, int, int*, int*, 
   double*, double*, char*, int*, double*, int*, double*, int*, int, int, int, 
   char*, char*, double*, double*, double*, double*, double*, double*, double*)
   ':
glpkcc.cpp:145: error: `glp_term_hook' undeclared (first use this function)
glpkcc.cpp:145: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
glpkcc.cpp:147: error: `glp_prob' undeclared (first use this function)
glpkcc.cpp:147: error: `lp' undeclared (first use this function)
glpkcc.cpp:147: error: `glp_create_prob' undeclared (first use this function)
glpkcc.cpp:152: error: `GLP_MIN' undeclared (first use this function)
glpkcc.cpp:152: error: `glp_set_obj_dir' undeclared (first use this function)
glpkcc.cpp:154: error: `GLP_MAX' undeclared (first use this function)
glpkcc.cpp:160: error: `glp_add_cols' undeclared (first use this function)
glpkcc.cpp:165: error: `GLP_DB' undeclared (first use this function)
glpkcc.cpp:165: error: `glp_set_col_bnds' undeclared (first use this function)
glpkcc.cpp:169: error: `GLP_LO' undeclared (first use this function)
glpkcc.cpp:173: error: `GLP_UP' undeclared (first use this function)
glpkcc.cpp:175: error: `GLP_FR' undeclared (first use this function)
glpkcc.cpp:181: error: `glp_set_obj_coef' undeclared (first use this function)
glpkcc.cpp:184: error: `glp_set_col_kind' undeclared (first use this function)
glpkcc.cpp:187: error: `glp_add_rows' undeclared (first use this function)
glpkcc.cpp:207: error: `GLP_FX' undeclared (first use this function)
glpkcc.cpp:212: error: `glp_set_row_bnds' undeclared (first use this function)
glpkcc.cpp:216: error: `glp_load_matrix' undeclared (first use this function)
glpkcc.cpp:220: error: `strcmp' undeclared (first use this function)
glpkcc.cpp:279: error: `xassert' undeclared (first use this function)
glpkcc.cpp:299: error: `glp_get_obj_val' undeclared (first use this function)
glpkcc.cpp:311: error: `glp_mip_col_val' undeclared (first use this function)
glpkcc.cpp:319: error: `glp_get_col_prim' undeclared (first use this function)
glpkcc.cpp:321: error: `glp_ipt_col_prim' undeclared (first use this function)
glpkcc.cpp:326: error: `glp_get_row_dual' undeclared (first use this function)
glpkcc.cpp:327: error: `glp_ipt_row_dual' undeclared (first use this function)
glpkcc.cpp:330: error: `glp_get_num_cols' undeclared (first use this function)
glpkcc.cpp:332: error: `glp_get_col_dual' undeclared (first use this function)
glpkcc.cpp:333: error: `glp_ipt_col_dual' undeclared (first use this function)
glpkcc.cpp:339: error: `ulong_t' undeclared (first use this function)
glpkcc.cpp:339: error: syntax error before `;' token
glpkcc.cpp:340: error: `tpeak' undeclared (first use this function)
glpkcc.cpp:340: error: `lib_mem_usage' undeclared (first use this function)
glpkcc.cpp:343: error: `glp_delete_prob' undeclared (first use this function)
glpkcc.cpp: In function `void mexFunction(int, mxArray**, int, const mxArray**)
   ':
glpkcc.cpp:403: error: `glp_version' undeclared (first use this function)
glpkcc.cpp:537: error: `GLP_IV' undeclared (first use this function)
glpkcc.cpp:538: error: `GLP_BV' undeclared (first use this function)
glpkcc.cpp:539: error: `GLP_CV' undeclared (first use this function)
glpkcc.cpp:656: error: `strcpy' undeclared (first use this function)
glpkcc.cpp:667: error: `strcmp' undeclared (first use this function)
glpkcc.cpp:680: error: `strcat' undeclared (first use this function)

    mex: compile of 'glpkcc.cpp' failed.

??? Error using ==> mex
Unable to complete successfully

Error in ==> makeglpkmex at 110
eval(['mex ' cmd]);

>>












reply via email to

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