on latest octave 3.5.91+ all the libraries are not exported anymore
so the build of optim on cygwin fails.
attached patch solve the issue and link to LAPACK
Tests needed on mingw and Mac OS X
Regards
Marco
diff -uNr optim-1.0.17_old/src/Makefile optim-1.0.17/src/Makefile
--- optim-1.0.17_old/src/Makefile 2011-07-04 15:02:03.000000000 +0200
+++ optim-1.0.17/src/Makefile 2011-12-28 12:24:41.794756000 +0100
@@ -2,10 +2,12 @@
MKOCTFILE := mkoctfile
endif
+LAPACK_LIBS != mkoctfile -p LAPACK_LIBS
+
all: __bfgsmin.oct numgradient.oct numhessian.oct samin.oct __disna_optim__.oct
%.oct: %.cc
- $(MKOCTFILE) -s $<
+ $(MKOCTFILE) -s $< ${LAPACK_LIBS}
clean:
-rm *.o core octave-core *.oct *~
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev