octave-maintainers
[Top][All Lists]
Advanced

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

Re: build failure on OSX


From: Daniel J Sebald
Subject: Re: build failure on OSX
Date: Fri, 28 Jul 2017 15:27:03 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 07/28/2017 03:06 PM, Carlo De Falco wrote:
Hi,

I just pulled from the repo default branch and tried to build revision 
90689bdbe048.
The buold fails wit the error :

../octave/libinterp/version.cc:92:20: error: no member named 'config' in 
namespace 'octave'
         + octave::config::canonical_host_type ()
           ~~~~~~~~^

It seems this is due to the fact that libinterp/version.cc has

  #include "defaults.h"

but defaults.h is in the subdirectory libinterp/corefcn, using

 #include "corefcn/defaults.h"

fixes this problem for me, but then I get similar issues in other files, for 
example:

../octave/libinterp/octave-value/ov-dld-fcn.cc:51:38: error: no member named 
'config' in namespace 'octave'
  std::string oct_file_dir = octave::config::oct_file_dir ();

was defaults.h recently moved? what is a clean way to deal with this? Is anyone 
else seing the same problem? should I file a bug?

Perhaps try a fresh clone of the repository from scratch first. If there is a change in header location, sometime lingering older versions in a build tree might get found ahead of the newer one. Or something like that...

Dan



reply via email to

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