|
From: | Doug Stewart |
Subject: | Re: mxe-octave failed to compile of-optim |
Date: | Mon, 14 Mar 2016 14:41:44 -0400 |
Hi Doug,I am new to the open source community and I do not know how to reply correctly to the mailing list. Hence, this private mail.I ran into the same problem and solved it by opening the downloaded .tar.gz-archive and changing the lines following line 53 in "Makefile.in":error-helpers.o: error-helpers.cc error-helpers.h
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" $(MKOCTFILE) -c error-helpers.cc# __disna_optim__ should be linked to the same Lapack library as used by Octave
__disna_optim__.oct: __disna_optim__.cc error-helpers.h config.h error-helpers.o
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" LFLAGS="$(OCTAVE_LFLAGS)" $(MKOCTFILE) __disna_optim__.cc error-helpers.o%.oct: %.cc error-helpers.h config.h error-helpers.o
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" LFLAGS="$(LFLAGS)" $(MKOCTFILE) $< error-helpers.oEffectively, there were some double quotes missing around $(CXX).Hope I could help.Markus
[Prev in Thread] | Current Thread | [Next in Thread] |