help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] about glplib.h: No such file or directory


From: teh bus
Subject: [Help-glpk] about glplib.h: No such file or directory
Date: Thu, 15 May 2008 11:18:38 +0400

Dear sir,

I want to ask a question about problem of installation.

I got the following message when I run makeglpkmex to install glpkmex.

---------------------------------------------------------------------------------------------------------------
GLPKMEX - A Matlab interface for GLPK. Script installer. 
Version 2.4 compatible with GLPK 4.20 (or higher)
(C) 2001-2007, Nicolo #39; Giorgetti.
 Do you want to use graphic installer? Y/N [Y]: 
GLPK path... /home1/usr2/gnu
GLPK include files...OK
GLPK library file...OK
glpkcc.cpp:37:22: glplib.h: No such file or directory
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*)
  #39;:
glpkcc.cpp:314: error: `xassert #39; undeclared (first use this function)
glpkcc.cpp:314: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
glpkcc.cpp:374: error: `glp_ulong #39; undeclared (first use this function)
glpkcc.cpp:374: error: syntax error before `; #39; token
glpkcc.cpp:375: error: `tpeak #39; undeclared (first use this function)
glpkcc.cpp:375: error: `lib_mem_usage #39; undeclared (first use this function)

 mex: compile of  #39;glpkcc.cpp #39; failed.

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

Error in ==> makeglpkmex at 111
eval([ #39;mex  #39; cmd]);
-------------------------------------------------------------------------------------------------------------

I have installed glpk-4.28 as following command. I cannot become root because I 
use workstation, SuSE Linux.
./configure --prefix=/home/usr2/my_name/gnu/
make
make install

I also tried
./configure --disable-shared --prefix=/home/usr2/my_name/gnu/
make
make install

I think the problem isĀ glplib.h is not created but I cannot solve it.
Could you advise me?

Regards,
yu


 
Dear sir,

I want to ask a question about problem of installation.

I got the following message when I run makeglpkmex to install glpkmex.

---------------------------------------------------------------------------------------------------------------
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]:
GLPK path... /home1/usr2/gnu
GLPK include files...OK
GLPK library file...OK
glpkcc.cpp:37:22: glplib.h: No such file or directory
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:314: error: `xassert' undeclared (first use this function)
glpkcc.cpp:314: error: (Each undeclared identifier is reported only once for
each function it appears in.)
glpkcc.cpp:374: error: `glp_ulong' undeclared (first use this function)
glpkcc.cpp:374: error: syntax error before `;' token
glpkcc.cpp:375: error: `tpeak' undeclared (first use this function)
glpkcc.cpp:375: error: `lib_mem_usage' undeclared (first use this function)

mex: compile of 'glpkcc.cpp' failed.

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

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

I have installed glpk-4.28 as following command. I cannot become root because I use workstation, SuSE Linux.
./configure --prefix=/home/usr2/my_name/gnu/
make
make install

I also tried
./configure --disable-shared --prefix=/home/usr2/my_name/gnu/
make
make install

I think the problem is glplib.h is not created but I cannot solve it.
Could you advise me?

Regards,
yu



reply via email to

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