help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] how to compile the glpkmex


From: hhb83
Subject: [Help-glpk] how to compile the glpkmex
Date: Tue, 13 Jan 2009 06:09:52 -0800 (PST)

Hi, when i compile the makeglpkmex.m, there always be the following mistakes:
Do you want to use graphic installer? Y/N [Y]: y
GLPK path... D:\MATLAB6p5p1\work\glpk-4.35
GLPK include files...OK
GLPK library file...OK
Do you compile GLPKMEX with CYGWIN? Y/N [Y]: n
glpkcc.cpp 
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error
C2894: templates cannot be declared to have 'C' linkage 
glpkcc.cpp(187) : error C2374: 'i' : redefinition; multiple initialization 
        glpkcc.cpp(159) : see declaration of 'i' 
glpkcc.cpp(286) : error C2374: 'i' : redefinition; multiple initialization 
        glpkcc.cpp(283) : see declaration of 'i' 
glpkcc.cpp(359) : error C2374: 'i' : redefinition; multiple initialization 
        glpkcc.cpp(351) : see declaration of 'i' 
glpkcc.cpp(365) : error C2374: 'i' : redefinition; multiple initialization 
        glpkcc.cpp(351) : see declaration of 'i' 
glpkcc.cpp(540) : error C2374: 'i' : redefinition; multiple initialization 
        glpkcc.cpp(527) : see declaration of 'i' 
glpkcc.cpp(573) : error C2374: 'i' : redefinition; multiple initialization 
        glpkcc.cpp(527) : see declaration of 'i' 
 
  D:\MATLAB6P5P1\BIN\WIN32\MEX.PL: Error: Compile of 'glpkcc.cpp' failed. 
Is there anybody can tell me how to handle them? especially the 'math.h', it
seems that it all because of the 'extern "C" {', but all the effort I took
lost.
thank you very much! 

-- 
View this message in context: 
http://www.nabble.com/how-to-compile-the-glpkmex-tp21436441p21436441.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

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