help-octave
[Top][All Lists]
Advanced

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

msh package build error


From: Daniel Kraft
Subject: msh package build error
Date: Tue, 12 Nov 2013 13:00:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Hi!

I'm trying to experiment with fem-fenics and Octave in the future.
However, when I try to build the "msh" package from Octave Forge (which
fem-fenics depends on as I understand it) I get the following compile
errors:

mkoctfile -DHAVE_DOLFIN_H mshm_refine.cc -ldolfin
mshm_refine.cc: In function ‘octave_value_list Fmshm_refine(const
octave_value_l
ist&, int)’:
mshm_refine.cc:168:53: error: no match for ‘operator*’ in ‘*(&
mesh.dolfin::Mesh
::domains())->dolfin::MeshDomains::markers((((dolfin::uint)D) +
4294967295u))’
mshm_refine.cc:168:53: note: candidates are:
In file included from
/usr/local/include/octave-3.7.7/octave/../octave/oct-obj.h
:34:0,
                 from
/usr/local/include/octave-3.7.7/octave/../octave/ov-fcn.h:
32,
                 from
/usr/local/include/octave-3.7.7/octave/../octave/ov-builti
n.h:28,
                 from
/usr/local/include/octave-3.7.7/octave/../octave/defun-int
.h:28,
                 from
/usr/local/include/octave-3.7.7/octave/../octave/defun-dld
.h:30,
                 from
/usr/local/include/octave-3.7.7/octave/../octave/oct.h:36,
                 from mshm_refine.cc:23:
/usr/local/include/octave-3.7.7/octave/../octave/ov.h:1297:1: note:
octave_value
 operator*(const octave_value&, const octave_value&)
/usr/local/include/octave-3.7.7/octave/../octave/ov.h:1297:1: note:
candidate
expects 2 arguments, 1 provided
...

I'm using Ubuntu 12.something LTS (I don't know the versioning details,
since I usually use Debian and this is my work computer) and built
Octave from hg with tag ss-3-7-7.  (This seems to be the latest tag?)
msh is 1.0.8 downloaded today from Sourceforge.

Note that I get this error both when I try to compile from the msh
directory manually and also when I try to use "pkg install".

Is there something I'm doing wrong, or is there a version
incompatibility here?  What is the best setup to experiment with
fem-fenics in Octave?

Thanks a lot!  Yours,
Daniel

-- 
http://www.domob.eu/
--
Done:  Arc-Bar-Cav-Hea-Kni-Ran-Rog-Sam-Tou-Val-Wiz
To go: Mon-Pri


reply via email to

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