octave-maintainers
[Top][All Lists]
Advanced

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

Re: mxe-octave failed to compile of-optim


From: Doug Stewart
Subject: Re: mxe-octave failed to compile of-optim
Date: Mon, 14 Mar 2016 14:41:44 -0400



On Mon, Mar 14, 2016 at 2:35 PM, "Markus Mützel" <address@hidden> wrote:
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.o
 
Effectively, there were some double quotes missing around $(CXX).
 
Hope I could help.
 
Markus

Thanks for this

Normally you reply to all so that the community sees your answer.





reply via email to

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