Hello,

trying to install the optim-1.0.10 package with octave 3.2.4 on mingw32 
fails with the error message

__bfgsmin.cc:242: error: 'isnan' was not declared in this scope

I need to also #include <math.h> like

Index: optim/src/__bfgsmin.cc
===================================================================
--- optim/src/__bfgsmin.cc      (revision 6775)
+++ optim/src/__bfgsmin.cc      (working copy)
@@ -27,6 +27,7 @@
  #include <octave/parse.h>
  #include <octave/Cell.h>
  #include <float.h>
+#include <math.h>
  #include "error.h"

And another issue I noticed is, that optim-1.0.10.tar.gz unpacks into 
optim/ and not into optim-1.0.10/. Is this intentional?
There are quite a number of other packages that have the same feature 
(or misfeature).
Has this now changed generally? If so why?

benjamin

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to