Hi

I have downloaded mingw version and installed it in Vista, and there
seemed to be no problems, installation went fine. However, when I
tried to run some of my code, I encountered a problem with glpk - it
looks like Octave can't load oct file. Commands and output are
attached at the end of email.

I have also more general question - what is the difference between
msvc and mingw versions for Windows? I understand they are built with
different compilers (and therefore use different compiler also for
user oct and mex files). Does that influence speed/performance of
Octave? Are there any other differences? (sorry if these are dumb
questions, but I'm curious, and I also think it might be a little
confusing for new users if they have to choose from two different
versions)

Ivan Sutoris

========================
% glpktest.m, example for glpk
% taken from glpk() documentation
c = [10, 6, 4]';
a = [ 1, 1, 1;
     10, 4, 5;
      2, 2, 6];
b = [100, 600, 300]';
lb = [0, 0, 0]';
ub = [];
ctype = "UUU";
vartype = "CCC";
s = -1;

param.msglev = 1;
param.itlim = 100;

[xmin, fmin, status, extra] = ...
   glpk (c, a, b, lb, ub, ctype, vartype, s, param);
========================
OUTPUT:
>glpktest
error: library open failed: C:\Program
Files\Octave\3.0.2_gcc-4.3.0\libexec\octave\3.0.2\oct\i686-pc-mingw32\__glpk__.oct
error: `__glpk__' undefined near line 558 column 5
error: called from `glpk' in file `C:\Program
Files\Octave\3.0.2_gcc-4.3.0\share\octave\3.0.2\m\optimization\glpk.m'
error: near line 16 of file `c:\Users\ivansml\octave\glpktest.m'

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to