← Back to team overview

dolfin team mailing list archive

Re: Missing scons dependency?

 

On Sun, Mar 30, 2008 at 12:43:59PM +0200, Joachim B Haga wrote:
> Just FYI. I get
> 
> $ ./scons.local
> [...]
> Building dolfin/dolfin.pc from dolfin/dolfin.pc.in
> mpic++ -o dolfin/swig/dolfin_wrap.os -c -Wall -pipe -ansi -DDEBUG -g -Werror -DNDEBUG -O2 -Wno-write-strings -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.7.2\" -DHAS_UMFPACK=1 -fno-strict-aliasing -fPIC -I. -I/usr/include/libxml2 -I/usr/include/suitesparse -I/usr/include/python2.4 -I/usr/include/python2.4 -I/var/lib/python-support/python2.4/numpy/core/include -I/usr/include/libxml2 -I/usr/include/suitesparse dolfin/swig/dolfin_wrap.cc
> dolfin/swig/dolfin_wrap.cc: In function ‘PyObject* _wrap_cpp_Function_vector(PyObject*, PyObject*)’:
> dolfin/swig/dolfin_wrap.cc:46444: error: invalid initialization of reference of type ‘dolfin::Vector&’ from expression of type ‘dolfin::GenericVector’
> scons: *** [dolfin/swig/dolfin_wrap.os] Error 1
> scons: building terminated because of errors.
> 
> $ rm dolfin/swig/dolfin_wrap.cc
> $ ./scons.local
> [all good]
> 
> -j.

I also saw this. This is one of the two remaining issues listed in TODO_BuildSystem.

It's also the same issue as the well-known "touch dolfin.i" issue we
had with autotools. Fixing this issue was one of the main selling
points with the new build system, so I'm hoping for a fix... ;-)

-- 
Anders


References